EngGetCurrentProcessId function (winddi.h)

The EngGetCurrentProcessId function identifies an application's current process.

Syntax

ENGAPI HANDLE EngGetCurrentProcessId();

Return value

EngGetCurrentProcessId returns the 4-byte identifier of the application's process.

Remarks

Callers of EngGetCurrentProcessId 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

See also

EngGetCurrentThreadId

EngGetProcessHandle