pub trait IVssCreateWriterMetadata_Impl: Sized {
    // Required methods
    fn AddIncludeFiles(
        &self,
        wszpath: &PCWSTR,
        wszfilespec: &PCWSTR,
        brecursive: u8,
        wszalternatelocation: &PCWSTR
    ) -> Result<()>;
    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 AddDatabaseFiles(
        &self,
        wszlogicalpath: &PCWSTR,
        wszdatabasename: &PCWSTR,
        wszpath: &PCWSTR,
        wszfilespec: &PCWSTR,
        dwbackuptypemask: u32
    ) -> Result<()>;
    fn AddDatabaseLogFiles(
        &self,
        wszlogicalpath: &PCWSTR,
        wszdatabasename: &PCWSTR,
        wszpath: &PCWSTR,
        wszfilespec: &PCWSTR,
        dwbackuptypemask: 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 AddAlternateLocationMapping(
        &self,
        wszsourcepath: &PCWSTR,
        wszsourcefilespec: &PCWSTR,
        brecursive: u8,
        wszdestination: &PCWSTR
    ) -> Result<()>;
    fn AddComponentDependency(
        &self,
        wszforlogicalpath: &PCWSTR,
        wszforcomponentname: &PCWSTR,
        onwriterid: &GUID,
        wszonlogicalpath: &PCWSTR,
        wszoncomponentname: &PCWSTR
    ) -> Result<()>;
    fn SetBackupSchema(&self, dwschemamask: u32) -> Result<()>;
    fn GetDocument(&self) -> Result<IXMLDOMDocument>;
    fn SaveAsXML(&self, pbstrxml: *mut BSTR) -> Result<()>;
}

Required Methods§

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

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 AddDatabaseFiles( &self, wszlogicalpath: &PCWSTR, wszdatabasename: &PCWSTR, wszpath: &PCWSTR, wszfilespec: &PCWSTR, dwbackuptypemask: u32 ) -> Result<()>

fn AddDatabaseLogFiles( &self, wszlogicalpath: &PCWSTR, wszdatabasename: &PCWSTR, wszpath: &PCWSTR, wszfilespec: &PCWSTR, dwbackuptypemask: 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 AddAlternateLocationMapping( &self, wszsourcepath: &PCWSTR, wszsourcefilespec: &PCWSTR, brecursive: u8, wszdestination: &PCWSTR ) -> Result<()>

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

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

fn GetDocument(&self) -> Result<IXMLDOMDocument>

fn SaveAsXML(&self, pbstrxml: *mut BSTR) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§