Share via


PUNREGISTER_NOTIFICATION_EVENT función de devolución de llamada (hdaudio.h)

La rutina UnregisterNotificationEvent elimina el registro de un evento que se registró anteriormente mediante una llamada a RegisterNotificationEvent.

El tipo de puntero de función para una rutina UnregisterNotificationEvent se define de la siguiente manera.

Sintaxis

PUNREGISTER_NOTIFICATION_EVENT PunregisterNotificationEvent;

NTSTATUS PunregisterNotificationEvent(
  [in] PVOID _context,
  [in] HANDLE Handle,
  [in] PKEVENT NotificationEvent
)
{...}

Parámetros

[in] _context

Especifica el valor de contexto del miembro Context de la estructura HDAUDIO_BUS_INTERFACE_V2 .

[in] Handle

Identificador que identifica el motor DMA. Este valor de identificador se obtuvo de una llamada anterior a AllocateCaptureDmaEngine o AllocateRenderDmaEngine.

[in] NotificationEvent

Puntero a un evento de kernel que se registró anteriormente para la notificación de progreso de DMA con una llamada a RegisterNotificationEvent.

Valor devuelto

UnregisterNotificationEvent devuelve STATUS_SUCCESS si la llamada anula correctamente el registro del evento de notificación. De lo contrario, la rutina devuelve STATUS_INVALID_PARAMETER para indicar que la rutina de devolución de llamada y el contexto especificados no son válidos.

Requisitos

Requisito Value
Cliente mínimo compatible Disponible en Windows Vista y versiones posteriores de Windows.
Plataforma de destino Escritorio
Encabezado hdaudio.h (incluya Hdaudio.h)
IRQL PASSIVE_LEVEL.

Consulte también

AllocateCaptureDmaEngine

AllocateRenderDmaEngine

HDAUDIO_BUS_INTERFACE_V2

RegisterNotificationEvent  

hdaudio.h