IVssBackupComponentsVtbl

Struct IVssBackupComponentsVtbl 

Source
#[repr(C)]
pub struct IVssBackupComponentsVtbl {
Show 49 fields pub parent: IUnknownVtbl, pub GetWriterComponentsCount: unsafe extern "system" fn(This: *mut IVssBackupComponents, pcComponents: *mut UINT) -> HRESULT, pub GetWriterComponents: unsafe extern "system" fn(This: *mut IVssBackupComponents, iWriter: UINT, ppWriter: *mut *mut IVssWriterComponentsExt) -> HRESULT, pub InitializeForBackup: unsafe extern "system" fn(This: *mut IVssBackupComponents, bstrXML: BSTR) -> HRESULT, pub SetBackupState: unsafe extern "system" fn(This: *mut IVssBackupComponents, bSelectComponents: bool, bBackupBootableSystemState: bool, backupType: VSS_BACKUP_TYPE, bPartialFileSupport: bool) -> HRESULT, pub InitializeForRestore: unsafe extern "system" fn(This: *mut IVssBackupComponents, bstrXML: BSTR) -> HRESULT, pub SetRestoreState: unsafe extern "system" fn(This: *mut IVssBackupComponents, restoreType: VSS_RESTORE_TYPE) -> HRESULT, pub GatherWriterMetadata: unsafe extern "system" fn(This: *mut IVssBackupComponents, pAsync: *mut *mut IVssAsync) -> HRESULT, pub GetWriterMetadataCount: unsafe extern "system" fn(This: *mut IVssBackupComponents, pcWriters: *mut UINT) -> HRESULT, pub GetWriterMetadata: unsafe extern "system" fn(This: *mut IVssBackupComponents, iWriter: UINT, pidInstance: *mut VSS_ID, ppMetadata: *mut *mut IVssExamineWriterMetadata) -> HRESULT, pub FreeWriterMetadata: unsafe extern "system" fn(This: *mut IVssBackupComponents) -> HRESULT, pub AddComponent: unsafe extern "system" fn(This: *mut IVssBackupComponents, instanceId: VSS_ID, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR) -> HRESULT, pub PrepareForBackup: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT, pub AbortBackup: unsafe extern "system" fn(This: *mut IVssBackupComponents) -> HRESULT, pub GatherWriterStatus: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT, pub GetWriterStatusCount: unsafe extern "system" fn(This: *mut IVssBackupComponents, pcWriters: *mut UINT) -> HRESULT, pub FreeWriterStatus: unsafe extern "system" fn(This: *mut IVssBackupComponents) -> HRESULT, pub GetWriterStatus: unsafe extern "system" fn(This: *mut IVssBackupComponents, iWriter: UINT, pidInstance: *mut VSS_ID, pidWriter: *mut VSS_ID, pbstrWriter: *mut BSTR, pnStatus: *mut VSS_WRITER_STATE, phResultFailure: *mut HRESULT) -> HRESULT, pub SetBackupSucceeded: unsafe extern "system" fn(This: *mut IVssBackupComponents, instanceId: VSS_ID, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, bSucceded: bool) -> HRESULT, pub SetBackupOptions: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszBackupOptions: LPCWSTR) -> HRESULT, pub SetSelectedForRestore: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, bSelectedForRestore: bool) -> HRESULT, pub SetRestoreOptions: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszRestoreOptions: LPCWSTR) -> HRESULT, pub SetAdditionalRestores: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, bAdditionalRestores: bool) -> HRESULT, pub SetPreviousBackupStamp: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszPreviousBackupStamp: LPCWSTR) -> HRESULT, pub SaveAsXML: unsafe extern "system" fn(This: *mut IVssBackupComponents, pbstrXML: *mut BSTR) -> HRESULT, pub BackupComplete: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT, pub AddAlternativeLocationMapping: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszPath: LPCWSTR, wszFilespec: LPCWSTR, bRecursive: bool, wszDestination: LPCWSTR) -> HRESULT, pub AddRestoreSubcomponent: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszSubComponentLogicalPath: LPCWSTR, wszSubComponentName: LPCWSTR, bRepair: bool) -> HRESULT, pub SetFileRestoreStatus: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, status: VSS_FILE_RESTORE_STATUS) -> HRESULT, pub AddNewTarget: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszPath: LPCWSTR, wszFileName: LPCWSTR, bRecursive: bool, wszAlternatePath: LPCWSTR) -> HRESULT, pub SetRangesFilePath: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, iPartialFile: UINT, wszRangesFile: LPCWSTR) -> HRESULT, pub PreRestore: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT, pub PostRestore: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT, pub SetContext: unsafe extern "system" fn(This: *mut IVssBackupComponents, lContext: LONG) -> HRESULT, pub StartSnapshotSet: unsafe extern "system" fn(This: *mut IVssBackupComponents, pSnapshotSetId: *mut VSS_ID) -> HRESULT, pub AddToSnapshotSet: unsafe extern "system" fn(This: *mut IVssBackupComponents, pwszVolumeName: VSS_PWSZ, ProviderId: VSS_ID, pidSnapshot: *mut VSS_ID) -> HRESULT, pub DoSnapshotSet: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT, pub DeleteSnapshots: unsafe extern "system" fn(This: *mut IVssBackupComponents, SourceObjectId: VSS_ID, eSourceObjectType: VSS_OBJECT_TYPE, bForceDelete: BOOL, plDeletedSnapshots: *mut LONG, pNondeletedSnapshotID: *mut VSS_ID) -> HRESULT, pub ImportSnapshots: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT, pub BreakSnapshotSet: unsafe extern "system" fn(This: *mut IVssBackupComponents, SnapshotSetId: VSS_ID) -> HRESULT, pub GetSnapshotProperties: unsafe extern "system" fn(This: *mut IVssBackupComponents, SnapshotId: VSS_ID, pProp: *mut VSS_SNAPSHOT_PROP) -> HRESULT, pub Query: unsafe extern "system" fn(This: *mut IVssBackupComponents, QueriedObjectId: VSS_ID, eQueriedObjectType: VSS_OBJECT_TYPE, eReturnedObjectsType: VSS_OBJECT_TYPE, ppEnum: *mut *mut IVssEnumObject) -> HRESULT, pub IsVolumeSupported: unsafe extern "system" fn(This: *mut IVssBackupComponents, ProviderId: VSS_ID, pwszVolumeName: VSS_PWSZ, pbSupportedByThisProvider: *mut BOOL) -> HRESULT, pub DisableWriterClasses: unsafe extern "system" fn(This: *mut IVssBackupComponents, rgWriterClassId: *const VSS_ID, cClassId: UINT) -> HRESULT, pub EnableWriterClasses: unsafe extern "system" fn(This: *mut IVssBackupComponents, rgWriterClassId: *const VSS_ID, cClassId: UINT) -> HRESULT, pub DisableWriterInstances: unsafe extern "system" fn(This: *mut IVssBackupComponents, rgWriterInstanceId: *const VSS_ID, cInstanceId: UINT) -> HRESULT, pub ExposeSnapshot: unsafe extern "system" fn(This: *mut IVssBackupComponents, SnapshotId: VSS_ID, wszPathFromRoot: VSS_PWSZ, lAttributes: LONG, wszExpose: VSS_PWSZ, pwszExposed: VSS_PWSZ) -> HRESULT, pub RevertToSnapshot: unsafe extern "system" fn(This: *mut IVssBackupComponents, SnapshotId: VSS_ID, bForceDismount: BOOL) -> HRESULT, pub QueryRevertStatus: unsafe extern "system" fn(This: *mut IVssBackupComponents, pwszVolume: VSS_PWSZ, ppAsync: *mut *mut IVssAsync) -> HRESULT,
}

