IVssComponentVtbl

Struct IVssComponentVtbl 

Source
#[repr(C)]
pub struct IVssComponentVtbl {
Show 39 fields pub parent: IUnknownVtbl, pub GetLogicalPath: unsafe extern "system" fn(This: *mut IVssComponent, pbstrPath: *mut BSTR) -> HRESULT, pub GetComponentType: unsafe extern "system" fn(This: *mut IVssComponent, pct: *mut VSS_COMPONENT_TYPE) -> HRESULT, pub GetComponentName: unsafe extern "system" fn(This: *mut IVssComponent, pbstrName: *mut BSTR) -> HRESULT, pub GetBackupSucceeded: unsafe extern "system" fn(This: *mut IVssComponent, pbSucceeded: *mut bool) -> HRESULT, pub GetAlternateLocationMappingCount: unsafe extern "system" fn(This: *mut IVssComponent, pcMappings: *mut UINT) -> HRESULT, pub GetAlternateLocationMapping: unsafe extern "system" fn(This: *mut IVssComponent, iMapping: UINT, ppFiledesc: *mut *mut IVssWMFiledesc) -> HRESULT, pub SetBackupMetadata: unsafe extern "system" fn(This: *mut IVssComponent, wszData: LPCWSTR) -> HRESULT, pub GetBackupMetadata: unsafe extern "system" fn(This: *mut IVssComponent, pbstrData: *mut BSTR) -> HRESULT, pub AddPartialFile: unsafe extern "system" fn(This: *mut IVssComponent, wszPath: LPCWSTR, wszFilename: LPCWSTR, wszRanges: LPCWSTR, wszMetadata: LPCWSTR) -> HRESULT, pub GetPartialFileCount: unsafe extern "system" fn(This: *mut IVssComponent, pcPartialFiles: *mut UINT) -> HRESULT, pub GetPartialFile: unsafe extern "system" fn(This: *mut IVssComponent, iPartialFile: UINT, pbstrPath: *mut BSTR, pbstrFilename: *mut BSTR, pbstrRange: *mut BSTR, pbstrMetadata: *mut BSTR) -> HRESULT, pub IsSelectedForRestore: unsafe extern "system" fn(This: *mut IVssComponent, pbSelectedForRestore: *mut bool) -> HRESULT, pub GetAdditionalRestores: unsafe extern "system" fn(This: *mut IVssComponent, pbAdditionalRestores: *mut bool) -> HRESULT, pub GetNewTargetCount: unsafe extern "system" fn(This: *mut IVssComponent, pcNewTarget: *mut UINT) -> HRESULT, pub GetNewTarget: unsafe extern "system" fn(This: *mut IVssComponent, iNewTarget: UINT, ppFiledesc: *mut *mut IVssWMFiledesc) -> HRESULT, pub AddDirectedTarget: unsafe extern "system" fn(This: *mut IVssComponent, wszSourcePath: LPCWSTR, wszSourceFilename: LPCWSTR, wszSourceRangeList: LPCWSTR, wszDestinationPath: LPCWSTR, wszDestinationFilename: LPCWSTR, wszDestinationRangeList: LPCWSTR) -> HRESULT, pub GetDirectedTargetCount: unsafe extern "system" fn(This: *mut IVssComponent, pcDirectedTarget: *mut UINT) -> HRESULT, pub GetDirectedTarget: unsafe extern "system" fn(This: *mut IVssComponent, iDirectedTarget: UINT, pbstrSourcePath: *mut BSTR, pbstrSourceFileName: *mut BSTR, pbstrSourceRangeList: *mut BSTR, pbstrDestinationPath: *mut BSTR, pbstrDestinationFilename: *mut BSTR, pbstrDestinationRangeList: *mut BSTR) -> HRESULT, pub SetRestoreMetadata: unsafe extern "system" fn(This: *mut IVssComponent, wszRestoreMetadata: LPCWSTR) -> HRESULT, pub GetRestoreMetadata: unsafe extern "system" fn(This: *mut IVssComponent, pbstrRestoreMetadata: *mut BSTR) -> HRESULT, pub SetRestoreTarget: unsafe extern "system" fn(This: *mut IVssComponent, target: VSS_RESTORE_TARGET) -> HRESULT, pub GetRestoreTarget: unsafe extern "system" fn(This: *mut IVssComponent, pTarget: *mut VSS_RESTORE_TARGET) -> HRESULT, pub SetPreRestoreFailureMsg: unsafe extern "system" fn(This: *mut IVssComponent, wszPreRestoreFailureMsg: LPCWSTR) -> HRESULT, pub GetPreRestoreFailureMsg: unsafe extern "system" fn(This: *mut IVssComponent, pbstrPreRestoreFailureMsg: *mut BSTR) -> HRESULT, pub SetPostRestoreFailureMsg: unsafe extern "system" fn(This: *mut IVssComponent, wszPostRestoreFailureMsg: LPCWSTR) -> HRESULT, pub GetPostRestoreFailureMsg: unsafe extern "system" fn(This: *mut IVssComponent, pbstrPostRestoreFailureMsg: *mut BSTR) -> HRESULT, pub SetBackupStamp: unsafe extern "system" fn(This: *mut IVssComponent, wszBackupStamp: LPCWSTR) -> HRESULT, pub GetBackupStamp: unsafe extern "system" fn(This: *mut IVssComponent, pbstrBackupStamp: *mut BSTR) -> HRESULT, pub GetPreviousBackupStamp: unsafe extern "system" fn(This: *mut IVssComponent, pbstrBackupStamp: *mut BSTR) -> HRESULT, pub GetBackupOptions: unsafe extern "system" fn(This: *mut IVssComponent, pbstrBackupOptions: *mut BSTR) -> HRESULT, pub GetRestoreOptions: unsafe extern "system" fn(This: *mut IVssComponent, pbstrRestoreOptions: *mut BSTR) -> HRESULT, pub GetRestoreSubcomponentCount: unsafe extern "system" fn(This: *mut IVssComponent, pcRestoreSubcomponent: *mut UINT) -> HRESULT, pub GetRestoreSubcomponent: unsafe extern "system" fn(This: *mut IVssComponent, iComponent: UINT, pbstrLogicalPath: *mut BSTR, pbstrComponentName: *mut BSTR, pbRepair: *mut bool) -> HRESULT, pub GetFileRestoreStatus: unsafe extern "system" fn(This: *mut IVssComponent, pStatus: *mut VSS_FILE_RESTORE_STATUS) -> HRESULT, pub AddDifferencedFilesByLastModifyTime: unsafe extern "system" fn(This: *mut IVssComponent, wszPath: LPCWSTR, wszFilespec: LPCWSTR, bRecursive: BOOL, ftLastModifyTime: FILETIME) -> HRESULT, pub AddDifferencedFilesByLastModifyLSN: unsafe extern "system" fn(This: *mut IVssComponent, wszPath: LPCWSTR, wszFilespec: LPCWSTR, bRecursive: BOOL, bstrLsnString: BSTR) -> HRESULT, pub GetDifferencedFilesCount: unsafe extern "system" fn(This: *mut IVssComponent, pcDifferencedFiles: *mut UINT) -> HRESULT, pub GetDifferencedFile: unsafe extern "system" fn(This: *mut IVssComponent, iDifferencedFile: UINT, pbstrPath: *mut BSTR, pbstrFilespec: *mut BSTR, pbRecursive: *mut BOOL, pbstrLsnString: *mut BSTR, pftLastModifyTime: *mut FILETIME) -> HRESULT,
}

