IAudioStateMonitor::RegisterCallback method
Registers a callback function that the system will call when the audio level of the streams that are associated with the IAudioStateMonitor changes.Syntax
Parameters
callbackType: AudioStateMonitorCallback* A pointer to the callback function that is called by the system when there is a change in the audio level of the streams associated with IAudioStateMonitor. context
Type: void* A pointer to the app-defined context data that will be passed into the function specified in the callback parameter. registration [out]
Type: AudioStateMonitorRegistration* A 64-bit integer that identifies the callback registration. To unregister the function specified in the callback parameter, pass this value into IAudioStateMonitor::UnregisterCallback.
