Trait winsafe::prelude::mf_IMFClock

source ·
pub trait mf_IMFClock: ole_IUnknown {
    // Provided methods
    fn GetClockCharacteristics(&self) -> HrResult<MFCLOCK_CHARACTERISTICS_FLAG> { ... }
    fn GetContinuityKey(&self) -> HrResult<u32> { ... }
    fn GetCorrelatedTime(&self) -> HrResult<(i64, i64)> { ... }
    fn GetProperties(&self) -> HrResult<MFCLOCK_PROPERTIES> { ... }
    fn GetState(&self) -> HrResult<MFCLOCK_STATE> { ... }
}
Available on crate features kernel and mf only.
Expand description

This trait is enabled with the mf feature, and provides methods for IMFClock.

Prefer importing this trait through the prelude:

use winsafe::prelude::*;

Provided Methods§

source

fn GetClockCharacteristics(&self) -> HrResult<MFCLOCK_CHARACTERISTICS_FLAG>

source

fn GetContinuityKey(&self) -> HrResult<u32>

source

fn GetCorrelatedTime(&self) -> HrResult<(i64, i64)>

IMFClock::GetCorrelatedTime method.

Returns the last known clock time (in units of the clock’s frequency) and the system time that corresponds to the last known clock time (in 100-nanosecond units).

source

fn GetProperties(&self) -> HrResult<MFCLOCK_PROPERTIES>

source

fn GetState(&self) -> HrResult<MFCLOCK_STATE>

Object Safety§

This trait is not object safe.

Implementors§