The OnVolumeUnduckNotification method sends a notification about a pending system unducking event. For more information, see Implementation Considerations for Ducking Notifications.
HRESULT OnVolumeUnduckNotification( [in] LPCWSTR sessionID, [in] UINT32 countCommunicationsSessions );
- sessionID [in]
A string containing the session instance identifier of the terminating communications session that intiated the ducking. To get the session instance identifier, call IAudioSessionControl2::GetSessionInstanceIdentifier.
- countCommunicationsSessions [in]
The number of active communications sessions. If there are n sessions, they are numbered from 0 to n-1.
If the method succeeds, it returns S_OK.
After the application registers its implementation of the IAudioVolumeDuckNotification interface by calling IAudioSessionManager2::RegisterDuckNotification, the session manager calls OnVolumeUnduckNotification when it wants to send a notification about when ducking ends. The application receives the event notifications in the form of callbacks.
Minimum supported client
|Windows 7 [desktop apps only]|
Minimum supported server
|Windows Server 2008 R2 [desktop apps only]|
Build date: 11/16/2013