#ifndef _NTRTL_H
//
// Thread profiling
//
#if (PHNT_VERSION >= PHNT_WINDOWS_7)
// rev
/**
* Determines whether thread profiling is enabled for the specified thread.
*
* @param ThreadHandle The handle to the thread on which you want to enable profiling. This must be the current thread.
* @param Enabled Is TRUE if thread profiling is enabled for the specified thread; otherwise, FALSE.
* @return NTSTATUS Successful or errant status.
* @sa https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-querythreadprofiling
*/
NTSYSAPI
NTSTATUS
NTAPI
RtlQueryThreadProfiling(
_In_ HANDLE ThreadHandle,
_Out_ PBOOLEAN Enabled
);
View code on GitHub
No description available.