RtlIsCurrentThread - NtDoc

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

// rev
NTSYSAPI
BOOLEAN
NTAPI
RtlIsCurrentThread( // NtCompareObjects(NtCurrentThread(), ThreadHandle)
    _In_ HANDLE ThreadHandle
    );

#endif
#endif

View code on GitHub

Determines whether the specified handle is a handle to the current thread.

Parameters

Implementation details

This function is a wrapper over NtCompareObjects.

Related Win32 API

This functionality is not exposed in Win32 API.

See also