StreamClassAbortOutstandingRequests - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// strmini.h

VOID StreamClassAbortOutstandingRequests(
  [in]           PVOID             HwDeviceExtension,
  [in, optional] PHW_STREAM_OBJECT HwStreamObject,
  [in]           NTSTATUS          Status
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-strmini-streamclassabortoutstandingrequests)

StreamClassAbortOutstandingRequests function

Description

The StreamClassAbortOutstandingRequests routine aborts all outstanding requests, either to a particular stream, or to the entire driver.

Parameters

HwDeviceExtension [in]

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.

HwStreamObject [in, optional]

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.

Status [in]

Specifies the status to be returned when an outstanding request is aborted.

Remarks

This call also signals the class driver that the minidriver is ready to receive new requests of the type canceled.