Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Gets the IMFSample associated with the substream with the specified index.
Syntax
HRESULT GetSample(
[in] DWORD dwMuxStreamIndex,
[out] IMFSample **ppSample
);
Parameters
[in] dwMuxStreamIndex
The index of the substream for which a sample is retrieved.
[out] ppSample
The retrieved sample.
Return value
The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.
Return code | Description |
---|---|
|
The method succeeded. |
|
The specified substream index is invalid. |
|
The stream data for the sample is invalid. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 10, version 1703 [desktop apps only] |
Minimum supported server | None supported |
Target Platform | Windows |
Header | mfobjects.h |
Library | Mfplat.lib; Mfplat.dll |