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.
Registers an object to be notified whenever the clock starts, stops, or pauses, or changes rate.
Syntax
HRESULT AddClockStateSink(
[in] IMFClockStateSink *pStateSink
);
Parameters
[in] pStateSink
Pointer to the object's IMFClockStateSink interface.
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. |
Remarks
Before releasing the object, call IMFPresentationClock::RemoveClockStateSink to unregister the object for state-change notifications.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2008 [desktop apps | UWP apps] |
Target Platform | Windows |
Header | mfidl.h |
Library | Mfuuid.lib |