Share via


Interfaz IMiniportWaveRTStreamNotification (portcls.h)

La IMiniportWaveRTStreamNotification interfaz se admite en Windows Vista y versiones posteriores en sistemas operativos Windows, y aumenta la interfaz IMiniportWaveRTStream , lo que proporciona métodos adicionales para facilitar las notificaciones de eventos del controlador DMA.

Para acceder a la IMiniportWaveRTStreamNotification interfaz, el controlador de puerto waveRT llama al método IMiniportWaveRT::NewStream y recibe una interfaz IMiniportWaveRTStream . A continuación, el controlador de puerto waveRT consulta la interfaz IMiniportWaveRTStream , mediante QueryInterface y recibe la IMiniportWaveRTStreamNotification interfaz .

IMiniportWaveRTStreamNotification hereda de la interfaz IUnknown .

Herencia

La interfaz IMiniportWaveRTStreamNotification hereda de la interfaz IMiniportWaveRTStream.

Métodos

La interfaz IMiniportWaveRTStreamNotification tiene estos métodos.

 
IMiniportWaveRTStreamNotification::AllocateBufferWithNotification

El método AllocateAudioBufferWithNotification asigna un búfer cíclico para los datos de audio cuando desea implementar una notificación de eventos controlada por DMA. Si no desea notificación de eventos, debe usar IMiniportWaveRTStream::AllocateAudioBuffer.
IMiniportWaveRTStreamNotification::FreeBufferWithNotification

El método FreeBufferWithNotification se usa para liberar un búfer de audio asignado previamente con una llamada a IMiniportWaveRTStreamNotification::AllocateBufferWithNotification.
IMiniportWaveRTStreamNotification::RegisterNotificationEvent

El método RegisterNotificationEvent registra un evento que se va a notificar para la notificación de eventos controlada por DMA.
IMiniportWaveRTStreamNotification::UnregisterNotificationEvent

El método UnregisterNotificationEvent anula el registro de un evento de la notificación de eventos controlada por DMA.

Requisitos

Requisito Value
Plataforma de destino Windows
Encabezado portcls.h