获取可用于流的通道数的计数。
语法
NTSTATUS GetStreamChannelCount(
[in] eChannelTargetType targetType,
[out] UINT32 *pulChannelCount
);
参数
[in] targetType
eChannelTargetType 指定目标节点类型的枚举值。
[out] pulChannelCount
可用通道数。
返回值
GetStreamChannelCount 如果调用成功,则返回S_OK。 否则,该方法将返回适当的错误
法典。
要求
| 要求 | 价值 |
|---|---|
| 最低支持的客户端 | Windows 8 |
| 支持的最低服务器 | Windows Server 2012 |
| 目标平台 | 普遍 |
| 标头 | portcls.h |