Fields§

§parent: IUnknownVtbl§GetLogicalPath: unsafe extern "system" fn(This: *mut IVssComponent, pbstrPath: *mut BSTR) -> HRESULT§GetComponentType: unsafe extern "system" fn(This: *mut IVssComponent, pct: *mut VSS_COMPONENT_TYPE) -> HRESULT§GetComponentName: unsafe extern "system" fn(This: *mut IVssComponent, pbstrName: *mut BSTR) -> HRESULT§GetBackupSucceeded: unsafe extern "system" fn(This: *mut IVssComponent, pbSucceeded: *mut bool) -> HRESULT§GetAlternateLocationMappingCount: unsafe extern "system" fn(This: *mut IVssComponent, pcMappings: *mut UINT) -> HRESULT§GetAlternateLocationMapping: unsafe extern "system" fn(This: *mut IVssComponent, iMapping: UINT, ppFiledesc: *mut *mut IVssWMFiledesc) -> HRESULT§SetBackupMetadata: unsafe extern "system" fn(This: *mut IVssComponent, wszData: LPCWSTR) -> HRESULT§GetBackupMetadata: unsafe extern "system" fn(This: *mut IVssComponent, pbstrData: *mut BSTR) -> HRESULT§AddPartialFile: unsafe extern "system" fn(This: *mut IVssComponent, wszPath: LPCWSTR, wszFilename: LPCWSTR, wszRanges: LPCWSTR, wszMetadata: LPCWSTR) -> HRESULT§GetPartialFileCount: unsafe extern "system" fn(This: *mut IVssComponent, pcPartialFiles: *mut UINT) -> HRESULT§GetPartialFile: unsafe extern "system" fn(This: *mut IVssComponent, iPartialFile: UINT, pbstrPath: *mut BSTR, pbstrFilename: *mut BSTR, pbstrRange: *mut BSTR, pbstrMetadata: *mut BSTR) -> HRESULT§IsSelectedForRestore: unsafe extern "system" fn(This: *mut IVssComponent, pbSelectedForRestore: *mut bool) -> HRESULT§GetAdditionalRestores: unsafe extern "system" fn(This: *mut IVssComponent, pbAdditionalRestores: *mut bool) -> HRESULT§GetNewTargetCount: unsafe extern "system" fn(This: *mut IVssComponent, pcNewTarget: *mut UINT) -> HRESULT§GetNewTarget: unsafe extern "system" fn(This: *mut IVssComponent, iNewTarget: UINT, ppFiledesc: *mut *mut IVssWMFiledesc) -> HRESULT§AddDirectedTarget: unsafe extern "system" fn(This: *mut IVssComponent, wszSourcePath: LPCWSTR, wszSourceFilename: LPCWSTR, wszSourceRangeList: LPCWSTR, wszDestinationPath: LPCWSTR, wszDestinationFilename: LPCWSTR, wszDestinationRangeList: LPCWSTR) -> HRESULT§GetDirectedTargetCount: unsafe extern "system" fn(This: *mut IVssComponent, pcDirectedTarget: *mut UINT) -> HRESULT§GetDirectedTarget: unsafe extern "system" fn(This: *mut IVssComponent, iDirectedTarget: UINT, pbstrSourcePath: *mut BSTR, pbstrSourceFileName: *mut BSTR, pbstrSourceRangeList: *mut BSTR, pbstrDestinationPath: *mut BSTR, pbstrDestinationFilename: *mut BSTR, pbstrDestinationRangeList: *mut BSTR) -> HRESULT§SetRestoreMetadata: unsafe extern "system" fn(This: *mut IVssComponent, wszRestoreMetadata: LPCWSTR) -> HRESULT§GetRestoreMetadata: unsafe extern "system" fn(This: *mut IVssComponent, pbstrRestoreMetadata: *mut BSTR) -> HRESULT§SetRestoreTarget: unsafe extern "system" fn(This: *mut IVssComponent, target: VSS_RESTORE_TARGET) -> HRESULT§GetRestoreTarget: unsafe extern "system" fn(This: *mut IVssComponent, pTarget: *mut VSS_RESTORE_TARGET) -> HRESULT§SetPreRestoreFailureMsg: unsafe extern "system" fn(This: *mut IVssComponent, wszPreRestoreFailureMsg: LPCWSTR) -> HRESULT§GetPreRestoreFailureMsg: unsafe extern "system" fn(This: *mut IVssComponent, pbstrPreRestoreFailureMsg: *mut BSTR) -> HRESULT§SetPostRestoreFailureMsg: unsafe extern "system" fn(This: *mut IVssComponent, wszPostRestoreFailureMsg: LPCWSTR) -> HRESULT§GetPostRestoreFailureMsg: unsafe extern "system" fn(This: *mut IVssComponent, pbstrPostRestoreFailureMsg: *mut BSTR) -> HRESULT§SetBackupStamp: unsafe extern "system" fn(This: *mut IVssComponent, wszBackupStamp: LPCWSTR) -> HRESULT§GetBackupStamp: unsafe extern "system" fn(This: *mut IVssComponent, pbstrBackupStamp: *mut BSTR) -> HRESULT§GetPreviousBackupStamp: unsafe extern "system" fn(This: *mut IVssComponent, pbstrBackupStamp: *mut BSTR) -> HRESULT§GetBackupOptions: unsafe extern "system" fn(This: *mut IVssComponent, pbstrBackupOptions: *mut BSTR) -> HRESULT§GetRestoreOptions: unsafe extern "system" fn(This: *mut IVssComponent, pbstrRestoreOptions: *mut BSTR) -> HRESULT§GetRestoreSubcomponentCount: unsafe extern "system" fn(This: *mut IVssComponent, pcRestoreSubcomponent: *mut UINT) -> HRESULT§GetRestoreSubcomponent: unsafe extern "system" fn(This: *mut IVssComponent, iComponent: UINT, pbstrLogicalPath: *mut BSTR, pbstrComponentName: *mut BSTR, pbRepair: *mut bool) -> HRESULT§GetFileRestoreStatus: unsafe extern "system" fn(This: *mut IVssComponent, pStatus: *mut VSS_FILE_RESTORE_STATUS) -> HRESULT§AddDifferencedFilesByLastModifyTime: unsafe extern "system" fn(This: *mut IVssComponent, wszPath: LPCWSTR, wszFilespec: LPCWSTR, bRecursive: BOOL, ftLastModifyTime: FILETIME) -> HRESULT§AddDifferencedFilesByLastModifyLSN: unsafe extern "system" fn(This: *mut IVssComponent, wszPath: LPCWSTR, wszFilespec: LPCWSTR, bRecursive: BOOL, bstrLsnString: BSTR) -> HRESULT§GetDifferencedFilesCount: unsafe extern "system" fn(This: *mut IVssComponent, pcDifferencedFiles: *mut UINT) -> HRESULT§GetDifferencedFile: unsafe extern "system" fn(This: *mut IVssComponent, iDifferencedFile: UINT, pbstrPath: *mut BSTR, pbstrFilespec: *mut BSTR, pbRecursive: *mut BOOL, pbstrLsnString: *mut BSTR, pftLastModifyTime: *mut FILETIME) -> 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.