EngGetCurrentThreadId function (winddi.h)
The EngGetCurrentThreadId function identifies an application's current thread.
Syntax
ENGAPI HANDLE EngGetCurrentThreadId();
Return value
EngGetCurrentThreadId returns the 4-byte identifier of the application's thread.
Remarks
Callers of EngGetCurrentThreadId should treat the returned ID as a read-only value.
Requirements
Requirement | Value |
---|---|
Minimum supported client | This function is available in Windows XP and later. |
Target Platform | Universal |
Header | winddi.h (include Winddi.h) |
Library | Win32k.lib |
DLL | Win32k.sys |
IRQL | Any level |