Struct windows::Win32::Storage::OfflineFiles::IOfflineFilesEvents4
pub struct IOfflineFilesEvents4(/* private fields */);
Implementations§
§impl IOfflineFilesEvents4
impl IOfflineFilesEvents4
pub unsafe fn PrefetchCloseHandleBegin(&self) -> Result<()>
pub unsafe fn PrefetchCloseHandleEnd( &self, dwclosedhandlecount: u32, dwopenhandlecount: u32, hrresult: HRESULT, ) -> Result<()>
Methods from Deref<Target = IOfflineFilesEvents3>§
pub unsafe fn TransparentCacheItemNotify<P0, P1, P2, P3>( &self, pszpath: P0, eventtype: OFFLINEFILES_EVENTS, itemtype: OFFLINEFILES_ITEM_TYPE, bmodifieddata: P1, bmodifiedattributes: P2, pzsoldpath: P3, ) -> Result<()>
pub unsafe fn PrefetchFileBegin<P0>(&self, pszpath: P0) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn PrefetchFileEnd<P0>(
&self,
pszpath: P0,
hrresult: HRESULT,
) -> Result<()>where
P0: Param<PCWSTR>,
Methods from Deref<Target = IOfflineFilesEvents2>§
pub unsafe fn ItemReconnectBegin(&self) -> Result<()>
pub unsafe fn ItemReconnectEnd(&self) -> Result<()>
pub unsafe fn CacheEvictBegin(&self) -> Result<()>
pub unsafe fn CacheEvictEnd(&self) -> Result<()>
pub unsafe fn BackgroundSyncBegin(&self, dwsynccontrolflags: u32) -> Result<()>
pub unsafe fn BackgroundSyncEnd(&self, dwsynccontrolflags: u32) -> Result<()>
pub unsafe fn PolicyChangeDetected(&self) -> Result<()>
pub unsafe fn PreferenceChangeDetected(&self) -> Result<()>
pub unsafe fn SettingsChangesApplied(&self) -> Result<()>
Methods from Deref<Target = IOfflineFilesEvents>§
pub unsafe fn CacheMoved<P0, P1>(
&self,
pszoldpath: P0,
psznewpath: P1,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
pub unsafe fn CacheIsFull(&self) -> Result<()>
pub unsafe fn CacheIsCorrupted(&self) -> Result<()>
pub unsafe fn Enabled<P0>(&self, benabled: P0) -> Result<()>where
P0: Param<BOOL>,
pub unsafe fn EncryptionChanged<P0, P1, P2, P3>( &self, bwasencrypted: P0, bwaspartial: P1, bisencrypted: P2, bispartial: P3, ) -> Result<()>
pub unsafe fn SyncBegin(&self, rsyncid: *const GUID) -> Result<()>
pub unsafe fn SyncFileResult<P0>(
&self,
rsyncid: *const GUID,
pszfile: P0,
hrresult: HRESULT,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn SyncConflictRecAdded<P0>(
&self,
pszconflictpath: P0,
pftconflictdatetime: *const FILETIME,
conflictsyncstate: OFFLINEFILES_SYNC_STATE,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn SyncConflictRecUpdated<P0>(
&self,
pszconflictpath: P0,
pftconflictdatetime: *const FILETIME,
conflictsyncstate: OFFLINEFILES_SYNC_STATE,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn SyncConflictRecRemoved<P0>(
&self,
pszconflictpath: P0,
pftconflictdatetime: *const FILETIME,
conflictsyncstate: OFFLINEFILES_SYNC_STATE,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn SyncEnd( &self, rsyncid: *const GUID, hrresult: HRESULT, ) -> Result<()>
pub unsafe fn NetTransportArrived(&self) -> Result<()>
pub unsafe fn NoNetTransports(&self) -> Result<()>
pub unsafe fn ItemDisconnected<P0>(
&self,
pszpath: P0,
itemtype: OFFLINEFILES_ITEM_TYPE,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn ItemReconnected<P0>(
&self,
pszpath: P0,
itemtype: OFFLINEFILES_ITEM_TYPE,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn ItemAvailableOffline<P0>(
&self,
pszpath: P0,
itemtype: OFFLINEFILES_ITEM_TYPE,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn ItemNotAvailableOffline<P0>(
&self,
pszpath: P0,
itemtype: OFFLINEFILES_ITEM_TYPE,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn ItemPinned<P0>(
&self,
pszpath: P0,
itemtype: OFFLINEFILES_ITEM_TYPE,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn ItemNotPinned<P0>(
&self,
pszpath: P0,
itemtype: OFFLINEFILES_ITEM_TYPE,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn ItemModified<P0, P1, P2>( &self, pszpath: P0, itemtype: OFFLINEFILES_ITEM_TYPE, bmodifieddata: P1, bmodifiedattributes: P2, ) -> Result<()>
pub unsafe fn ItemAddedToCache<P0>(
&self,
pszpath: P0,
itemtype: OFFLINEFILES_ITEM_TYPE,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn ItemDeletedFromCache<P0>(
&self,
pszpath: P0,
itemtype: OFFLINEFILES_ITEM_TYPE,
) -> Result<()>where
P0: Param<PCWSTR>,
pub unsafe fn ItemRenamed<P0, P1>(
&self,
pszoldpath: P0,
psznewpath: P1,
itemtype: OFFLINEFILES_ITEM_TYPE,
) -> Result<()>where
P0: Param<PCWSTR>,
P1: Param<PCWSTR>,
pub unsafe fn DataLost(&self) -> Result<()>
pub unsafe fn Ping(&self) -> Result<()>
Trait Implementations§
§impl CanInto<IOfflineFilesEvents> for IOfflineFilesEvents4
impl CanInto<IOfflineFilesEvents> for IOfflineFilesEvents4
§impl CanInto<IOfflineFilesEvents2> for IOfflineFilesEvents4
impl CanInto<IOfflineFilesEvents2> for IOfflineFilesEvents4
§impl CanInto<IOfflineFilesEvents3> for IOfflineFilesEvents4
impl CanInto<IOfflineFilesEvents3> for IOfflineFilesEvents4
§impl CanInto<IUnknown> for IOfflineFilesEvents4
impl CanInto<IUnknown> for IOfflineFilesEvents4
§impl Clone for IOfflineFilesEvents4
impl Clone for IOfflineFilesEvents4
§fn clone(&self) -> IOfflineFilesEvents4
fn clone(&self) -> IOfflineFilesEvents4
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 IOfflineFilesEvents4
impl Debug for IOfflineFilesEvents4
§impl Deref for IOfflineFilesEvents4
impl Deref for IOfflineFilesEvents4
§impl From<&IOfflineFilesEvents4> for &IOfflineFilesEvents
impl From<&IOfflineFilesEvents4> for &IOfflineFilesEvents
§fn from(value: &IOfflineFilesEvents4) -> Self
fn from(value: &IOfflineFilesEvents4) -> Self
Converts to this type from the input type.
§impl From<&IOfflineFilesEvents4> for &IOfflineFilesEvents2
impl From<&IOfflineFilesEvents4> for &IOfflineFilesEvents2
§fn from(value: &IOfflineFilesEvents4) -> Self
fn from(value: &IOfflineFilesEvents4) -> Self
Converts to this type from the input type.
§impl From<&IOfflineFilesEvents4> for &IOfflineFilesEvents3
impl From<&IOfflineFilesEvents4> for &IOfflineFilesEvents3
§fn from(value: &IOfflineFilesEvents4) -> Self
fn from(value: &IOfflineFilesEvents4) -> Self
Converts to this type from the input type.
§impl From<&IOfflineFilesEvents4> for &IUnknown
impl From<&IOfflineFilesEvents4> for &IUnknown
§fn from(value: &IOfflineFilesEvents4) -> Self
fn from(value: &IOfflineFilesEvents4) -> Self
Converts to this type from the input type.
§impl From<IOfflineFilesEvents4> for IOfflineFilesEvents
impl From<IOfflineFilesEvents4> for IOfflineFilesEvents
§fn from(value: IOfflineFilesEvents4) -> Self
fn from(value: IOfflineFilesEvents4) -> Self
Converts to this type from the input type.
§impl From<IOfflineFilesEvents4> for IOfflineFilesEvents2
impl From<IOfflineFilesEvents4> for IOfflineFilesEvents2
§fn from(value: IOfflineFilesEvents4) -> Self
fn from(value: IOfflineFilesEvents4) -> Self
Converts to this type from the input type.
§impl From<IOfflineFilesEvents4> for IOfflineFilesEvents3
impl From<IOfflineFilesEvents4> for IOfflineFilesEvents3
§fn from(value: IOfflineFilesEvents4) -> Self
fn from(value: IOfflineFilesEvents4) -> Self
Converts to this type from the input type.
§impl From<IOfflineFilesEvents4> for IUnknown
impl From<IOfflineFilesEvents4> for IUnknown
§fn from(value: IOfflineFilesEvents4) -> Self
fn from(value: IOfflineFilesEvents4) -> Self
Converts to this type from the input type.
§impl Interface for IOfflineFilesEvents4
impl Interface for IOfflineFilesEvents4
§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IOfflineFilesEvents4
impl PartialEq for IOfflineFilesEvents4
§fn eq(&self, other: &IOfflineFilesEvents4) -> bool
fn eq(&self, other: &IOfflineFilesEvents4) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IOfflineFilesEvents4
impl StructuralPartialEq for IOfflineFilesEvents4
Auto Trait Implementations§
impl Freeze for IOfflineFilesEvents4
impl RefUnwindSafe for IOfflineFilesEvents4
impl !Send for IOfflineFilesEvents4
impl !Sync for IOfflineFilesEvents4
impl Unpin for IOfflineFilesEvents4
impl UnwindSafe for IOfflineFilesEvents4
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)