次の方法で共有


IoGetCurrentProcess 関数 (wdm.h)

IoGetCurrentProcess ルーチンは、現在のプロセスへのポインターを返します。 IoGetCurrentProcessではなく、PsGetCurrentProcess 呼び出します。

構文

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