Struct IVssBackupComponents

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

Fields§

§lpVtbl: *const IVssBackupComponentsVtbl

Implementations§

Source§

impl IVssBackupComponents

Source

pub unsafe fn GetWriterComponentsCount( &self, pcComponents: *mut UINT, ) -> HRESULT

Source

pub unsafe fn GetWriterComponents( &self, iWriter: UINT, ppWriter: *mut *mut IVssWriterComponentsExt, ) -> HRESULT

Source

pub unsafe fn InitializeForBackup(&self, bstrXML: BSTR) -> HRESULT

Source

pub unsafe fn SetBackupState( &self, bSelectComponents: bool, bBackupBootableSystemState: bool, backupType: VSS_BACKUP_TYPE, bPartialFileSupport: bool, ) -> HRESULT

Source

pub unsafe fn InitializeForRestore(&self, bstrXML: BSTR) -> HRESULT

Source

pub unsafe fn SetRestoreState(&self, restoreType: VSS_RESTORE_TYPE) -> HRESULT

Source

pub unsafe fn GatherWriterMetadata( &self, pAsync: *mut *mut IVssAsync, ) -> HRESULT

Source

pub unsafe fn GetWriterMetadataCount(&self, pcWriters: *mut UINT) -> HRESULT

Source

pub unsafe fn GetWriterMetadata( &self, iWriter: UINT, pidInstance: *mut VSS_ID, ppMetadata: *mut *mut IVssExamineWriterMetadata, ) -> HRESULT

Source

pub unsafe fn FreeWriterMetadata(&self) -> HRESULT

Source

pub unsafe fn AddComponent( &self, instanceId: VSS_ID, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, ) -> HRESULT

Source

pub unsafe fn PrepareForBackup(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT

Source

pub unsafe fn AbortBackup(&self) -> HRESULT

Source

pub unsafe fn GatherWriterStatus(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT

Source

pub unsafe fn GetWriterStatusCount(&self, pcWriters: *mut UINT) -> HRESULT

Source

pub unsafe fn FreeWriterStatus(&self) -> HRESULT

Source

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

Source

pub unsafe fn SetBackupSucceeded( &self, instanceId: VSS_ID, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, bSucceded: bool, ) -> HRESULT

Source

pub unsafe fn SetBackupOptions( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszBackupOptions: LPCWSTR, ) -> HRESULT

Source

pub unsafe fn SetSelectedForRestore( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, bSelectedForRestore: bool, ) -> HRESULT

Source

pub unsafe fn SetRestoreOptions( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszRestoreOptions: LPCWSTR, ) -> HRESULT

Source

pub unsafe fn SetAdditionalRestores( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, bAdditionalRestores: bool, ) -> HRESULT

Source

pub unsafe fn SetPreviousBackupStamp( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszPreviousBackupStamp: LPCWSTR, ) -> HRESULT

Source

pub unsafe fn SaveAsXML(&self, pbstrXML: *mut BSTR) -> HRESULT

Source

pub unsafe fn BackupComplete(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT

Source

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

Source

pub unsafe fn AddRestoreSubcomponent( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, wszSubComponentLogicalPath: LPCWSTR, wszSubComponentName: LPCWSTR, bRepair: bool, ) -> HRESULT

Source

pub unsafe fn SetFileRestoreStatus( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, status: VSS_FILE_RESTORE_STATUS, ) -> HRESULT

Source

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

Source

pub unsafe fn SetRangesFilePath( &self, writerId: VSS_ID, ct: VSS_COMPONENT_TYPE, wszLogicalPath: LPCWSTR, wszComponentName: LPCWSTR, iPartialFile: UINT, wszRangesFile: LPCWSTR, ) -> HRESULT

Source

pub unsafe fn PreRestore(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT

Source

pub unsafe fn PostRestore(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT

Source

pub unsafe fn SetContext(&self, lContext: LONG) -> HRESULT

Source

pub unsafe fn StartSnapshotSet(&self, pSnapshotSetId: *mut VSS_ID) -> HRESULT

Source

pub unsafe fn AddToSnapshotSet( &self, pwszVolumeName: VSS_PWSZ, ProviderId: VSS_ID, pidSnapshot: *mut VSS_ID, ) -> HRESULT

Source

pub unsafe fn DoSnapshotSet(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT

Source

pub unsafe fn DeleteSnapshots( &self, SourceObjectId: VSS_ID, eSourceObjectType: VSS_OBJECT_TYPE, bForceDelete: BOOL, plDeletedSnapshots: *mut LONG, pNondeletedSnapshotID: *mut VSS_ID, ) -> HRESULT

Source

pub unsafe fn ImportSnapshots(&self, ppAsync: *mut *mut IVssAsync) -> HRESULT

Source

pub unsafe fn BreakSnapshotSet(&self, SnapshotSetId: VSS_ID) -> HRESULT

Source

pub unsafe fn GetSnapshotProperties( &self, SnapshotId: VSS_ID, pProp: *mut VSS_SNAPSHOT_PROP, ) -> HRESULT

Source

pub unsafe fn Query( &self, QueriedObjectId: VSS_ID, eQueriedObjectType: VSS_OBJECT_TYPE, eReturnedObjectsType: VSS_OBJECT_TYPE, ppEnum: *mut *mut IVssEnumObject, ) -> HRESULT

Source

pub unsafe fn IsVolumeSupported( &self, ProviderId: VSS_ID, pwszVolumeName: VSS_PWSZ, pbSupportedByThisProvider: *mut BOOL, ) -> HRESULT

Source

pub unsafe fn DisableWriterClasses( &self, rgWriterClassId: *const VSS_ID, cClassId: UINT, ) -> HRESULT

Source

pub unsafe fn EnableWriterClasses( &self, rgWriterClassId: *const VSS_ID, cClassId: UINT, ) -> HRESULT

Source

pub unsafe fn DisableWriterInstances( &self, rgWriterInstanceId: *const VSS_ID, cInstanceId: UINT, ) -> HRESULT

Source

pub unsafe fn ExposeSnapshot( &self, SnapshotId: VSS_ID, wszPathFromRoot: VSS_PWSZ, lAttributes: LONG, wszExpose: VSS_PWSZ, pwszExposed: VSS_PWSZ, ) -> HRESULT

Source

pub unsafe fn RevertToSnapshot( &self, SnapshotId: VSS_ID, bForceDismount: BOOL, ) -> HRESULT

Source

pub unsafe fn QueryRevertStatus( &self, pwszVolume: VSS_PWSZ, ppAsync: *mut *mut IVssAsync, ) -> 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 IVssBackupComponents

Source§

type Target = IUnknown

The resulting type after dereferencing.
Source§

fn deref(&self) -> &IUnknown

Dereferences the value.
Source§

impl Interface for IVssBackupComponents

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.