IVssComponent

Struct IVssComponent 

Source
#[repr(C)]
pub struct IVssComponent { pub lpVtbl: *const IVssComponentVtbl, }

Fields§

§lpVtbl: *const IVssComponentVtbl

Implementations§

Source§

impl IVssComponent

Source

pub unsafe fn GetLogicalPath(&self, pbstrPath: *mut BSTR) -> HRESULT

Source

pub unsafe fn GetComponentType(&self, pct: *mut VSS_COMPONENT_TYPE) -> HRESULT

Source

pub unsafe fn GetComponentName(&self, pbstrName: *mut BSTR) -> HRESULT

Source

pub unsafe fn GetBackupSucceeded(&self, pbSucceeded: *mut bool) -> HRESULT

Source

pub unsafe fn GetAlternateLocationMappingCount( &self, pcMappings: *mut UINT, ) -> HRESULT

Source

pub unsafe fn GetAlternateLocationMapping( &self, iMapping: UINT, ppFiledesc: *mut *mut IVssWMFiledesc, ) -> HRESULT

Source

pub unsafe fn SetBackupMetadata(&self, wszData: LPCWSTR) -> HRESULT

Source

pub unsafe fn GetBackupMetadata(&self, pbstrData: *mut BSTR) -> HRESULT

Source

pub unsafe fn AddPartialFile( &self, wszPath: LPCWSTR, wszFilename: LPCWSTR, wszRanges: LPCWSTR, wszMetadata: LPCWSTR, ) -> HRESULT

Source

pub unsafe fn GetPartialFileCount(&self, pcPartialFiles: *mut UINT) -> HRESULT

Source

pub unsafe fn GetPartialFile( &self, iPartialFile: UINT, pbstrPath: *mut BSTR, pbstrFilename: *mut BSTR, pbstrRange: *mut BSTR, pbstrMetadata: *mut BSTR, ) -> HRESULT

Source

pub unsafe fn IsSelectedForRestore( &self, pbSelectedForRestore: *mut bool, ) -> HRESULT

Source

pub unsafe fn GetAdditionalRestores( &self, pbAdditionalRestores: *mut bool, ) -> HRESULT

Source

pub unsafe fn GetNewTargetCount(&self, pcNewTarget: *mut UINT) -> HRESULT

Source

pub unsafe fn GetNewTarget( &self, iNewTarget: UINT, ppFiledesc: *mut *mut IVssWMFiledesc, ) -> HRESULT

Source

pub unsafe fn AddDirectedTarget( &self, wszSourcePath: LPCWSTR, wszSourceFilename: LPCWSTR, wszSourceRangeList: LPCWSTR, wszDestinationPath: LPCWSTR, wszDestinationFilename: LPCWSTR, wszDestinationRangeList: LPCWSTR, ) -> HRESULT

Source

pub unsafe fn GetDirectedTargetCount( &self, pcDirectedTarget: *mut UINT, ) -> HRESULT

Source

pub unsafe fn GetDirectedTarget( &self, iDirectedTarget: UINT, pbstrSourcePath: *mut BSTR, pbstrSourceFileName: *mut BSTR, pbstrSourceRangeList: *mut BSTR, pbstrDestinationPath: *mut BSTR, pbstrDestinationFilename: *mut BSTR, pbstrDestinationRangeList: *mut BSTR, ) -> HRESULT

Source

pub unsafe fn SetRestoreMetadata(&self, wszRestoreMetadata: LPCWSTR) -> HRESULT

Source

pub unsafe fn GetRestoreMetadata( &self, pbstrRestoreMetadata: *mut BSTR, ) -> HRESULT

Source

pub unsafe fn SetRestoreTarget(&self, target: VSS_RESTORE_TARGET) -> HRESULT

Source

pub unsafe fn GetRestoreTarget( &self, pTarget: *mut VSS_RESTORE_TARGET, ) -> HRESULT

Source

pub unsafe fn SetPreRestoreFailureMsg( &self, wszPreRestoreFailureMsg: LPCWSTR, ) -> HRESULT

Source

pub unsafe fn GetPreRestoreFailureMsg( &self, pbstrPreRestoreFailureMsg: *mut BSTR, ) -> HRESULT

Source

pub unsafe fn SetPostRestoreFailureMsg( &self, wszPostRestoreFailureMsg: LPCWSTR, ) -> HRESULT

Source

pub unsafe fn GetPostRestoreFailureMsg( &self, pbstrPostRestoreFailureMsg: *mut BSTR, ) -> HRESULT

Source

pub unsafe fn SetBackupStamp(&self, wszBackupStamp: LPCWSTR) -> HRESULT

Source

pub unsafe fn GetBackupStamp(&self, pbstrBackupStamp: *mut BSTR) -> HRESULT

Source

pub unsafe fn GetPreviousBackupStamp( &self, pbstrBackupStamp: *mut BSTR, ) -> HRESULT

Source

pub unsafe fn GetBackupOptions(&self, pbstrBackupOptions: *mut BSTR) -> HRESULT

Source

pub unsafe fn GetRestoreOptions( &self, pbstrRestoreOptions: *mut BSTR, ) -> HRESULT

Source

pub unsafe fn GetRestoreSubcomponentCount( &self, pcRestoreSubcomponent: *mut UINT, ) -> HRESULT

Source

pub unsafe fn GetRestoreSubcomponent( &self, iComponent: UINT, pbstrLogicalPath: *mut BSTR, pbstrComponentName: *mut BSTR, pbRepair: *mut bool, ) -> HRESULT

Source

pub unsafe fn GetFileRestoreStatus( &self, pStatus: *mut VSS_FILE_RESTORE_STATUS, ) -> HRESULT

Source

pub unsafe fn AddDifferencedFilesByLastModifyTime( &self, wszPath: LPCWSTR, wszFilespec: LPCWSTR, bRecursive: BOOL, ftLastModifyTime: FILETIME, ) -> HRESULT

Source

pub unsafe fn AddDifferencedFilesByLastModifyLSN( &self, wszPath: LPCWSTR, wszFilespec: LPCWSTR, bRecursive: BOOL, bstrLsnString: BSTR, ) -> HRESULT

Source

pub unsafe fn GetDifferencedFilesCount( &self, pcDifferencedFiles: *mut UINT, ) -> HRESULT

Source

pub unsafe fn GetDifferencedFile( &self, iDifferencedFile: UINT, pbstrPath: *mut BSTR, pbstrFilespec: *mut BSTR, pbRecursive: *mut BOOL, pbstrLsnString: *mut BSTR, pftLastModifyTime: *mut FILETIME, ) -> HRESULT

Methods from Deref<Target = IUnknown>§

Source

pub unsafe fn QueryInterface( &self, riid: REFIID, ppvObject: *mut *mut c_void, ) -> HRESULT

Source

pub unsafe fn AddRef(&self) -> ULONG

Source

pub unsafe fn Release(&self) -> ULONG

Trait Implementations§

Source§

impl Deref for IVssComponent

Source§

type Target = IUnknown

The resulting type after dereferencing.
Source§

fn deref(&self) -> &IUnknown

Dereferences the value.
Source§

impl Interface for IVssComponent

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<P, T> Receiver for P
where P: Deref<Target = T> + ?Sized, T: ?Sized,

Source§

type Target = T

🔬This is a nightly-only experimental API. (arbitrary_self_types)
The target type on which the method may be called.
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.