PHW_CANCEL_SRB - NtDoc

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

PHW_CANCEL_SRB PhwCancelSrb;

VOID PhwCancelSrb(
  [in] IN PHW_STREAM_REQUEST_BLOCK SRB
)
{...}

View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nc-strmini-phw_cancel_srb)

Description

The class driver calls the minidriver's StrMiniCancelPacket routine to signal that a stream request has been canceled.

Parameters

SRB [in]

Pointer to the stream request that had been canceled.

Remarks

The minidriver specifies this routine in the HwCancelPacket member of its HW_INITIALIZATION_DATA structure. The minidriver passes this structure to the class driver when it registers itself by calling StreamClassRegisterMinidriver.

Minidrivers that rely on the class driver to handle synchronization should, once they have successfully canceled a request, signal to the class driver that they are ready for another request by using StreamClassStreamNotification or StreamClassDeviceNotification with the appropriate ReadyForNextXxxRequest.