Struct windows::Win32::Storage::Vss::IVssComponentEx
pub struct IVssComponentEx(/* private fields */);
Implementations§
§impl IVssComponentEx
impl IVssComponentEx
pub unsafe fn GetLogicalPath(&self, pbstrpath: *mut BSTR) -> Result<()>
pub unsafe fn GetComponentType( &self, pct: *mut VSS_COMPONENT_TYPE ) -> Result<()>
pub unsafe fn GetComponentName(&self, pbstrname: *mut BSTR) -> Result<()>
pub unsafe fn GetBackupSucceeded(&self, pbsucceeded: *mut bool) -> Result<()>
pub unsafe fn GetAlternateLocationMappingCount( &self, pcmappings: *mut u32 ) -> Result<()>
pub unsafe fn GetAlternateLocationMapping( &self, imapping: u32 ) -> Result<IVssWMFiledesc>
pub unsafe fn SetBackupMetadata<P0>(&self, wszdata: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetBackupMetadata(&self, pbstrdata: *mut BSTR) -> Result<()>
pub unsafe fn AddPartialFile<P0, P1, P2, P3>( &self, wszpath: P0, wszfilename: P1, wszranges: P2, wszmetadata: P3 ) -> Result<()>
pub unsafe fn GetPartialFileCount(&self, pcpartialfiles: *mut u32) -> Result<()>
pub unsafe fn GetPartialFile( &self, ipartialfile: u32, pbstrpath: *mut BSTR, pbstrfilename: *mut BSTR, pbstrrange: *mut BSTR, pbstrmetadata: *mut BSTR ) -> Result<()>
pub unsafe fn IsSelectedForRestore( &self, pbselectedforrestore: *mut bool ) -> Result<()>
pub unsafe fn GetAdditionalRestores( &self, pbadditionalrestores: *mut bool ) -> Result<()>
pub unsafe fn GetNewTargetCount(&self, pcnewtarget: *mut u32) -> Result<()>
pub unsafe fn GetNewTarget(&self, inewtarget: u32) -> Result<IVssWMFiledesc>
pub unsafe fn AddDirectedTarget<P0, P1, P2, P3, P4, P5>( &self, wszsourcepath: P0, wszsourcefilename: P1, wszsourcerangelist: P2, wszdestinationpath: P3, wszdestinationfilename: P4, wszdestinationrangelist: P5 ) -> Result<()>
pub unsafe fn GetDirectedTargetCount( &self, pcdirectedtarget: *mut u32 ) -> Result<()>
pub unsafe fn GetDirectedTarget( &self, idirectedtarget: u32, pbstrsourcepath: *mut BSTR, pbstrsourcefilename: *mut BSTR, pbstrsourcerangelist: *mut BSTR, pbstrdestinationpath: *mut BSTR, pbstrdestinationfilename: *mut BSTR, pbstrdestinationrangelist: *mut BSTR ) -> Result<()>
pub unsafe fn SetRestoreMetadata<P0>(
&self,
wszrestoremetadata: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetRestoreMetadata( &self, pbstrrestoremetadata: *mut BSTR ) -> Result<()>
pub unsafe fn SetRestoreTarget(&self, target: VSS_RESTORE_TARGET) -> Result<()>
pub unsafe fn GetRestoreTarget( &self, ptarget: *mut VSS_RESTORE_TARGET ) -> Result<()>
pub unsafe fn SetPreRestoreFailureMsg<P0>(
&self,
wszprerestorefailuremsg: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetPreRestoreFailureMsg( &self, pbstrprerestorefailuremsg: *mut BSTR ) -> Result<()>
pub unsafe fn SetPostRestoreFailureMsg<P0>(
&self,
wszpostrestorefailuremsg: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetPostRestoreFailureMsg( &self, pbstrpostrestorefailuremsg: *mut BSTR ) -> Result<()>
pub unsafe fn SetBackupStamp<P0>(&self, wszbackupstamp: P0) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetBackupStamp(&self, pbstrbackupstamp: *mut BSTR) -> Result<()>
pub unsafe fn GetPreviousBackupStamp( &self, pbstrbackupstamp: *mut BSTR ) -> Result<()>
pub unsafe fn GetBackupOptions( &self, pbstrbackupoptions: *mut BSTR ) -> Result<()>
pub unsafe fn GetRestoreOptions( &self, pbstrrestoreoptions: *mut BSTR ) -> Result<()>
pub unsafe fn GetRestoreSubcomponentCount( &self, pcrestoresubcomponent: *mut u32 ) -> Result<()>
pub unsafe fn GetRestoreSubcomponent( &self, icomponent: u32, pbstrlogicalpath: *mut BSTR, pbstrcomponentname: *mut BSTR, pbrepair: *mut bool ) -> Result<()>
pub unsafe fn GetFileRestoreStatus( &self, pstatus: *mut VSS_FILE_RESTORE_STATUS ) -> Result<()>
pub unsafe fn AddDifferencedFilesByLastModifyTime<P0, P1, P2>( &self, wszpath: P0, wszfilespec: P1, brecursive: P2, ftlastmodifytime: FILETIME ) -> Result<()>
pub unsafe fn AddDifferencedFilesByLastModifyLSN<P0, P1, P2, P3>( &self, wszpath: P0, wszfilespec: P1, brecursive: P2, bstrlsnstring: P3 ) -> Result<()>
pub unsafe fn GetDifferencedFilesCount( &self, pcdifferencedfiles: *mut u32 ) -> Result<()>
pub unsafe fn GetDifferencedFile( &self, idifferencedfile: u32, pbstrpath: *mut BSTR, pbstrfilespec: *mut BSTR, pbrecursive: *mut BOOL, pbstrlsnstring: *mut BSTR, pftlastmodifytime: *mut FILETIME ) -> Result<()>
pub unsafe fn SetPrepareForBackupFailureMsg<P0>(
&self,
wszfailuremsg: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn SetPostSnapshotFailureMsg<P0>(
&self,
wszfailuremsg: P0
) -> Result<()>where
P0: IntoParam<PCWSTR>,
pub unsafe fn GetPrepareForBackupFailureMsg(&self) -> Result<BSTR>
pub unsafe fn GetPostSnapshotFailureMsg(&self) -> Result<BSTR>
pub unsafe fn GetAuthoritativeRestore(&self) -> Result<bool>
pub unsafe fn GetRollForward( &self, prolltype: *mut VSS_ROLLFORWARD_TYPE, pbstrpoint: *mut BSTR ) -> Result<()>
pub unsafe fn GetRestoreName(&self) -> Result<BSTR>
Trait Implementations§
§impl Clone for IVssComponentEx
impl Clone for IVssComponentEx
§fn clone(&self) -> IVssComponentEx
fn clone(&self) -> IVssComponentEx
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IVssComponentEx
impl Debug for IVssComponentEx
§impl From<&IVssComponentEx> for &IUnknown
impl From<&IVssComponentEx> for &IUnknown
§fn from(value: &IVssComponentEx) -> Self
fn from(value: &IVssComponentEx) -> Self
Converts to this type from the input type.
§impl From<&IVssComponentEx> for &IVssComponent
impl From<&IVssComponentEx> for &IVssComponent
§fn from(value: &IVssComponentEx) -> Self
fn from(value: &IVssComponentEx) -> Self
Converts to this type from the input type.
§impl From<&IVssComponentEx2> for &IVssComponentEx
impl From<&IVssComponentEx2> for &IVssComponentEx
§fn from(value: &IVssComponentEx2) -> Self
fn from(value: &IVssComponentEx2) -> Self
Converts to this type from the input type.
§impl From<IVssComponentEx> for IUnknown
impl From<IVssComponentEx> for IUnknown
§fn from(value: IVssComponentEx) -> Self
fn from(value: IVssComponentEx) -> Self
Converts to this type from the input type.
§impl From<IVssComponentEx> for IVssComponent
impl From<IVssComponentEx> for IVssComponent
§fn from(value: IVssComponentEx) -> Self
fn from(value: IVssComponentEx) -> Self
Converts to this type from the input type.
§impl From<IVssComponentEx2> for IVssComponentEx
impl From<IVssComponentEx2> for IVssComponentEx
§fn from(value: IVssComponentEx2) -> Self
fn from(value: IVssComponentEx2) -> Self
Converts to this type from the input type.
§impl Interface for IVssComponentEx
impl Interface for IVssComponentEx
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IVssComponentEx
impl PartialEq for IVssComponentEx
§fn eq(&self, other: &IVssComponentEx) -> bool
fn eq(&self, other: &IVssComponentEx) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IVssComponentEx
impl StructuralPartialEq for IVssComponentEx
Auto Trait Implementations§
impl RefUnwindSafe for IVssComponentEx
impl !Send for IVssComponentEx
impl !Sync for IVssComponentEx
impl Unpin for IVssComponentEx
impl UnwindSafe for IVssComponentEx
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