Trait windows::Win32::Media::DeviceManager::IWMDMDevice3_Impl

pub trait IWMDMDevice3_Impl: Sized + IWMDMDevice2_Impl {
    // Required methods
    fn GetProperty(&self, pwszpropname: &PCWSTR) -> Result<PROPVARIANT>;
    fn SetProperty(
        &self,
        pwszpropname: &PCWSTR,
        pvalue: *const PROPVARIANT,
    ) -> Result<()>;
    fn GetFormatCapability(
        &self,
        format: WMDM_FORMATCODE,
    ) -> Result<WMDM_FORMAT_CAPABILITY>;
    fn DeviceIoControl(
        &self,
        dwiocontrolcode: u32,
        lpinbuffer: *const u8,
        ninbuffersize: u32,
        lpoutbuffer: *mut u8,
        pnoutbuffersize: *mut u32,
    ) -> Result<()>;
    fn FindStorage(
        &self,
        findscope: WMDM_FIND_SCOPE,
        pwszuniqueid: &PCWSTR,
    ) -> Result<IWMDMStorage>;
}

Required Methods§

fn GetProperty(&self, pwszpropname: &PCWSTR) -> Result<PROPVARIANT>

fn SetProperty( &self, pwszpropname: &PCWSTR, pvalue: *const PROPVARIANT, ) -> Result<()>

fn GetFormatCapability( &self, format: WMDM_FORMATCODE, ) -> Result<WMDM_FORMAT_CAPABILITY>

fn DeviceIoControl( &self, dwiocontrolcode: u32, lpinbuffer: *const u8, ninbuffersize: u32, lpoutbuffer: *mut u8, pnoutbuffersize: *mut u32, ) -> Result<()>

fn FindStorage( &self, findscope: WMDM_FIND_SCOPE, pwszuniqueid: &PCWSTR, ) -> Result<IWMDMStorage>

Object Safety§

This trait is not object safe.

Implementors§