// poscx.h
VOID PosCxCleanPendingRequests(
[in] WDFDEVICE device,
[in, optional] WDFFILEOBJECT callerFileObj,
[in] NTSTATUS completionStatus
);
View the official Windows Driver Kit DDI referenceNo description available.
PosCxCleanPendingRequests is called to cancel all pending requests for a given caller, identified by the open instance.
device [in]A handle to a framework device object that represents the device.
callerFileObj [in, optional]A handle to a framework file object for which all pending requests should be cancelled, or NULL to cancel all pending requests.
completionStatus [in]An appropriate NTSTATUS error code that indicates success or failure.