IAudioStateMonitor::UnregisterCallback method (audiostatemonitorapi.h)

Unregisters an AudioStateMonitorCallback previously registered with a call to IAudioStateMonitor::RegisterCallback.

Syntax

void UnregisterCallback(
  AudioStateMonitorRegistrationHandle registration
);

Parameters

registration

The registration handle obtained from the registration output parameter to RegisterCallback.

Return value

None

Remarks

If any callbacks are in progress, this method will block until the callbacks have completed. This method may be called from within the callback, and in this case it will not block.

Requirements

Requirement Value
Minimum supported client Windows build 19043
Header audiostatemonitorapi.h