Export (0) Print
Expand All
2 out of 4 rated this helpful - Rate this topic

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

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:
© 2014 Microsoft. All rights reserved.