windows::Win32::Storage::OfflineFiles

Trait IOfflineFilesCache_Impl

pub trait IOfflineFilesCache_Impl: IUnknownImpl {
Show 17 methods // Required methods fn Synchronize( &self, hwndparent: HWND, rgpszpaths: *const PCWSTR, cpaths: u32, basync: BOOL, dwsynccontrol: u32, pisyncconflicthandler: Ref<'_, IOfflineFilesSyncConflictHandler>, piprogress: Ref<'_, IOfflineFilesSyncProgress>, psyncid: *const GUID, ) -> Result<()>; fn DeleteItems( &self, rgpszpaths: *const PCWSTR, cpaths: u32, dwflags: u32, basync: BOOL, piprogress: Ref<'_, IOfflineFilesSimpleProgress>, ) -> Result<()>; fn DeleteItemsForUser( &self, pszuser: &PCWSTR, rgpszpaths: *const PCWSTR, cpaths: u32, dwflags: u32, basync: BOOL, piprogress: Ref<'_, IOfflineFilesSimpleProgress>, ) -> Result<()>; fn Pin( &self, hwndparent: HWND, rgpszpaths: *const PCWSTR, cpaths: u32, bdeep: BOOL, basync: BOOL, dwpincontrolflags: u32, piprogress: Ref<'_, IOfflineFilesSyncProgress>, ) -> Result<()>; fn Unpin( &self, hwndparent: HWND, rgpszpaths: *const PCWSTR, cpaths: u32, bdeep: BOOL, basync: BOOL, dwpincontrolflags: u32, piprogress: Ref<'_, IOfflineFilesSyncProgress>, ) -> Result<()>; fn GetEncryptionStatus( &self, pbencrypted: *mut BOOL, pbpartial: *mut BOOL, ) -> Result<()>; fn Encrypt( &self, hwndparent: HWND, bencrypt: BOOL, dwencryptioncontrolflags: u32, basync: BOOL, piprogress: Ref<'_, IOfflineFilesSyncProgress>, ) -> Result<()>; fn FindItem( &self, pszpath: &PCWSTR, dwqueryflags: u32, ) -> Result<IOfflineFilesItem>; fn FindItemEx( &self, pszpath: &PCWSTR, pincludefilefilter: Ref<'_, IOfflineFilesItemFilter>, pincludedirfilter: Ref<'_, IOfflineFilesItemFilter>, pexcludefilefilter: Ref<'_, IOfflineFilesItemFilter>, pexcludedirfilter: Ref<'_, IOfflineFilesItemFilter>, dwqueryflags: u32, ) -> Result<IOfflineFilesItem>; fn RenameItem( &self, pszpathoriginal: &PCWSTR, pszpathnew: &PCWSTR, breplaceifexists: BOOL, ) -> Result<()>; fn GetLocation(&self) -> Result<PWSTR>; fn GetDiskSpaceInformation( &self, pcbvolumetotal: *mut u64, pcblimit: *mut u64, pcbused: *mut u64, pcbunpinnedlimit: *mut u64, pcbunpinnedused: *mut u64, ) -> Result<()>; fn SetDiskSpaceLimits( &self, cblimit: u64, cbunpinnedlimit: u64, ) -> Result<()>; fn ProcessAdminPinPolicy( &self, ppinprogress: Ref<'_, IOfflineFilesSyncProgress>, punpinprogress: Ref<'_, IOfflineFilesSyncProgress>, ) -> Result<()>; fn GetSettingObject( &self, pszsettingname: &PCWSTR, ) -> Result<IOfflineFilesSetting>; fn EnumSettingObjects(&self) -> Result<IEnumOfflineFilesSettings>; fn IsPathCacheable( &self, pszpath: &PCWSTR, pbcacheable: *mut BOOL, psharecachingmode: *mut OFFLINEFILES_CACHING_MODE, ) -> Result<()>;
}

Required Methods§

fn Synchronize( &self, hwndparent: HWND, rgpszpaths: *const PCWSTR, cpaths: u32, basync: BOOL, dwsynccontrol: u32, pisyncconflicthandler: Ref<'_, IOfflineFilesSyncConflictHandler>, piprogress: Ref<'_, IOfflineFilesSyncProgress>, psyncid: *const GUID, ) -> Result<()>

fn DeleteItems( &self, rgpszpaths: *const PCWSTR, cpaths: u32, dwflags: u32, basync: BOOL, piprogress: Ref<'_, IOfflineFilesSimpleProgress>, ) -> Result<()>

fn DeleteItemsForUser( &self, pszuser: &PCWSTR, rgpszpaths: *const PCWSTR, cpaths: u32, dwflags: u32, basync: BOOL, piprogress: Ref<'_, IOfflineFilesSimpleProgress>, ) -> Result<()>

fn Pin( &self, hwndparent: HWND, rgpszpaths: *const PCWSTR, cpaths: u32, bdeep: BOOL, basync: BOOL, dwpincontrolflags: u32, piprogress: Ref<'_, IOfflineFilesSyncProgress>, ) -> Result<()>

fn Unpin( &self, hwndparent: HWND, rgpszpaths: *const PCWSTR, cpaths: u32, bdeep: BOOL, basync: BOOL, dwpincontrolflags: u32, piprogress: Ref<'_, IOfflineFilesSyncProgress>, ) -> Result<()>

fn GetEncryptionStatus( &self, pbencrypted: *mut BOOL, pbpartial: *mut BOOL, ) -> Result<()>

fn Encrypt( &self, hwndparent: HWND, bencrypt: BOOL, dwencryptioncontrolflags: u32, basync: BOOL, piprogress: Ref<'_, IOfflineFilesSyncProgress>, ) -> Result<()>

fn FindItem( &self, pszpath: &PCWSTR, dwqueryflags: u32, ) -> Result<IOfflineFilesItem>

fn FindItemEx( &self, pszpath: &PCWSTR, pincludefilefilter: Ref<'_, IOfflineFilesItemFilter>, pincludedirfilter: Ref<'_, IOfflineFilesItemFilter>, pexcludefilefilter: Ref<'_, IOfflineFilesItemFilter>, pexcludedirfilter: Ref<'_, IOfflineFilesItemFilter>, dwqueryflags: u32, ) -> Result<IOfflineFilesItem>

fn RenameItem( &self, pszpathoriginal: &PCWSTR, pszpathnew: &PCWSTR, breplaceifexists: BOOL, ) -> Result<()>

fn GetLocation(&self) -> Result<PWSTR>

fn GetDiskSpaceInformation( &self, pcbvolumetotal: *mut u64, pcblimit: *mut u64, pcbused: *mut u64, pcbunpinnedlimit: *mut u64, pcbunpinnedused: *mut u64, ) -> Result<()>

fn SetDiskSpaceLimits(&self, cblimit: u64, cbunpinnedlimit: u64) -> Result<()>

fn ProcessAdminPinPolicy( &self, ppinprogress: Ref<'_, IOfflineFilesSyncProgress>, punpinprogress: Ref<'_, IOfflineFilesSyncProgress>, ) -> Result<()>

fn GetSettingObject( &self, pszsettingname: &PCWSTR, ) -> Result<IOfflineFilesSetting>

fn EnumSettingObjects(&self) -> Result<IEnumOfflineFilesSettings>

fn IsPathCacheable( &self, pszpath: &PCWSTR, pbcacheable: *mut BOOL, psharecachingmode: *mut OFFLINEFILES_CACHING_MODE, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§