IMiniportStreamAudioEngineNode::GetStreamChannelCount method (portcls.h)

Gets a count of the number of channels available for the stream.

Syntax

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

Parameters

[in] targetType

An eChannelTargetType enumerated value that specifies the target node type.

[out] pulChannelCount

The number of available channels.

Return value

GetStreamChannelCount returns S_OK, if the call was successful. Otherwise, the method returns an appropriate error

code.

Requirements

Requirement Value
Minimum supported client Windows 8
Minimum supported server Windows Server 2012
Target Platform Universal
Header portcls.h

See also

IMiniportStreamAudioEngineNode

eChannelTargetType