Skip to content

Latest commit

 

History

History
85 lines (63 loc) · 3.27 KB

nf-strmini-streamclassdevicenotification.md

File metadata and controls

85 lines (63 loc) · 3.27 KB
UID title description tech.root ms.date keywords ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames f1_keywords topic_type api_type api_location api_name
NF:strmini.StreamClassDeviceNotification
StreamClassDeviceNotification function (strmini.h)
Minidrivers use the StreamClassDeviceNotification routine to notify the class driver that it has completed a stream request, or that an event has occurred.
stream
04/22/2022
StreamClassDeviceNotification function
StreamClassDeviceNotification, StreamClassDeviceNotification routine [Streaming Media Devices], strclass-routines_bddec484-f87c-4ebc-b8e1-ea52d265cbc4.xml, stream.streamclassdevicenotification, strmini/StreamClassDeviceNotification
strmini.h
Strmini.h
Desktop
Stream.lib
Windows
StreamClassDeviceNotification
strmini/StreamClassDeviceNotification
APIRef
kbSyntax
LibDef
Stream.lib
Stream.dll
StreamClassDeviceNotification

-description

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

-parameters

-param NotificationType [in]

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

DeviceRequestComplete

Indicates that the minidriver has completed its handling of the device stream request block. Once the minidriver calls StreamClassDeviceNotification with this value, the relevant SRB is owned by the class driver, which is free to deallocate it.

ReadyForNextDeviceRequest

Indicates that the minidriver is ready to receive another device request.

SignalDeviceEvent

Signals that the event specified by an optional parameter has occurred.

SignalMultipleDeviceEvents

Signals all events that match the criteria specified in optional parameters.

DeleteDeviceEvent

Deletes the event specified by an optional parameter.

-param 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.

-param ...

-remarks

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

-see-also

StreamClassStreamNotification