windows::Win32::Media::KernelStreaming

Trait IKsClockPropertySet_Impl

pub trait IKsClockPropertySet_Impl: IUnknownImpl {
    // Required methods
    fn KsGetTime(&self) -> Result<i64>;
    fn KsSetTime(&self, time: i64) -> Result<()>;
    fn KsGetPhysicalTime(&self) -> Result<i64>;
    fn KsSetPhysicalTime(&self, time: i64) -> Result<()>;
    fn KsGetCorrelatedTime(&self) -> Result<KSCORRELATED_TIME>;
    fn KsSetCorrelatedTime(
        &self,
        correlatedtime: *const KSCORRELATED_TIME,
    ) -> Result<()>;
    fn KsGetCorrelatedPhysicalTime(&self) -> Result<KSCORRELATED_TIME>;
    fn KsSetCorrelatedPhysicalTime(
        &self,
        correlatedtime: *const KSCORRELATED_TIME,
    ) -> Result<()>;
    fn KsGetResolution(&self) -> Result<KSRESOLUTION>;
    fn KsGetState(&self) -> Result<KSSTATE>;
}

Required Methods§

fn KsGetTime(&self) -> Result<i64>

fn KsSetTime(&self, time: i64) -> Result<()>

fn KsGetPhysicalTime(&self) -> Result<i64>

fn KsSetPhysicalTime(&self, time: i64) -> Result<()>

fn KsGetCorrelatedTime(&self) -> Result<KSCORRELATED_TIME>

fn KsSetCorrelatedTime( &self, correlatedtime: *const KSCORRELATED_TIME, ) -> Result<()>

fn KsGetCorrelatedPhysicalTime(&self) -> Result<KSCORRELATED_TIME>

fn KsSetCorrelatedPhysicalTime( &self, correlatedtime: *const KSCORRELATED_TIME, ) -> Result<()>

fn KsGetResolution(&self) -> Result<KSRESOLUTION>

fn KsGetState(&self) -> Result<KSSTATE>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§