pub trait IVssComponent_Impl: Sized {
Show 38 methods // Required methods fn GetLogicalPath(&self, pbstrpath: *mut BSTR) -> Result<()>; fn GetComponentType(&self, pct: *mut VSS_COMPONENT_TYPE) -> Result<()>; fn GetComponentName(&self, pbstrname: *mut BSTR) -> Result<()>; fn GetBackupSucceeded(&self, pbsucceeded: *mut bool) -> Result<()>; fn GetAlternateLocationMappingCount( &self, pcmappings: *mut u32 ) -> Result<()>; fn GetAlternateLocationMapping( &self, imapping: u32 ) -> Result<IVssWMFiledesc>; fn SetBackupMetadata(&self, wszdata: &PCWSTR) -> Result<()>; fn GetBackupMetadata(&self, pbstrdata: *mut BSTR) -> Result<()>; fn AddPartialFile( &self, wszpath: &PCWSTR, wszfilename: &PCWSTR, wszranges: &PCWSTR, wszmetadata: &PCWSTR ) -> Result<()>; fn GetPartialFileCount(&self, pcpartialfiles: *mut u32) -> Result<()>; fn GetPartialFile( &self, ipartialfile: u32, pbstrpath: *mut BSTR, pbstrfilename: *mut BSTR, pbstrrange: *mut BSTR, pbstrmetadata: *mut BSTR ) -> Result<()>; fn IsSelectedForRestore( &self, pbselectedforrestore: *mut bool ) -> Result<()>; fn GetAdditionalRestores( &self, pbadditionalrestores: *mut bool ) -> Result<()>; fn GetNewTargetCount(&self, pcnewtarget: *mut u32) -> Result<()>; fn GetNewTarget(&self, inewtarget: u32) -> Result<IVssWMFiledesc>; fn AddDirectedTarget( &self, wszsourcepath: &PCWSTR, wszsourcefilename: &PCWSTR, wszsourcerangelist: &PCWSTR, wszdestinationpath: &PCWSTR, wszdestinationfilename: &PCWSTR, wszdestinationrangelist: &PCWSTR ) -> Result<()>; fn GetDirectedTargetCount(&self, pcdirectedtarget: *mut u32) -> Result<()>; fn GetDirectedTarget( &self, idirectedtarget: u32, pbstrsourcepath: *mut BSTR, pbstrsourcefilename: *mut BSTR, pbstrsourcerangelist: *mut BSTR, pbstrdestinationpath: *mut BSTR, pbstrdestinationfilename: *mut BSTR, pbstrdestinationrangelist: *mut BSTR ) -> Result<()>; fn SetRestoreMetadata(&self, wszrestoremetadata: &PCWSTR) -> Result<()>; fn GetRestoreMetadata(&self, pbstrrestoremetadata: *mut BSTR) -> Result<()>; fn SetRestoreTarget(&self, target: VSS_RESTORE_TARGET) -> Result<()>; fn GetRestoreTarget(&self, ptarget: *mut VSS_RESTORE_TARGET) -> Result<()>; fn SetPreRestoreFailureMsg( &self, wszprerestorefailuremsg: &PCWSTR ) -> Result<()>; fn GetPreRestoreFailureMsg( &self, pbstrprerestorefailuremsg: *mut BSTR ) -> Result<()>; fn SetPostRestoreFailureMsg( &self, wszpostrestorefailuremsg: &PCWSTR ) -> Result<()>; fn GetPostRestoreFailureMsg( &self, pbstrpostrestorefailuremsg: *mut BSTR ) -> Result<()>; fn SetBackupStamp(&self, wszbackupstamp: &PCWSTR) -> Result<()>; fn GetBackupStamp(&self, pbstrbackupstamp: *mut BSTR) -> Result<()>; fn GetPreviousBackupStamp(&self, pbstrbackupstamp: *mut BSTR) -> Result<()>; fn GetBackupOptions(&self, pbstrbackupoptions: *mut BSTR) -> Result<()>; fn GetRestoreOptions(&self, pbstrrestoreoptions: *mut BSTR) -> Result<()>; fn GetRestoreSubcomponentCount( &self, pcrestoresubcomponent: *mut u32 ) -> Result<()>; fn GetRestoreSubcomponent( &self, icomponent: u32, pbstrlogicalpath: *mut BSTR, pbstrcomponentname: *mut BSTR, pbrepair: *mut bool ) -> Result<()>; fn GetFileRestoreStatus( &self, pstatus: *mut VSS_FILE_RESTORE_STATUS ) -> Result<()>; fn AddDifferencedFilesByLastModifyTime( &self, wszpath: &PCWSTR, wszfilespec: &PCWSTR, brecursive: BOOL, ftlastmodifytime: &FILETIME ) -> Result<()>; fn AddDifferencedFilesByLastModifyLSN( &self, wszpath: &PCWSTR, wszfilespec: &PCWSTR, brecursive: BOOL, bstrlsnstring: &BSTR ) -> Result<()>; fn GetDifferencedFilesCount( &self, pcdifferencedfiles: *mut u32 ) -> Result<()>; fn GetDifferencedFile( &self, idifferencedfile: u32, pbstrpath: *mut BSTR, pbstrfilespec: *mut BSTR, pbrecursive: *mut BOOL, pbstrlsnstring: *mut BSTR, pftlastmodifytime: *mut FILETIME ) -> Result<()>;
}

Required Methods§

fn GetLogicalPath(&self, pbstrpath: *mut BSTR) -> Result<()>

fn GetComponentType(&self, pct: *mut VSS_COMPONENT_TYPE) -> Result<()>

fn GetComponentName(&self, pbstrname: *mut BSTR) -> Result<()>

fn GetBackupSucceeded(&self, pbsucceeded: *mut bool) -> Result<()>

fn GetAlternateLocationMappingCount(&self, pcmappings: *mut u32) -> Result<()>

fn GetAlternateLocationMapping(&self, imapping: u32) -> Result<IVssWMFiledesc>

fn SetBackupMetadata(&self, wszdata: &PCWSTR) -> Result<()>

fn GetBackupMetadata(&self, pbstrdata: *mut BSTR) -> Result<()>

fn AddPartialFile( &self, wszpath: &PCWSTR, wszfilename: &PCWSTR, wszranges: &PCWSTR, wszmetadata: &PCWSTR ) -> Result<()>

fn GetPartialFileCount(&self, pcpartialfiles: *mut u32) -> Result<()>

fn GetPartialFile( &self, ipartialfile: u32, pbstrpath: *mut BSTR, pbstrfilename: *mut BSTR, pbstrrange: *mut BSTR, pbstrmetadata: *mut BSTR ) -> Result<()>

fn IsSelectedForRestore(&self, pbselectedforrestore: *mut bool) -> Result<()>

fn GetAdditionalRestores(&self, pbadditionalrestores: *mut bool) -> Result<()>

fn GetNewTargetCount(&self, pcnewtarget: *mut u32) -> Result<()>

fn GetNewTarget(&self, inewtarget: u32) -> Result<IVssWMFiledesc>

fn AddDirectedTarget( &self, wszsourcepath: &PCWSTR, wszsourcefilename: &PCWSTR, wszsourcerangelist: &PCWSTR, wszdestinationpath: &PCWSTR, wszdestinationfilename: &PCWSTR, wszdestinationrangelist: &PCWSTR ) -> Result<()>

fn GetDirectedTargetCount(&self, pcdirectedtarget: *mut u32) -> Result<()>

fn GetDirectedTarget( &self, idirectedtarget: u32, pbstrsourcepath: *mut BSTR, pbstrsourcefilename: *mut BSTR, pbstrsourcerangelist: *mut BSTR, pbstrdestinationpath: *mut BSTR, pbstrdestinationfilename: *mut BSTR, pbstrdestinationrangelist: *mut BSTR ) -> Result<()>

fn SetRestoreMetadata(&self, wszrestoremetadata: &PCWSTR) -> Result<()>

fn GetRestoreMetadata(&self, pbstrrestoremetadata: *mut BSTR) -> Result<()>

fn SetRestoreTarget(&self, target: VSS_RESTORE_TARGET) -> Result<()>

fn GetRestoreTarget(&self, ptarget: *mut VSS_RESTORE_TARGET) -> Result<()>

fn SetPreRestoreFailureMsg( &self, wszprerestorefailuremsg: &PCWSTR ) -> Result<()>

fn GetPreRestoreFailureMsg( &self, pbstrprerestorefailuremsg: *mut BSTR ) -> Result<()>

fn SetPostRestoreFailureMsg( &self, wszpostrestorefailuremsg: &PCWSTR ) -> Result<()>

fn GetPostRestoreFailureMsg( &self, pbstrpostrestorefailuremsg: *mut BSTR ) -> Result<()>

fn SetBackupStamp(&self, wszbackupstamp: &PCWSTR) -> Result<()>

fn GetBackupStamp(&self, pbstrbackupstamp: *mut BSTR) -> Result<()>

fn GetPreviousBackupStamp(&self, pbstrbackupstamp: *mut BSTR) -> Result<()>

fn GetBackupOptions(&self, pbstrbackupoptions: *mut BSTR) -> Result<()>

fn GetRestoreOptions(&self, pbstrrestoreoptions: *mut BSTR) -> Result<()>

fn GetRestoreSubcomponentCount( &self, pcrestoresubcomponent: *mut u32 ) -> Result<()>

fn GetRestoreSubcomponent( &self, icomponent: u32, pbstrlogicalpath: *mut BSTR, pbstrcomponentname: *mut BSTR, pbrepair: *mut bool ) -> Result<()>

fn GetFileRestoreStatus( &self, pstatus: *mut VSS_FILE_RESTORE_STATUS ) -> Result<()>

fn AddDifferencedFilesByLastModifyTime( &self, wszpath: &PCWSTR, wszfilespec: &PCWSTR, brecursive: BOOL, ftlastmodifytime: &FILETIME ) -> Result<()>

fn AddDifferencedFilesByLastModifyLSN( &self, wszpath: &PCWSTR, wszfilespec: &PCWSTR, brecursive: BOOL, bstrlsnstring: &BSTR ) -> Result<()>

fn GetDifferencedFilesCount(&self, pcdifferencedfiles: *mut u32) -> Result<()>

fn GetDifferencedFile( &self, idifferencedfile: u32, pbstrpath: *mut BSTR, pbstrfilespec: *mut BSTR, pbrecursive: *mut BOOL, pbstrlsnstring: *mut BSTR, pftlastmodifytime: *mut FILETIME ) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§