PosCxCleanPendingRequests function (poscx.h)
PosCxCleanPendingRequests is called to cancel all pending requests for a given caller, identified by the open instance.
Syntax
void PosCxCleanPendingRequests(
[in] WDFDEVICE device,
[in, optional] WDFFILEOBJECT callerFileObj,
[in] NTSTATUS completionStatus
);
Parameters
[in] device
A handle to a framework device object that represents the device.
[in, optional] callerFileObj
A handle to a framework file object for which all pending requests should be cancelled, or NULL to cancel all pending requests.
[in] completionStatus
An appropriate NTSTATUS error code that indicates success or failure.
Return value
None
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | poscx.h (include Poscx.h) |