Trait windows::Win32::Storage::FileHistory::IFhConfigMgr_Impl
pub trait IFhConfigMgr_Impl: Sized {
Show 14 methods
// Required methods
fn LoadConfiguration(&self) -> Result<()>;
fn CreateDefaultConfiguration(&self, overwriteifexists: BOOL) -> Result<()>;
fn SaveConfiguration(&self) -> Result<()>;
fn AddRemoveExcludeRule(
&self,
add: BOOL,
category: FH_PROTECTED_ITEM_CATEGORY,
item: &BSTR,
) -> Result<()>;
fn GetIncludeExcludeRules(
&self,
include: BOOL,
category: FH_PROTECTED_ITEM_CATEGORY,
) -> Result<IFhScopeIterator>;
fn GetLocalPolicy(
&self,
localpolicytype: FH_LOCAL_POLICY_TYPE,
) -> Result<u64>;
fn SetLocalPolicy(
&self,
localpolicytype: FH_LOCAL_POLICY_TYPE,
policyvalue: u64,
) -> Result<()>;
fn GetBackupStatus(&self) -> Result<FH_BACKUP_STATUS>;
fn SetBackupStatus(&self, backupstatus: FH_BACKUP_STATUS) -> Result<()>;
fn GetDefaultTarget(&self) -> Result<IFhTarget>;
fn ValidateTarget(
&self,
targeturl: &BSTR,
) -> Result<FH_DEVICE_VALIDATION_RESULT>;
fn ProvisionAndSetNewTarget(
&self,
targeturl: &BSTR,
targetname: &BSTR,
) -> Result<()>;
fn ChangeDefaultTargetRecommendation(&self, recommend: BOOL) -> Result<()>;
fn QueryProtectionStatus(
&self,
protectionstate: *mut u32,
protecteduntiltime: *mut BSTR,
) -> Result<()>;
}
Required Methods§
fn LoadConfiguration(&self) -> Result<()>
fn CreateDefaultConfiguration(&self, overwriteifexists: BOOL) -> Result<()>
fn SaveConfiguration(&self) -> Result<()>
fn AddRemoveExcludeRule( &self, add: BOOL, category: FH_PROTECTED_ITEM_CATEGORY, item: &BSTR, ) -> Result<()>
fn GetIncludeExcludeRules( &self, include: BOOL, category: FH_PROTECTED_ITEM_CATEGORY, ) -> Result<IFhScopeIterator>
fn GetLocalPolicy(&self, localpolicytype: FH_LOCAL_POLICY_TYPE) -> Result<u64>
fn SetLocalPolicy( &self, localpolicytype: FH_LOCAL_POLICY_TYPE, policyvalue: u64, ) -> Result<()>
fn GetBackupStatus(&self) -> Result<FH_BACKUP_STATUS>
fn SetBackupStatus(&self, backupstatus: FH_BACKUP_STATUS) -> Result<()>
fn GetDefaultTarget(&self) -> Result<IFhTarget>
fn ValidateTarget( &self, targeturl: &BSTR, ) -> Result<FH_DEVICE_VALIDATION_RESULT>
fn ProvisionAndSetNewTarget( &self, targeturl: &BSTR, targetname: &BSTR, ) -> Result<()>
fn ChangeDefaultTargetRecommendation(&self, recommend: BOOL) -> Result<()>
fn QueryProtectionStatus( &self, protectionstate: *mut u32, protecteduntiltime: *mut BSTR, ) -> Result<()>
Object Safety§
This trait is not object safe.