Trait windows::Win32::Storage::Imapi::IDiscMaster_Impl

pub trait IDiscMaster_Impl: Sized {
    // Required methods
    fn Open(&self) -> Result<()>;
    fn EnumDiscMasterFormats(&self) -> Result<IEnumDiscMasterFormats>;
    fn GetActiveDiscMasterFormat(&self) -> Result<GUID>;
    fn SetActiveDiscMasterFormat(
        &self,
        riid: *const GUID,
        ppunk: *mut *mut c_void,
    ) -> Result<()>;
    fn EnumDiscRecorders(&self) -> Result<IEnumDiscRecorders>;
    fn GetActiveDiscRecorder(&self) -> Result<IDiscRecorder>;
    fn SetActiveDiscRecorder(
        &self,
        precorder: Option<&IDiscRecorder>,
    ) -> Result<()>;
    fn ClearFormatContent(&self) -> Result<()>;
    fn ProgressAdvise(
        &self,
        pevents: Option<&IDiscMasterProgressEvents>,
    ) -> Result<usize>;
    fn ProgressUnadvise(&self, vcookie: usize) -> Result<()>;
    fn RecordDisc(&self, bsimulate: u8, bejectafterburn: u8) -> Result<()>;
    fn Close(&self) -> Result<()>;
}

Required Methods§

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

fn EnumDiscMasterFormats(&self) -> Result<IEnumDiscMasterFormats>

fn GetActiveDiscMasterFormat(&self) -> Result<GUID>

fn SetActiveDiscMasterFormat( &self, riid: *const GUID, ppunk: *mut *mut c_void, ) -> Result<()>

fn EnumDiscRecorders(&self) -> Result<IEnumDiscRecorders>

fn GetActiveDiscRecorder(&self) -> Result<IDiscRecorder>

fn SetActiveDiscRecorder(&self, precorder: Option<&IDiscRecorder>) -> Result<()>

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

fn ProgressAdvise( &self, pevents: Option<&IDiscMasterProgressEvents>, ) -> Result<usize>

fn ProgressUnadvise(&self, vcookie: usize) -> Result<()>

fn RecordDisc(&self, bsimulate: u8, bejectafterburn: u8) -> Result<()>

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

Object Safety§

This trait is not object safe.

Implementors§