IMFClock::GetState method

Retrieves the current state of the clock.

Syntax


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

Parameters

dwReserved [in]

Reserved, must be zero.

peClockState [out]

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 codeDescription
S_OK

The method succeeded.

 

Requirements

Minimum supported client

Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 [desktop apps | Windows Store apps]

Header

Mfidl.h

Library

Mfuuid.lib

See also

IMFClock

 

 

Show: