Export (0) Print
Expand All

PsGetCurrentProcess routine

The PsGetCurrentProcess routine returns a pointer to the process of the current thread.

Syntax


PEPROCESS  PsGetCurrentProcess(void);

Parameters

This routine has no parameters.

Return value

PsGetCurrentProcess returns a pointer to an opaque process object.

Requirements

Target platform

Universal

Version

Available in Windows 2000 and later versions of Windows.

Header

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

Library

Ntoskrnl.lib

IRQL

Any level

See also

IoGetCurrentProcess
PsGetCurrentThread

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft