Bewerken

Delen via


IMiniportWaveRTStreamNotification interface (portcls.h)

The IMiniportWaveRTStreamNotification interface is supported in Windows Vista and later Windows operating systems, and it augments the IMiniportWaveRTStream interface, providing additional methods to facilitate DMA driver event notifications.

To access the IMiniportWaveRTStreamNotification interface, the WaveRT port driver calls the IMiniportWaveRT::NewStream method and receives an IMiniportWaveRTStream interface. The WaveRT port driver then queries the IMiniportWaveRTStream interface, using QueryInterface, and receives the IMiniportWaveRTStreamNotification interface.

IMiniportWaveRTStreamNotification inherits from the IUnknown interface.

Inheritance

The IMiniportWaveRTStreamNotification interface inherits from the IMiniportWaveRTStream interface.

Methods

The IMiniportWaveRTStreamNotification interface has these methods.

 
IMiniportWaveRTStreamNotification::AllocateBufferWithNotification

The AllocateAudioBufferWithNotification method allocates a cyclic buffer for audio data when you want to implement DMA-driven event notification. If you do not want event notification, you must use IMiniportWaveRTStream::AllocateAudioBuffer.
IMiniportWaveRTStreamNotification::FreeBufferWithNotification

The FreeBufferWithNotification method is used to free an audio buffer previously allocated with a call to IMiniportWaveRTStreamNotification::AllocateBufferWithNotification.
IMiniportWaveRTStreamNotification::RegisterNotificationEvent

The RegisterNotificationEvent method registers an event to be notified for DMA-driven event notification.
IMiniportWaveRTStreamNotification::UnregisterNotificationEvent

The UnregisterNotificationEvent method unregisters an event from DMA driven event notification.

Requirements

Requirement Value
Target Platform Windows
Header portcls.h