StreamClassAbortOutstandingRequests function (strmini.h)
The StreamClassAbortOutstandingRequests routine aborts all outstanding requests, either to a particular stream, or to the entire driver.
Syntax
void StreamClassAbortOutstandingRequests(
[in] PVOID HwDeviceExtension,
[in, optional] PHW_STREAM_OBJECT HwStreamObject,
[in] NTSTATUS Status
);
Parameters
[in] HwDeviceExtension
Pointer to the minidriver's device extension. The minidriver specifies the size of this buffer in the HW_INITIALIZATION_DATA structure it passes when it registers itself via StreamClassRegisterMinidriver. The class driver then passes pointers to the buffer in the HwDeviceExtension member of the HW_STREAM_REQUEST_BLOCK, HW_STREAM_OBJECT, HW_TIME_CONTEXT, and PORT_CONFIGURATION_INFORMATION structures it passes to the minidriver.
[in, optional] HwStreamObject
Pointer to a HW_STREAM_OBJECT that specifies which stream to abort requests on, or NULL to abort all requests to the minidriver. If this parameter is NULL, all device and stream requests are canceled.
[in] Status
Specifies the status to be returned when an outstanding request is aborted.
Return value
None
Remarks
This call also signals the class driver that the minidriver is ready to receive new requests of the type canceled.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | strmini.h (include Strmini.h) |
Library | Stream.lib |
IRQL | Greater than DISPATCH_LEVEL |