IMFPresentationClock::RemoveClockStateSink Method

Unregisters an object that is receiving state-change notifications from the clock.

Syntax

public:
HRESULT RemoveClockStateSink(
         IMFClockStateSink *pStateSink
)  

Parameters

pStateSink
Type: IMFClockStateSink *

[in, optional]

Pointer to the object’s IMFClockStateSink interface.

Return value

Type: HRESULT 

The method returns an HRESULT. Possible values include, but are not limited to, those in the following table.

Return codes
Return code Description
S_OK The method succeeded.

Refer to Media Foundation return codes.

Requirements

Header: Declared in mfidl.h.

Library: Use mfuuid.lib.