IAudioClient2::RegisterXboxVolumeNotificationCallback Method

Registers an Xbox One volume notification callback function for the title.

Syntax

public:
HRESULT RegisterXboxVolumeNotificationCallback(
         IXboxVolumeNotificationClient *pClient
)  

Parameters

pClient
Type: IXboxVolumeNotificationClient *

[in] A pointer to the IXboxVolumeNotificationClient Interface for the title.

Return value

Type: HRESULT 

RegisterXboxVolumeNotificationCallback returns S_OK to indicate that it has completed successfully. Otherwise it returns an appropriate error code. See WASAPI Error Codes.

Requirements

Header: Declared in audioclient.h.

Library: Use mmdevapi.lib.

See also

IAudioClient2

IAudioClient2 Members