Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
PsGetCurrentProcess

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

DLL

NtosKrnl.exe

IRQL

Any level

See also

IoGetCurrentProcess
PsGetCurrentThread

 

 

Send comments about this topic to Microsoft

Show:
© 2015 Microsoft