共用方式為


IoGetCurrentProcess 函式 (wdm.h)

IoGetCurrentProcess 例程會傳回目前進程的指標。 呼叫 psGetCurrentProcess ,而不是 IoGetCurrentProcess

語法

PEPROCESS IoGetCurrentProcess();

傳回值

IoGetCurrentProcess 會傳回目前進程的指標。

言論

此例程與 PsGetCurrentProcess相同。

#define PsGetCurrentProcess IoGetCurrentProcess

要求

要求 價值
最低支援的用戶端 適用於 Windows 2000 和更新版本的 Windows。
目標平臺 普遍
標頭 wdm.h (包括 Wdm.h、Ntddk.h、Ntifs.h)
連結庫 NtosKrnl.lib
DLL NtosKrnl.exe
IRQL 任何層級

另請參閱

PsGetCurrentThread