INDStreamParser.GetStreamInformation 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
擷取資料流程類型 (音訊或視訊) 和媒體資料流程描述元的資料流程識別碼。
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
媒體資料流程的類型。 此類型可以是 音訊 或 視訊。
傳回
媒體資料流程的資料流程識別碼。
- 屬性