PsGetCurrentThreadId - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// ntddk.h

HANDLE PsGetCurrentThreadId();

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-ntddk-psgetcurrentthreadid)

PsGetCurrentThreadId function

Description

The PsGetCurrentThreadId routine identifies the current thread.

Return value

The PsGetCurrentThreadId routine returns the thread ID of the current thread.

See also

KeGetCurrentThread

PsGetCurrentProcessId

PsGetCurrentThread

PsSetCreateThreadNotifyRoutine