Retrieves the number of stream descriptors in the presentation. Each stream descriptor contains information about one stream in the media source. To retrieve a stream descriptor, call the IMFPresentationDescriptor::GetStreamDescriptorByIndex method.
public:
HRESULT GetStreamDescriptorCount(
DWORD *pdwDescriptorCount
)
pdwDescriptorCount
Type: DWORDÂ *
[out]
Receives the number of stream descriptors.
Type: HRESULTÂ
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Refer to Media Foundation return codes.
Header: Declared in mfidl.h.
Library: Use mfuuid.lib.