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§
sourcefn GetContinuityKey(&self) -> HrResult<u32>
fn GetContinuityKey(&self) -> HrResult<u32>
IMFClock::GetContinuityKey
method.
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).
sourcefn GetProperties(&self) -> HrResult<MFCLOCK_PROPERTIES>
fn GetProperties(&self) -> HrResult<MFCLOCK_PROPERTIES>
IMFClock::GetProperties
method.
sourcefn GetState(&self) -> HrResult<MFCLOCK_STATE>
fn GetState(&self) -> HrResult<MFCLOCK_STATE>
IMFClock::GetState
method.
Object Safety§
This trait is not object safe.