Struct windows::Win32::Storage::Vss::IVssComponent_Vtbl

#[repr(C)]
pub struct IVssComponent_Vtbl {
Show 39 fields pub base__: IUnknown_Vtbl, pub GetLogicalPath: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub GetComponentType: unsafe extern "system" fn(_: *mut c_void, _: *mut VSS_COMPONENT_TYPE) -> HRESULT, pub GetComponentName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub GetBackupSucceeded: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub GetAlternateLocationMappingCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub GetAlternateLocationMapping: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT, pub SetBackupMetadata: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT, pub GetBackupMetadata: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub AddPartialFile: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR, _: PCWSTR, _: PCWSTR) -> HRESULT, pub GetPartialFileCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub GetPartialFile: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub IsSelectedForRestore: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub GetAdditionalRestores: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT, pub GetNewTargetCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub GetNewTarget: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT, pub AddDirectedTarget: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR, _: PCWSTR, _: PCWSTR, _: PCWSTR, _: PCWSTR) -> HRESULT, pub GetDirectedTargetCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub GetDirectedTarget: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetRestoreMetadata: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT, pub GetRestoreMetadata: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetRestoreTarget: unsafe extern "system" fn(_: *mut c_void, _: VSS_RESTORE_TARGET) -> HRESULT, pub GetRestoreTarget: unsafe extern "system" fn(_: *mut c_void, _: *mut VSS_RESTORE_TARGET) -> HRESULT, pub SetPreRestoreFailureMsg: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT, pub GetPreRestoreFailureMsg: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetPostRestoreFailureMsg: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT, pub GetPostRestoreFailureMsg: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub SetBackupStamp: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT, pub GetBackupStamp: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub GetPreviousBackupStamp: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub GetBackupOptions: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub GetRestoreOptions: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT, pub GetRestoreSubcomponentCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub GetRestoreSubcomponent: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut bool) -> HRESULT, pub GetFileRestoreStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut VSS_FILE_RESTORE_STATUS) -> HRESULT, pub AddDifferencedFilesByLastModifyTime: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR, _: BOOL, _: FILETIME) -> HRESULT, pub AddDifferencedFilesByLastModifyLSN: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR, _: BOOL, _: MaybeUninit<BSTR>) -> HRESULT, pub GetDifferencedFilesCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT, pub GetDifferencedFile: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut BOOL, _: *mut MaybeUninit<BSTR>, _: *mut FILETIME) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§GetLogicalPath: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§GetComponentType: unsafe extern "system" fn(_: *mut c_void, _: *mut VSS_COMPONENT_TYPE) -> HRESULT§GetComponentName: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§GetBackupSucceeded: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§GetAlternateLocationMappingCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetAlternateLocationMapping: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT§SetBackupMetadata: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT§GetBackupMetadata: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§AddPartialFile: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR, _: PCWSTR, _: PCWSTR) -> HRESULT§GetPartialFileCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetPartialFile: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>) -> HRESULT§IsSelectedForRestore: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§GetAdditionalRestores: unsafe extern "system" fn(_: *mut c_void, _: *mut bool) -> HRESULT§GetNewTargetCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetNewTarget: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut *mut c_void) -> HRESULT§AddDirectedTarget: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR, _: PCWSTR, _: PCWSTR, _: PCWSTR, _: PCWSTR) -> HRESULT§GetDirectedTargetCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetDirectedTarget: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetRestoreMetadata: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT§GetRestoreMetadata: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetRestoreTarget: unsafe extern "system" fn(_: *mut c_void, _: VSS_RESTORE_TARGET) -> HRESULT§GetRestoreTarget: unsafe extern "system" fn(_: *mut c_void, _: *mut VSS_RESTORE_TARGET) -> HRESULT§SetPreRestoreFailureMsg: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT§GetPreRestoreFailureMsg: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetPostRestoreFailureMsg: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT§GetPostRestoreFailureMsg: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§SetBackupStamp: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR) -> HRESULT§GetBackupStamp: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§GetPreviousBackupStamp: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§GetBackupOptions: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§GetRestoreOptions: unsafe extern "system" fn(_: *mut c_void, _: *mut MaybeUninit<BSTR>) -> HRESULT§GetRestoreSubcomponentCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetRestoreSubcomponent: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut bool) -> HRESULT§GetFileRestoreStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut VSS_FILE_RESTORE_STATUS) -> HRESULT§AddDifferencedFilesByLastModifyTime: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR, _: BOOL, _: FILETIME) -> HRESULT§AddDifferencedFilesByLastModifyLSN: unsafe extern "system" fn(_: *mut c_void, _: PCWSTR, _: PCWSTR, _: BOOL, _: MaybeUninit<BSTR>) -> HRESULT§GetDifferencedFilesCount: unsafe extern "system" fn(_: *mut c_void, _: *mut u32) -> HRESULT§GetDifferencedFile: unsafe extern "system" fn(_: *mut c_void, _: u32, _: *mut MaybeUninit<BSTR>, _: *mut MaybeUninit<BSTR>, _: *mut BOOL, _: *mut MaybeUninit<BSTR>, _: *mut FILETIME) -> HRESULT

Implementations§

§

impl IVssComponent_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IVssComponent_Vtbl
where Identity: IVssComponent_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

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>,

§

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>,

§

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.