共用方式為


INDStreamParser.GetStreamInformation 方法

定義

擷取資料流程類型 (音訊或視訊) 和媒體資料流程描述元的資料流程識別碼。

public:
 unsigned int GetStreamInformation(IMediaStreamDescriptor ^ descriptor, [Out] NDMediaStreamType & streamType);
uint32_t GetStreamInformation(IMediaStreamDescriptor const& descriptor, [Out] NDMediaStreamType & streamType);
/// [Windows.Foundation.Metadata.Deprecated("INDStreamParser is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
uint32_t GetStreamInformation(IMediaStreamDescriptor const& descriptor, [Out] NDMediaStreamType & streamType);
public uint GetStreamInformation(IMediaStreamDescriptor descriptor, out NDMediaStreamType streamType);
[Windows.Foundation.Metadata.Deprecated("INDStreamParser is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 196608, "Windows.Foundation.UniversalApiContract")]
public uint GetStreamInformation(IMediaStreamDescriptor descriptor, out NDMediaStreamType streamType);
Public Function GetStreamInformation (descriptor As IMediaStreamDescriptor, ByRef streamType As NDMediaStreamType) As UInteger

參數

descriptor
IMediaStreamDescriptor

這個方法從中取得資訊的媒體資料流程。

streamType
NDMediaStreamType

媒體資料流程的類型。 此類型可以是 音訊視訊

傳回

UInt32

unsigned int

uint32_t

媒體資料流程的資料流程識別碼。

屬性

適用於