// wdfrequest.h
ULONG WdfRequestGetRequestorProcessId(
[in] WDFREQUEST Request
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to KMDF and UMDF]
The WdfRequestGetRequestorProcessId method retrieves the identifier of the process that sent an I/O request.
Request [in]A handle to a framework request object.
WdfRequestGetRequestorProcessId returns the identifier of the process that sent the I/O request.
WdfFileObjectGetInitiatorProcessId