Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

IMFClock::GetState method (mfidl.h)

Retrieves the current state of the clock.

Syntax

HRESULT GetState(
 [in] DWORD dwReserved,
 [out] MFCLOCK_STATE *peClockState
);

Parameters

[in] dwReserved

Reserved, must be zero.

[out] peClockState

Receives the clock state, as a member of the MFCLOCK_STATE enumeration.

Return value

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

Return code Description
S_OK
The method succeeded.

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

See also

IMFClock


Feedback

Was this page helpful?

Additional resources