Trait windows::Win32::System::GroupPolicy::IGPMGPO_Impl

pub trait IGPMGPO_Impl: Sized + IDispatch_Impl {
Show 29 methods // Required methods fn DisplayName(&self) -> Result<BSTR>; fn SetDisplayName(&self, newval: &BSTR) -> Result<()>; fn Path(&self) -> Result<BSTR>; fn ID(&self) -> Result<BSTR>; fn DomainName(&self) -> Result<BSTR>; fn CreationTime(&self) -> Result<f64>; fn ModificationTime(&self) -> Result<f64>; fn UserDSVersionNumber(&self) -> Result<i32>; fn ComputerDSVersionNumber(&self) -> Result<i32>; fn UserSysvolVersionNumber(&self) -> Result<i32>; fn ComputerSysvolVersionNumber(&self) -> Result<i32>; fn GetWMIFilter(&self) -> Result<IGPMWMIFilter>; fn SetWMIFilter(&self, pigpmwmifilter: Option<&IGPMWMIFilter>) -> Result<()>; fn SetUserEnabled(&self, vbenabled: VARIANT_BOOL) -> Result<()>; fn SetComputerEnabled(&self, vbenabled: VARIANT_BOOL) -> Result<()>; fn IsUserEnabled(&self) -> Result<VARIANT_BOOL>; fn IsComputerEnabled(&self) -> Result<VARIANT_BOOL>; fn GetSecurityInfo(&self) -> Result<IGPMSecurityInfo>; fn SetSecurityInfo( &self, psecurityinfo: Option<&IGPMSecurityInfo>, ) -> Result<()>; fn Delete(&self) -> Result<()>; fn Backup( &self, bstrbackupdir: &BSTR, bstrcomment: &BSTR, pvargpmprogress: *const VARIANT, pvargpmcancel: *mut VARIANT, ) -> Result<IGPMResult>; fn Import( &self, lflags: i32, pigpmbackup: Option<&IGPMBackup>, pvarmigrationtable: *const VARIANT, pvargpmprogress: *const VARIANT, pvargpmcancel: *mut VARIANT, ) -> Result<IGPMResult>; fn GenerateReport( &self, gpmreporttype: GPMReportType, pvargpmprogress: *const VARIANT, pvargpmcancel: *mut VARIANT, ) -> Result<IGPMResult>; fn GenerateReportToFile( &self, gpmreporttype: GPMReportType, bstrtargetfilepath: &BSTR, ) -> Result<IGPMResult>; fn CopyTo( &self, lflags: i32, pigpmdomain: Option<&IGPMDomain>, pvarnewdisplayname: *const VARIANT, pvarmigrationtable: *const VARIANT, pvargpmprogress: *const VARIANT, pvargpmcancel: *mut VARIANT, ) -> Result<IGPMResult>; fn SetSecurityDescriptor( &self, lflags: i32, psd: Option<&IDispatch>, ) -> Result<()>; fn GetSecurityDescriptor(&self, lflags: i32) -> Result<IDispatch>; fn IsACLConsistent(&self) -> Result<VARIANT_BOOL>; fn MakeACLConsistent(&self) -> Result<()>;
}

Required Methods§

fn DisplayName(&self) -> Result<BSTR>

fn SetDisplayName(&self, newval: &BSTR) -> Result<()>

fn Path(&self) -> Result<BSTR>

fn ID(&self) -> Result<BSTR>

fn DomainName(&self) -> Result<BSTR>

fn CreationTime(&self) -> Result<f64>

fn ModificationTime(&self) -> Result<f64>

fn UserDSVersionNumber(&self) -> Result<i32>

fn ComputerDSVersionNumber(&self) -> Result<i32>

fn UserSysvolVersionNumber(&self) -> Result<i32>

fn ComputerSysvolVersionNumber(&self) -> Result<i32>

fn GetWMIFilter(&self) -> Result<IGPMWMIFilter>

fn SetWMIFilter(&self, pigpmwmifilter: Option<&IGPMWMIFilter>) -> Result<()>

fn SetUserEnabled(&self, vbenabled: VARIANT_BOOL) -> Result<()>

fn SetComputerEnabled(&self, vbenabled: VARIANT_BOOL) -> Result<()>

fn IsUserEnabled(&self) -> Result<VARIANT_BOOL>

fn IsComputerEnabled(&self) -> Result<VARIANT_BOOL>

fn GetSecurityInfo(&self) -> Result<IGPMSecurityInfo>

fn SetSecurityInfo( &self, psecurityinfo: Option<&IGPMSecurityInfo>, ) -> Result<()>

fn Delete(&self) -> Result<()>

fn Backup( &self, bstrbackupdir: &BSTR, bstrcomment: &BSTR, pvargpmprogress: *const VARIANT, pvargpmcancel: *mut VARIANT, ) -> Result<IGPMResult>

fn Import( &self, lflags: i32, pigpmbackup: Option<&IGPMBackup>, pvarmigrationtable: *const VARIANT, pvargpmprogress: *const VARIANT, pvargpmcancel: *mut VARIANT, ) -> Result<IGPMResult>

fn GenerateReport( &self, gpmreporttype: GPMReportType, pvargpmprogress: *const VARIANT, pvargpmcancel: *mut VARIANT, ) -> Result<IGPMResult>

fn GenerateReportToFile( &self, gpmreporttype: GPMReportType, bstrtargetfilepath: &BSTR, ) -> Result<IGPMResult>

fn CopyTo( &self, lflags: i32, pigpmdomain: Option<&IGPMDomain>, pvarnewdisplayname: *const VARIANT, pvarmigrationtable: *const VARIANT, pvargpmprogress: *const VARIANT, pvargpmcancel: *mut VARIANT, ) -> Result<IGPMResult>

fn SetSecurityDescriptor( &self, lflags: i32, psd: Option<&IDispatch>, ) -> Result<()>

fn GetSecurityDescriptor(&self, lflags: i32) -> Result<IDispatch>

fn IsACLConsistent(&self) -> Result<VARIANT_BOOL>

fn MakeACLConsistent(&self) -> Result<()>

Object Safety§

This trait is not object safe.

Implementors§