Trait windows::Win32::Media::DeviceManager::IMDSPObject_Impl

pub trait IMDSPObject_Impl: Sized {
    // Required methods
    fn Open(&self, fumode: u32) -> Result<()>;
    fn Read(
        &self,
        pdata: *mut u8,
        pdwsize: *mut u32,
        abmac: *mut u8,
    ) -> Result<()>;
    fn Write(
        &self,
        pdata: *const u8,
        pdwsize: *mut u32,
        abmac: *mut u8,
    ) -> Result<()>;
    fn Delete(
        &self,
        fumode: u32,
        pprogress: Option<&IWMDMProgress>,
    ) -> Result<()>;
    fn Seek(&self, fuflags: u32, dwoffset: u32) -> Result<()>;
    fn Rename(
        &self,
        pwsznewname: &PCWSTR,
        pprogress: Option<&IWMDMProgress>,
    ) -> Result<()>;
    fn Move(
        &self,
        fumode: u32,
        pprogress: Option<&IWMDMProgress>,
        ptarget: Option<&IMDSPStorage>,
    ) -> Result<()>;
    fn Close(&self) -> Result<()>;
}

Required Methods§

fn Open(&self, fumode: u32) -> Result<()>

fn Read(&self, pdata: *mut u8, pdwsize: *mut u32, abmac: *mut u8) -> Result<()>

fn Write( &self, pdata: *const u8, pdwsize: *mut u32, abmac: *mut u8, ) -> Result<()>

fn Delete(&self, fumode: u32, pprogress: Option<&IWMDMProgress>) -> Result<()>

fn Seek(&self, fuflags: u32, dwoffset: u32) -> Result<()>

fn Rename( &self, pwsznewname: &PCWSTR, pprogress: Option<&IWMDMProgress>, ) -> Result<()>

fn Move( &self, fumode: u32, pprogress: Option<&IWMDMProgress>, ptarget: Option<&IMDSPStorage>, ) -> Result<()>

fn Close(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§