Поделиться через


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

Идентификатор потока мультимедиа.

Атрибуты

Применяется к