PsGetCurrentProcessId routine
The PsGetCurrentProcessId routine identifies the current thread's process.
Syntax
HANDLE PsGetCurrentProcessId(void);
Parameters
This routine has no parameters.
Return value
PsGetCurrentProcessId returns the process ID of the current thread's process.
Requirements
|
Version | Available in Windows 2000 and later versions of Windows. |
|---|---|
|
Header |
|
|
Library |
|
|
IRQL | Any level |
See also
- IoGetCurrentProcess
- PsGetCurrentProcess
- PsGetCurrentThread
- PsGetCurrentThreadId
- PsSetCreateProcessNotifyRoutine
- PsSetCreateThreadNotifyRoutine
- PsSetLoadImageNotifyRoutine
Send comments about this topic to Microsoft
Build date: 4/2/2012