This macro is a native equivalent of the GetCurrentThread
function. It returns a pseudo-handle that grants THREAD_ALL_ACCESS
to the current thread. You do not need to call NtClose
on the returned handle.
NtCurrentProcess
RtlIsCurrentThread
This macro is a native equivalent of the GetCurrentThread
function. It returns a pseudo-handle that grants THREAD_ALL_ACCESS
to the current thread. You do not need to call NtClose
on the returned handle.
NtCurrentProcess
RtlIsCurrentThread