StreamClassStreamNotification function

Streams use the StreamClassStreamNotification routine to notify the class driver that it has completed a stream request, or that an event has occurred.

Syntax

void StreamClassStreamNotification(
  STREAM_MINIDRIVER_STREAM_NOTIFICATION_TYPE NotificationType,
  PHW_STREAM_OBJECT                          StreamObject,
  ...                                        
);

Parameters

NotificationType

This is an enumeration value that contains the type of notification that the minidriver is sending.

StreamRequestComplete

Indicates that the minidriver has completed its handling of the stream-oriented stream request block that is pointed to by the optional third argument of this routine, pSrb.

ReadyForNextStreamDataRequest

Indicates that this stream is ready to receive another data request.

ReadyForNextStreamControlRequest

Indicates that this stream is ready to receive another control request.

SignalStreamEvent

Signals that the event specified by the EventEntry parameter has occurred.

SignalMultipleStreamEvents

Signals that all events that match the criteria specified in the EventSet and EventId parameters have occurred.

DeleteStreamEvent

Deletes the event specified by the EventEntry parameter.

StreamObject

Points to the stream object of the stream that the class driver is being notified about.

Arg1

Return Value

None

Remarks

The minidriver uses this routine for requests or events that apply to the minidriver as a whole. Stream-specific requests or events use StreamClassDeviceNotification.

Requirements

   
Target Platform Desktop
Header strmini.h (include Strmini.h)
Library Stream.lib

See Also

StreamClassDeviceNotification