หมายเหตุ
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลอง ลงชื่อเข้าใช้หรือเปลี่ยนไดเรกทอรีได้
การเข้าถึงหน้านี้ต้องได้รับการอนุญาต คุณสามารถลองเปลี่ยนไดเรกทอรีได้
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 |
| DLL | Mfplat.dll |