IMFMediaSourcePresentationProvider::ForceEndOfPresentation method (mfidl.h)
Notifies the source when playback has reached the end of a segment. For timelines, this corresponds to reaching a mark-out point.
Syntax
HRESULT ForceEndOfPresentation(
[in] IMFPresentationDescriptor *pPresentationDescriptor
);
Parameters
[in] pPresentationDescriptor
Pointer to the IMFPresentationDescriptor interface of the presentation descriptor for the segment that has ended.
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. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps only] |
Minimum supported server | Windows Server 2008 [desktop apps only] |
Target Platform | Windows |
Header | mfidl.h |
Library | Mfuuid.lib |