Bewerken

Delen via


IPortClsNotifications::SendNotification method (portcls.h)

Sends a notification to the listening UWP apps, to allow for communications between audio modules and UWP apps.

Syntax

void SendNotification(
  [in] const GUID             *NotificationId,
  [in] PPCNOTIFICATION_BUFFER NotificationBuffer
);

Parameters

[in] NotificationId

KSNOTIFICATIONID_AudioModule

[in] NotificationBuffer

Pointer to a PCNOTIFICATION_BUFFER structure to send to the listening audio module UWP clients.

Return value

None

Remarks

Pointer to the PCNOTIFICATION structure to send to Audio Module clients.

The expected format of the payload is a KSAUDIOMODULE_NOTIFICATION structure. The miniport driver can optionally send additional information immediately following the KSAUDIOMODULE_NOTIFICATION structure that will be untouched and sent to the Audio Module clients.

For more information about audio modules, see Implementing Audio Module Discovery.

Requirements

Requirement Value
Minimum supported client Available in Windows 10, version 1703 and later versions of Windows.
Target Platform Universal
Header portcls.h (include Portcls.h)
Library Portcls.lib
IRQL PASSIVE_LEVEL

See also

IPortClsNotifications