次の方法で共有


IMiniportStreamAudioEngineNode::GetStreamChannelCount メソッド (portcls.h)

ストリームで使用できるチャネルの数を取得します。

構文

NTSTATUS GetStreamChannelCount(
  [in]  eChannelTargetType targetType,
  [out] UINT32             *pulChannelCount
);

パラメーター

[in] targetType

eChannelTargetType ターゲット ノードの種類を指定する列挙値です。

[out] pulChannelCount

使用可能なチャネルの数。

戻り値

GetStreamChannelCount 呼び出しが成功した場合、S_OKを返します。 それ以外の場合、メソッドは適切なエラーを返します

コード。

必要条件

要件 価値
サポートされる最小クライアント Windows 8
サポートされる最小サーバー Windows Server 2012
ターゲット プラットフォーム 万国
ヘッダー portcls.h

関連項目

IMiniportStreamAudioEngineNode

eChannelTargetType する