Expand Minimize

EngGetCurrentThreadId function

The EngGetCurrentThreadId function identifies an application's current thread.

Syntax


HANDLE EngGetCurrentThreadId(void);

Parameters

This function has no parameters.

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

Version

This function is available in Windows XP and later.

Header

Winddi.h (include Winddi.h)

Library

Win32k.lib

DLL

Win32k.sys

IRQL

Any level

See also

EngGetCurrentProcessId
EngGetProcessHandle

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft