Export (0) Print
Expand All

ZwCurrentProcess macro

The ZwCurrentProcess macro returns a handle to the current process.

Syntax


HANDLE ZwCurrentProcess(void);

Parameters

This macro has no parameters.

Return value

ZwCurrentProcess returns a special handle value that represents the current process.

Remarks

The returned value is not a true handle, but it is a special value that always represents the current process.

Requirements

Version

All supported operating systems.

Header

Wdm.h (include Wdm.h, Ntddk.h, or Ntifs.h)

IRQL

Any level

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft