Struct windows::Win32::Storage::Vss::IVssComponent
pub struct IVssComponent(/* private fields */);
Implementations§
§impl IVssComponent
impl IVssComponent
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<()>
Trait Implementations§
§impl Clone for IVssComponent
impl Clone for IVssComponent
§fn clone(&self) -> IVssComponent
fn clone(&self) -> IVssComponent
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 IVssComponent
impl Debug for IVssComponent
§impl From<&IVssComponent> for &IUnknown
impl From<&IVssComponent> for &IUnknown
§fn from(value: &IVssComponent) -> Self
fn from(value: &IVssComponent) -> 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 &IVssComponent
impl From<&IVssComponentEx2> for &IVssComponent
§fn from(value: &IVssComponentEx2) -> Self
fn from(value: &IVssComponentEx2) -> Self
Converts to this type from the input type.
§impl From<IVssComponent> for IUnknown
impl From<IVssComponent> for IUnknown
§fn from(value: IVssComponent) -> Self
fn from(value: IVssComponent) -> 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 IVssComponent
impl From<IVssComponentEx2> for IVssComponent
§fn from(value: IVssComponentEx2) -> Self
fn from(value: IVssComponentEx2) -> Self
Converts to this type from the input type.
§impl Interface for IVssComponent
impl Interface for IVssComponent
§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 IVssComponent
impl PartialEq for IVssComponent
§fn eq(&self, other: &IVssComponent) -> bool
fn eq(&self, other: &IVssComponent) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IVssComponent
impl StructuralPartialEq for IVssComponent
Auto Trait Implementations§
impl RefUnwindSafe for IVssComponent
impl !Send for IVssComponent
impl !Sync for IVssComponent
impl Unpin for IVssComponent
impl UnwindSafe for IVssComponent
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