CreateRenderAudioStateMonitor function (audiostatemonitorapi.h)

Creates a new instance of IAudioStateMonitor for render streams.

Syntax

HRESULT CreateRenderAudioStateMonitor(
  [out] IAudioStateMonitor **audioStateMonitor
);

Parameters

[out] audioStateMonitor

Receives a pointer to the created IAudioStateMonitor.

Return value

Returns an HRESULT including the following values.

Value Description
S_OK Success.

Requirements

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