Fields§

§parent: IUnknownVtbl§GetWriterComponentsCount: unsafe extern "system" fn(This: *mut IVssBackupComponents, pcComponents: *mut UINT) -> HRESULT§GetWriterComponents: unsafe extern "system" fn(This: *mut IVssBackupComponents, iWriter: UINT, ppWriter: *mut *mut IVssWriterComponentsExt) -> HRESULT§InitializeForBackup: unsafe extern "system" fn(This: *mut IVssBackupComponents, bstrXML: BSTR) -> HRESULT§SetBackupState: unsafe extern "system" fn(This: *mut IVssBackupComponents, bSelectComponents: bool, bBackupBootableSystemState: bool, backupType: VSS_BACKUP_TYPE, bPartialFileSupport: bool) -> HRESULT§InitializeForRestore: unsafe extern "system" fn(This: *mut IVssBackupComponents, bstrXML: BSTR) -> HRESULT§SetRestoreState: unsafe extern "system" fn(This: *mut IVssBackupComponents, restoreType: VSS_RESTORE_TYPE) -> HRESULT§GatherWriterMetadata: unsafe extern "system" fn(This: *mut IVssBackupComponents, pAsync: *mut *mut IVssAsync) -> HRESULT§GetWriterMetadataCount: unsafe extern "system" fn(This: *mut IVssBackupComponents, pcWriters: *mut UINT) -> HRESULT§GetWriterMetadata: unsafe extern "system" fn(This: *mut IVssBackupComponents, iWriter: UINT, pidInstance: *mut VSS_ID, ppMetadata: *mut *mut IVssExamineWriterMetadata) -> HRESULT§FreeWriterMetadata: unsafe extern "system" fn(This: *mut IVssBackupComponents) -> HRESULT§AddComponent: unsafe extern "system" fn(This: *mut IVssBackupComponents, instanceId: VSS_ID, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR) -> HRESULT§PrepareForBackup: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT§AbortBackup: unsafe extern "system" fn(This: *mut IVssBackupComponents) -> HRESULT§GatherWriterStatus: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT§GetWriterStatusCount: unsafe extern "system" fn(This: *mut IVssBackupComponents, pcWriters: *mut UINT) -> HRESULT§FreeWriterStatus: unsafe extern "system" fn(This: *mut IVssBackupComponents) -> HRESULT§GetWriterStatus: unsafe extern "system" fn(This: *mut IVssBackupComponents, iWriter: UINT, pidInstance: *mut VSS_ID, pidWriter: *mut VSS_ID, pbstrWriter: *mut BSTR, pnStatus: *mut VSS_WRITER_STATE, phResultFailure: *mut HRESULT) -> HRESULT§SetBackupSucceeded: unsafe extern "system" fn(This: *mut IVssBackupComponents, instanceId: VSS_ID, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, bSucceded: bool) -> HRESULT§SetBackupOptions: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszBackupOptions: LPCWSTR) -> HRESULT§SetSelectedForRestore: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, bSelectedForRestore: bool) -> HRESULT§SetRestoreOptions: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszRestoreOptions: LPCWSTR) -> HRESULT§SetAdditionalRestores: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, bAdditionalRestores: bool) -> HRESULT§SetPreviousBackupStamp: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszPreviousBackupStamp: LPCWSTR) -> HRESULT§SaveAsXML: unsafe extern "system" fn(This: *mut IVssBackupComponents, pbstrXML: *mut BSTR) -> HRESULT§BackupComplete: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT§AddAlternativeLocationMapping: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszPath: LPCWSTR, wszFilespec: LPCWSTR, bRecursive: bool, wszDestination: LPCWSTR) -> HRESULT§AddRestoreSubcomponent: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszSubComponentLogicalPath: LPCWSTR, wszSubComponentName: LPCWSTR, bRepair: bool) -> HRESULT§SetFileRestoreStatus: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, status: VSS_FILE_RESTORE_STATUS) -> HRESULT§AddNewTarget: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszPath: LPCWSTR, wszFileName: LPCWSTR, bRecursive: bool, wszAlternatePath: LPCWSTR) -> HRESULT§SetRangesFilePath: unsafe extern "system" fn(This: *mut IVssBackupComponents, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, iPartialFile: UINT, wszRangesFile: LPCWSTR) -> HRESULT§PreRestore: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT§PostRestore: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT§SetContext: unsafe extern "system" fn(This: *mut IVssBackupComponents, lContext: LONG) -> HRESULT§StartSnapshotSet: unsafe extern "system" fn(This: *mut IVssBackupComponents, pSnapshotSetId: *mut VSS_ID) -> HRESULT§AddToSnapshotSet: unsafe extern "system" fn(This: *mut IVssBackupComponents, pwszVolumeName: VSS_PWSZ, ProviderId: VSS_ID, pidSnapshot: *mut VSS_ID) -> HRESULT§DoSnapshotSet: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT§DeleteSnapshots: unsafe extern "system" fn(This: *mut IVssBackupComponents, SourceObjectId: VSS_ID, eSourceObjectType: VSS_OBJECT_TYPE, bForceDelete: BOOL, plDeletedSnapshots: *mut LONG, pNondeletedSnapshotID: *mut VSS_ID) -> HRESULT§ImportSnapshots: unsafe extern "system" fn(This: *mut IVssBackupComponents, ppAsync: *mut *mut IVssAsync) -> HRESULT§BreakSnapshotSet: unsafe extern "system" fn(This: *mut IVssBackupComponents, SnapshotSetId: VSS_ID) -> HRESULT§GetSnapshotProperties: unsafe extern "system" fn(This: *mut IVssBackupComponents, SnapshotId: VSS_ID, pProp: *mut VSS_SNAPSHOT_PROP) -> HRESULT§Query: unsafe extern "system" fn(This: *mut IVssBackupComponents, QueriedObjectId: VSS_ID, eQueriedObjectType: VSS_OBJECT_TYPE, eReturnedObjectsType: VSS_OBJECT_TYPE, ppEnum: *mut *mut IVssEnumObject) -> HRESULT§IsVolumeSupported: unsafe extern "system" fn(This: *mut IVssBackupComponents, ProviderId: VSS_ID, pwszVolumeName: VSS_PWSZ, pbSupportedByThisProvider: *mut BOOL) -> HRESULT§DisableWriterClasses: unsafe extern "system" fn(This: *mut IVssBackupComponents, rgWriterClassId: *const VSS_ID, cClassId: UINT) -> HRESULT§EnableWriterClasses: unsafe extern "system" fn(This: *mut IVssBackupComponents, rgWriterClassId: *const VSS_ID, cClassId: UINT) -> HRESULT§DisableWriterInstances: unsafe extern "system" fn(This: *mut IVssBackupComponents, rgWriterInstanceId: *const VSS_ID, cInstanceId: UINT) -> HRESULT§ExposeSnapshot: unsafe extern "system" fn(This: *mut IVssBackupComponents, SnapshotId: VSS_ID, wszPathFromRoot: VSS_PWSZ, lAttributes: LONG, wszExpose: VSS_PWSZ, pwszExposed: VSS_PWSZ) -> HRESULT§RevertToSnapshot: unsafe extern "system" fn(This: *mut IVssBackupComponents, SnapshotId: VSS_ID, bForceDismount: BOOL) -> HRESULT§QueryRevertStatus: unsafe extern "system" fn(This: *mut IVssBackupComponents, pwszVolume: VSS_PWSZ, ppAsync: *mut *mut IVssAsync) -> HRESULT

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.