pub trait IVssCreateExpressWriterMetadata_Impl: Sized {
    // Required methods
    fn AddExcludeFiles(
        &self,
        wszpath: &PCWSTR,
        wszfilespec: &PCWSTR,
        brecursive: u8,
    ) -> Result<()>;
    fn AddComponent(
        &self,
        ct: VSS_COMPONENT_TYPE,
        wszlogicalpath: &PCWSTR,
        wszcomponentname: &PCWSTR,
        wszcaption: &PCWSTR,
        pbicon: *const u8,
        cbicon: u32,
        brestoremetadata: u8,
        bnotifyonbackupcomplete: u8,
        bselectable: u8,
        bselectableforrestore: u8,
        dwcomponentflags: u32,
    ) -> Result<()>;
    fn AddFilesToFileGroup(
        &self,
        wszlogicalpath: &PCWSTR,
        wszgroupname: &PCWSTR,
        wszpath: &PCWSTR,
        wszfilespec: &PCWSTR,
        brecursive: u8,
        wszalternatelocation: &PCWSTR,
        dwbackuptypemask: u32,
    ) -> Result<()>;
    fn SetRestoreMethod(
        &self,
        method: VSS_RESTOREMETHOD_ENUM,
        wszservice: &PCWSTR,
        wszuserprocedure: &PCWSTR,
        writerrestore: VSS_WRITERRESTORE_ENUM,
        brebootrequired: u8,
    ) -> Result<()>;
    fn AddComponentDependency(
        &self,
        wszforlogicalpath: &PCWSTR,
        wszforcomponentname: &PCWSTR,
        onwriterid: &GUID,
        wszonlogicalpath: &PCWSTR,
        wszoncomponentname: &PCWSTR,
    ) -> Result<()>;
    fn SetBackupSchema(&self, dwschemamask: u32) -> Result<()>;
    fn SaveAsXML(&self) -> Result<BSTR>;
}

Required Methods§

fn AddExcludeFiles( &self, wszpath: &PCWSTR, wszfilespec: &PCWSTR, brecursive: u8, ) -> Result<()>

fn AddComponent( &self, ct: VSS_COMPONENT_TYPE, wszlogicalpath: &PCWSTR, wszcomponentname: &PCWSTR, wszcaption: &PCWSTR, pbicon: *const u8, cbicon: u32, brestoremetadata: u8, bnotifyonbackupcomplete: u8, bselectable: u8, bselectableforrestore: u8, dwcomponentflags: u32, ) -> Result<()>

fn AddFilesToFileGroup( &self, wszlogicalpath: &PCWSTR, wszgroupname: &PCWSTR, wszpath: &PCWSTR, wszfilespec: &PCWSTR, brecursive: u8, wszalternatelocation: &PCWSTR, dwbackuptypemask: u32, ) -> Result<()>

fn SetRestoreMethod( &self, method: VSS_RESTOREMETHOD_ENUM, wszservice: &PCWSTR, wszuserprocedure: &PCWSTR, writerrestore: VSS_WRITERRESTORE_ENUM, brebootrequired: u8, ) -> Result<()>

fn AddComponentDependency( &self, wszforlogicalpath: &PCWSTR, wszforcomponentname: &PCWSTR, onwriterid: &GUID, wszonlogicalpath: &PCWSTR, wszoncomponentname: &PCWSTR, ) -> Result<()>

fn SetBackupSchema(&self, dwschemamask: u32) -> Result<()>

fn SaveAsXML(&self) -> Result<BSTR>

Object Safety§

This trait is not object safe.

Implementors§