1 out of 3 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

Contained in Ntoskrnl.lib.

IRQL

Any level

See also

IoGetCurrentProcess
PsGetCurrentThread

 

 

Send comments about this topic to Microsoft

Build date: 5/22/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.