Trait windows::Win32::Storage::OfflineFiles::IOfflineFilesCache_Impl
pub trait IOfflineFilesCache_Impl: Sized {
Show 17 methods
// Required methods
fn Synchronize(
&self,
hwndparent: HWND,
rgpszpaths: *const PCWSTR,
cpaths: u32,
basync: BOOL,
dwsynccontrol: u32,
pisyncconflicthandler: Option<&IOfflineFilesSyncConflictHandler>,
piprogress: Option<&IOfflineFilesSyncProgress>,
psyncid: *const GUID,
) -> Result<()>;
fn DeleteItems(
&self,
rgpszpaths: *const PCWSTR,
cpaths: u32,
dwflags: u32,
basync: BOOL,
piprogress: Option<&IOfflineFilesSimpleProgress>,
) -> Result<()>;
fn DeleteItemsForUser(
&self,
pszuser: &PCWSTR,
rgpszpaths: *const PCWSTR,
cpaths: u32,
dwflags: u32,
basync: BOOL,
piprogress: Option<&IOfflineFilesSimpleProgress>,
) -> Result<()>;
fn Pin(
&self,
hwndparent: HWND,
rgpszpaths: *const PCWSTR,
cpaths: u32,
bdeep: BOOL,
basync: BOOL,
dwpincontrolflags: u32,
piprogress: Option<&IOfflineFilesSyncProgress>,
) -> Result<()>;
fn Unpin(
&self,
hwndparent: HWND,
rgpszpaths: *const PCWSTR,
cpaths: u32,
bdeep: BOOL,
basync: BOOL,
dwpincontrolflags: u32,
piprogress: Option<&IOfflineFilesSyncProgress>,
) -> Result<()>;
fn GetEncryptionStatus(
&self,
pbencrypted: *mut BOOL,
pbpartial: *mut BOOL,
) -> Result<()>;
fn Encrypt(
&self,
hwndparent: HWND,
bencrypt: BOOL,
dwencryptioncontrolflags: u32,
basync: BOOL,
piprogress: Option<&IOfflineFilesSyncProgress>,
) -> Result<()>;
fn FindItem(
&self,
pszpath: &PCWSTR,
dwqueryflags: u32,
) -> Result<IOfflineFilesItem>;
fn FindItemEx(
&self,
pszpath: &PCWSTR,
pincludefilefilter: Option<&IOfflineFilesItemFilter>,
pincludedirfilter: Option<&IOfflineFilesItemFilter>,
pexcludefilefilter: Option<&IOfflineFilesItemFilter>,
pexcludedirfilter: Option<&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: Option<&IOfflineFilesSyncProgress>,
punpinprogress: Option<&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: Option<&IOfflineFilesSyncConflictHandler>, piprogress: Option<&IOfflineFilesSyncProgress>, psyncid: *const GUID, ) -> Result<()>
fn DeleteItems( &self, rgpszpaths: *const PCWSTR, cpaths: u32, dwflags: u32, basync: BOOL, piprogress: Option<&IOfflineFilesSimpleProgress>, ) -> Result<()>
fn DeleteItemsForUser( &self, pszuser: &PCWSTR, rgpszpaths: *const PCWSTR, cpaths: u32, dwflags: u32, basync: BOOL, piprogress: Option<&IOfflineFilesSimpleProgress>, ) -> Result<()>
fn Pin( &self, hwndparent: HWND, rgpszpaths: *const PCWSTR, cpaths: u32, bdeep: BOOL, basync: BOOL, dwpincontrolflags: u32, piprogress: Option<&IOfflineFilesSyncProgress>, ) -> Result<()>
fn Unpin( &self, hwndparent: HWND, rgpszpaths: *const PCWSTR, cpaths: u32, bdeep: BOOL, basync: BOOL, dwpincontrolflags: u32, piprogress: Option<&IOfflineFilesSyncProgress>, ) -> Result<()>
fn GetEncryptionStatus( &self, pbencrypted: *mut BOOL, pbpartial: *mut BOOL, ) -> Result<()>
fn Encrypt( &self, hwndparent: HWND, bencrypt: BOOL, dwencryptioncontrolflags: u32, basync: BOOL, piprogress: Option<&IOfflineFilesSyncProgress>, ) -> Result<()>
fn FindItem( &self, pszpath: &PCWSTR, dwqueryflags: u32, ) -> Result<IOfflineFilesItem>
fn FindItemEx( &self, pszpath: &PCWSTR, pincludefilefilter: Option<&IOfflineFilesItemFilter>, pincludedirfilter: Option<&IOfflineFilesItemFilter>, pexcludefilefilter: Option<&IOfflineFilesItemFilter>, pexcludedirfilter: Option<&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: Option<&IOfflineFilesSyncProgress>, punpinprogress: Option<&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<()>
Object Safety§
This trait is not object safe.