CreateRenderAudioStateMonitorForCategory 関数 (audiostatemonitorapi.h)

指定したオーディオ ストリーム カテゴリを持つレンダリング ストリーム用の IAudioStateMonitor の新しいインスタンスを作成します。

構文

HRESULT CreateRenderAudioStateMonitorForCategory(
  [in]  AUDIO_STREAM_CATEGORY category,
  [out] IAudioStateMonitor    **audioStateMonitor
);

パラメーター

[in] category

オーディオ状態モニターを作成するオーディオ ストリーム カテゴリを指定する AUDIO_STREAM_CATEGORY 列挙体のメンバー。

[out] audioStateMonitor

作成された IAudioStateMonitor へのポインターを受け取ります。

戻り値

次の値を含む HRESULT を返します。

説明
S_OK 正常終了しました。

要件

要件
サポートされている最小のクライアント Windows ビルド 19043
Header audiostatemonitorapi.h