Retrieves the current state of the clock.
public:
HRESULT GetState(
DWORD dwReserved,
MFCLOCK_STATE *peClockState
)
dwReserved
Type: DWORD
Reserved, must be zero.
peClockState
Type: MFCLOCK_STATE *
[out]
Receives the clock state, as a member of the MFCLOCK_STATE enumeration.
Type: HRESULT
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. |
Refer to Media Foundation return codes.
Header: Declared in mfidl.h.
Library: Use mfuuid.lib.