共用方式為


WdfRequestGetRequestorProcessId 函式 (wdfrequest.h)

[適用於 KMDF 和 UMDF]

WdfRequestGetRequestorProcessId 方法會擷取傳送 I/O 要求之進程的標識符。

語法

ULONG WdfRequestGetRequestorProcessId(
  [in] WDFREQUEST Request
);

參數

[in] Request

架構要求物件的句柄。

傳回值

WdfRequestGetRequestorProcessId 會傳回傳送 I/O 要求之進程的標識符。

規格需求

需求
目標平台 Universal
最低 KMDF 版本 1.21
最低UMDF版本 2.0
標頭 wdfrequest.h (包含 Wdf.h)
程式庫 Wdf01000.sys (KMDF) ;WUDFx02000.lib
Dll WUDFx02000.dll
IRQL <=DISPATCH_LEVEL

另請參閱

WdfFileObjectGetInitiatorProcessId