pub trait IMFSensorDevice_Impl: Sized {
    // Required methods
    fn GetDeviceId(&self) -> Result<u64>;
    fn GetDeviceType(&self) -> Result<MFSensorDeviceType>;
    fn GetFlags(&self) -> Result<u64>;
    fn GetSymbolicLink(
        &self,
        symboliclink: PWSTR,
        cchsymboliclink: i32,
        pcchwritten: *mut i32
    ) -> Result<()>;
    fn GetDeviceAttributes(&self) -> Result<IMFAttributes>;
    fn GetStreamAttributesCount(&self, etype: MFSensorStreamType) -> Result<u32>;
    fn GetStreamAttributes(
        &self,
        etype: MFSensorStreamType,
        dwindex: u32
    ) -> Result<IMFAttributes>;
    fn SetSensorDeviceMode(&self, emode: MFSensorDeviceMode) -> Result<()>;
    fn GetSensorDeviceMode(&self) -> Result<MFSensorDeviceMode>;
}

Required Methods§

fn GetDeviceId(&self) -> Result<u64>

fn GetDeviceType(&self) -> Result<MFSensorDeviceType>

fn GetFlags(&self) -> Result<u64>

fn GetDeviceAttributes(&self) -> Result<IMFAttributes>

fn GetStreamAttributesCount(&self, etype: MFSensorStreamType) -> Result<u32>

fn GetStreamAttributes( &self, etype: MFSensorStreamType, dwindex: u32 ) -> Result<IMFAttributes>

fn SetSensorDeviceMode(&self, emode: MFSensorDeviceMode) -> Result<()>

fn GetSensorDeviceMode(&self) -> Result<MFSensorDeviceMode>

Object Safety§

This trait is not object safe.

Implementors§