RtlReadThreadProfilingData - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
#ifndef _NTRTL_H

// rev
/**
 * The RtlReadThreadProfilingData routine reads the specified profiling data associated with the thread.
 *
 * \param PerformanceDataHandle The handle that the RtlEnableThreadProfiling function returned.
 * \param Flags One or more flags set when you called the RtlEnableThreadProfiling function that specify the counter data to read.
 * \param PerformanceData A PERFORMANCE_DATA structure that contains the thread profiling and hardware counter data.
 * \return NTSTATUS Successful or errant status.
 * \sa https://learn.microsoft.com/en-us/windows/win32/api/winbase/nf-winbase-readthreadprofilingdata
 */
NTSYSAPI
NTSTATUS
NTAPI
RtlReadThreadProfilingData(
    _In_ HANDLE PerformanceDataHandle,
    _In_ ULONG Flags,
    _Out_ PPERFORMANCE_DATA PerformanceData
    );

#endif

View code on GitHub

NtDoc

No description available.