// wdfrequest.h
BOOLEAN WdfRequestGetUserModeDriverInitiatedIo(
[in] WDFREQUEST Request
);
View the official Windows Driver Kit DDI referenceNo description available.
[Applies to UMDF only]
The WdfRequestGetUserModeDriverInitiatedIo method determines whether an I/O request is marked as initiated by a UMDF driver.
Request [in]A handle to a framework request object.
The method returns TRUE if the request is marked as UMDF driver-initiated and FALSE if the request is not marked as UMDF driver-initiated.
This method retrieves the value of the IRP_UM_DRIVER_INITIATED_IO flag in the Flags member of the WDM IRP structure corresponding to the I/O request.
For more information about using this flag, see WdfRequestSetUserModeDriverInitiatedIo.
WdfRequestSetUserModeDriverInitiatedIo