Trait windows::Win32::System::GroupPolicy::IGPMStarterGPO_Impl
pub trait IGPMStarterGPO_Impl: Sized + IDispatch_Impl {
Show 21 methods
// Required methods
fn DisplayName(&self) -> Result<BSTR>;
fn SetDisplayName(&self, newval: &BSTR) -> Result<()>;
fn Description(&self) -> Result<BSTR>;
fn SetDescription(&self, newval: &BSTR) -> Result<()>;
fn Author(&self) -> Result<BSTR>;
fn Product(&self) -> Result<BSTR>;
fn CreationTime(&self) -> Result<f64>;
fn ID(&self) -> Result<BSTR>;
fn ModifiedTime(&self) -> Result<f64>;
fn Type(&self) -> Result<GPMStarterGPOType>;
fn ComputerVersion(&self) -> Result<u16>;
fn UserVersion(&self) -> Result<u16>;
fn StarterGPOVersion(&self) -> Result<BSTR>;
fn Delete(&self) -> Result<()>;
fn Save(
&self,
bstrsavefile: &BSTR,
boverwrite: VARIANT_BOOL,
bsaveassystem: VARIANT_BOOL,
bstrlanguage: *const VARIANT,
bstrauthor: *const VARIANT,
bstrproduct: *const VARIANT,
bstruniqueid: *const VARIANT,
bstrversion: *const VARIANT,
pvargpmprogress: *const VARIANT,
pvargpmcancel: *mut VARIANT,
) -> Result<IGPMResult>;
fn Backup(
&self,
bstrbackupdir: &BSTR,
bstrcomment: &BSTR,
pvargpmprogress: *const VARIANT,
pvargpmcancel: *mut VARIANT,
) -> Result<IGPMResult>;
fn CopyTo(
&self,
pvarnewdisplayname: *const VARIANT,
pvargpmprogress: *const VARIANT,
pvargpmcancel: *const VARIANT,
) -> Result<IGPMResult>;
fn GenerateReport(
&self,
gpmreporttype: GPMReportType,
pvargpmprogress: *const VARIANT,
pvargpmcancel: *const VARIANT,
) -> Result<IGPMResult>;
fn GenerateReportToFile(
&self,
gpmreporttype: GPMReportType,
bstrtargetfilepath: &BSTR,
) -> Result<IGPMResult>;
fn GetSecurityInfo(&self) -> Result<IGPMSecurityInfo>;
fn SetSecurityInfo(
&self,
psecurityinfo: Option<&IGPMSecurityInfo>,
) -> Result<()>;
}
Required Methods§
fn DisplayName(&self) -> Result<BSTR>
fn SetDisplayName(&self, newval: &BSTR) -> Result<()>
fn Description(&self) -> Result<BSTR>
fn SetDescription(&self, newval: &BSTR) -> Result<()>
fn Author(&self) -> Result<BSTR>
fn Product(&self) -> Result<BSTR>
fn CreationTime(&self) -> Result<f64>
fn ID(&self) -> Result<BSTR>
fn ModifiedTime(&self) -> Result<f64>
fn Type(&self) -> Result<GPMStarterGPOType>
fn ComputerVersion(&self) -> Result<u16>
fn UserVersion(&self) -> Result<u16>
fn StarterGPOVersion(&self) -> Result<BSTR>
fn Delete(&self) -> Result<()>
fn Save( &self, bstrsavefile: &BSTR, boverwrite: VARIANT_BOOL, bsaveassystem: VARIANT_BOOL, bstrlanguage: *const VARIANT, bstrauthor: *const VARIANT, bstrproduct: *const VARIANT, bstruniqueid: *const VARIANT, bstrversion: *const VARIANT, pvargpmprogress: *const VARIANT, pvargpmcancel: *mut VARIANT, ) -> Result<IGPMResult>
fn Backup( &self, bstrbackupdir: &BSTR, bstrcomment: &BSTR, pvargpmprogress: *const VARIANT, pvargpmcancel: *mut VARIANT, ) -> Result<IGPMResult>
fn CopyTo( &self, pvarnewdisplayname: *const VARIANT, pvargpmprogress: *const VARIANT, pvargpmcancel: *const VARIANT, ) -> Result<IGPMResult>
fn GenerateReport( &self, gpmreporttype: GPMReportType, pvargpmprogress: *const VARIANT, pvargpmcancel: *const VARIANT, ) -> Result<IGPMResult>
fn GenerateReportToFile( &self, gpmreporttype: GPMReportType, bstrtargetfilepath: &BSTR, ) -> Result<IGPMResult>
fn GetSecurityInfo(&self) -> Result<IGPMSecurityInfo>
fn SetSecurityInfo( &self, psecurityinfo: Option<&IGPMSecurityInfo>, ) -> Result<()>
Object Safety§
This trait is not object safe.