Export (0) Print
Expand All

PsGetCurrentThreadId routine

The PsGetCurrentThreadId routine identifies the current thread.

Syntax


HANDLE PsGetCurrentThreadId(void);

Parameters

This routine has no parameters.

Return value

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

Requirements

Target platform

Universal

Version

Available starting with Windows 2000.

Header

Ntddk.h (include Ntddk.h)

Library

Ntoskrnl.lib

IRQL

Any level

See also

KeGetCurrentThread
PsGetCurrentProcessId
PsGetCurrentThread
PsSetCreateThreadNotifyRoutine

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft