#[repr(C)]pub struct IVssBackupComponents {
pub lpVtbl: *const IVssBackupComponentsVtbl,
}
Fields§
§lpVtbl: *const IVssBackupComponentsVtbl
Implementations§
Source§impl IVssBackupComponents
impl IVssBackupComponents
pub unsafe fn GetWriterComponentsCount( &self, pcComponents: *mut UINT, ) -> HRESULT
pub unsafe fn GetWriterComponents( &self, iWriter: UINT, ppWriter: *mut *mut IVssWriterComponentsExt, ) -> HRESULT
pub unsafe fn InitializeForBackup(&self, bstrXML: BSTR) -> HRESULT
pub unsafe fn SetBackupState( &self, bSelectComponents: bool, bBackupBootableSystemState: bool, backupType: VSS_BACKUP_TYPE, bPartialFileSupport: bool, ) -> HRESULT
pub unsafe fn InitializeForRestore(&self, bstrXML: BSTR) -> HRESULT
pub unsafe fn SetRestoreState(&self, restoreType: VSS_RESTORE_TYPE) -> HRESULT
pub unsafe fn GatherWriterMetadata( &self, pAsync: *mut *mut IVssAsync, ) -> HRESULT
pub unsafe fn GetWriterMetadataCount(&self, pcWriters: *mut UINT) -> HRESULT
pub unsafe fn GetWriterMetadata( &self, iWriter: UINT, pidInstance: *mut VSS_ID, ppMetadata: *mut *mut IVssExamineWriterMetadata, ) -> HRESULT
pub unsafe fn FreeWriterMetadata(&self) -> HRESULT
pub unsafe fn AddComponent( &self, instanceId: VSS_ID, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, ) -> HRESULT
pub unsafe fn PrepareForBackup(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT
pub unsafe fn AbortBackup(&self) -> HRESULT
pub unsafe fn GatherWriterStatus(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT
pub unsafe fn GetWriterStatusCount(&self, pcWriters: *mut UINT) -> HRESULT
pub unsafe fn FreeWriterStatus(&self) -> HRESULT
pub unsafe fn GetWriterStatus( &self, iWriter: UINT, pidInstance: *mut VSS_ID, pidWriter: *mut VSS_ID, pbstrWriter: *mut BSTR, pnStatus: *mut VSS_WRITER_STATE, phResultFailure: *mut HRESULT, ) -> HRESULT
pub unsafe fn SetBackupSucceeded( &self, instanceId: VSS_ID, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, bSucceded: bool, ) -> HRESULT
pub unsafe fn SetBackupOptions( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszBackupOptions: LPCWSTR, ) -> HRESULT
pub unsafe fn SetSelectedForRestore( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, bSelectedForRestore: bool, ) -> HRESULT
pub unsafe fn SetRestoreOptions( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszRestoreOptions: LPCWSTR, ) -> HRESULT
pub unsafe fn SetAdditionalRestores( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, bAdditionalRestores: bool, ) -> HRESULT
pub unsafe fn SetPreviousBackupStamp( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszPreviousBackupStamp: LPCWSTR, ) -> HRESULT
pub unsafe fn SaveAsXML(&self, pbstrXML: *mut BSTR) -> HRESULT
pub unsafe fn BackupComplete(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT
pub unsafe fn AddAlternativeLocationMapping( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszPath: LPCWSTR, wszFilespec: LPCWSTR, bRecursive: bool, wszDestination: LPCWSTR, ) -> HRESULT
pub unsafe fn AddRestoreSubcomponent( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszSubComponentLogicalPath: LPCWSTR, wszSubComponentName: LPCWSTR, bRepair: bool, ) -> HRESULT
pub unsafe fn SetFileRestoreStatus( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, status: VSS_FILE_RESTORE_STATUS, ) -> HRESULT
pub unsafe fn AddNewTarget( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszPath: LPCWSTR, wszFileName: LPCWSTR, bRecursive: bool, wszAlternatePath: LPCWSTR, ) -> HRESULT
pub unsafe fn SetRangesFilePath( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, iPartialFile: UINT, wszRangesFile: LPCWSTR, ) -> HRESULT
pub unsafe fn PreRestore(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT
pub unsafe fn PostRestore(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT
pub unsafe fn SetContext(&self, lContext: LONG) -> HRESULT
pub unsafe fn StartSnapshotSet(&self, pSnapshotSetId: *mut VSS_ID) -> HRESULT
pub unsafe fn AddToSnapshotSet( &self, pwszVolumeName: VSS_PWSZ, ProviderId: VSS_ID, pidSnapshot: *mut VSS_ID, ) -> HRESULT
pub unsafe fn DoSnapshotSet(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT
pub unsafe fn DeleteSnapshots( &self, SourceObjectId: VSS_ID, eSourceObjectType: VSS_OBJECT_TYPE, bForceDelete: BOOL, plDeletedSnapshots: *mut LONG, pNondeletedSnapshotID: *mut VSS_ID, ) -> HRESULT
pub unsafe fn ImportSnapshots(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT
pub unsafe fn BreakSnapshotSet(&self, SnapshotSetId: VSS_ID) -> HRESULT
pub unsafe fn GetSnapshotProperties( &self, SnapshotId: VSS_ID, pProp: *mut VSS_SNAPSHOT_PROP, ) -> HRESULT
pub unsafe fn Query( &self, QueriedObjectId: VSS_ID, eQueriedObjectType: VSS_OBJECT_TYPE, eReturnedObjectsType: VSS_OBJECT_TYPE, ppEnum: *mut *mut IVssEnumObject, ) -> HRESULT
pub unsafe fn IsVolumeSupported( &self, ProviderId: VSS_ID, pwszVolumeName: VSS_PWSZ, pbSupportedByThisProvider: *mut BOOL, ) -> HRESULT
pub unsafe fn DisableWriterClasses( &self, rgWriterClassId: *const VSS_ID, cClassId: UINT, ) -> HRESULT
pub unsafe fn EnableWriterClasses( &self, rgWriterClassId: *const VSS_ID, cClassId: UINT, ) -> HRESULT
pub unsafe fn DisableWriterInstances( &self, rgWriterInstanceId: *const VSS_ID, cInstanceId: UINT, ) -> HRESULT
pub unsafe fn ExposeSnapshot( &self, SnapshotId: VSS_ID, wszPathFromRoot: VSS_PWSZ, lAttributes: LONG, wszExpose: VSS_PWSZ, pwszExposed: VSS_PWSZ, ) -> HRESULT
pub unsafe fn RevertToSnapshot( &self, SnapshotId: VSS_ID, bForceDismount: BOOL, ) -> HRESULT
pub unsafe fn QueryRevertStatus( &self, pwszVolume: VSS_PWSZ, ppAsync: *mut *mut IVssAsync, ) -> HRESULT
Trait Implementations§
Source§impl Deref for IVssBackupComponents
impl Deref for IVssBackupComponents
Auto Trait Implementations§
impl Freeze for IVssBackupComponents
impl RefUnwindSafe for IVssBackupComponents
impl !Send for IVssBackupComponents
impl !Sync for IVssBackupComponents
impl Unpin for IVssBackupComponents
impl UnwindSafe for IVssBackupComponents
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more