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