Struct windows::Win32::System::GroupPolicy::IGPMGPO2
pub struct IGPMGPO2(/* private fields */);
Implementations§
§impl IGPMGPO2
impl IGPMGPO2
pub unsafe fn DisplayName(&self) -> Result<BSTR>
pub unsafe fn SetDisplayName<P0>(&self, newval: P0) -> Result<()>where
P0: IntoParam<BSTR>,
pub unsafe fn Path(&self) -> Result<BSTR>
pub unsafe fn ID(&self) -> Result<BSTR>
pub unsafe fn DomainName(&self) -> Result<BSTR>
pub unsafe fn CreationTime(&self) -> Result<f64>
pub unsafe fn ModificationTime(&self) -> Result<f64>
pub unsafe fn UserDSVersionNumber(&self) -> Result<i32>
pub unsafe fn ComputerDSVersionNumber(&self) -> Result<i32>
pub unsafe fn UserSysvolVersionNumber(&self) -> Result<i32>
pub unsafe fn ComputerSysvolVersionNumber(&self) -> Result<i32>
pub unsafe fn GetWMIFilter(&self) -> Result<IGPMWMIFilter>
pub unsafe fn SetWMIFilter<P0>(&self, pigpmwmifilter: P0) -> Result<()>where
P0: IntoParam<IGPMWMIFilter>,
pub unsafe fn SetUserEnabled<P0>(&self, vbenabled: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn SetComputerEnabled<P0>(&self, vbenabled: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn IsUserEnabled(&self) -> Result<VARIANT_BOOL>
pub unsafe fn IsComputerEnabled(&self) -> Result<VARIANT_BOOL>
pub unsafe fn GetSecurityInfo(&self) -> Result<IGPMSecurityInfo>
pub unsafe fn SetSecurityInfo<P0>(&self, psecurityinfo: P0) -> Result<()>where
P0: IntoParam<IGPMSecurityInfo>,
pub unsafe fn Delete(&self) -> Result<()>
pub unsafe fn Backup<P0, P1>( &self, bstrbackupdir: P0, bstrcomment: P1, pvargpmprogress: *const VARIANT, pvargpmcancel: *mut VARIANT ) -> Result<IGPMResult>
pub unsafe fn Import<P0>(
&self,
lflags: i32,
pigpmbackup: P0,
pvarmigrationtable: *const VARIANT,
pvargpmprogress: *const VARIANT,
pvargpmcancel: *mut VARIANT
) -> Result<IGPMResult>where
P0: IntoParam<IGPMBackup>,
pub unsafe fn GenerateReport( &self, gpmreporttype: GPMReportType, pvargpmprogress: *const VARIANT, pvargpmcancel: *mut VARIANT ) -> Result<IGPMResult>
pub unsafe fn GenerateReportToFile<P0>(
&self,
gpmreporttype: GPMReportType,
bstrtargetfilepath: P0
) -> Result<IGPMResult>where
P0: IntoParam<BSTR>,
pub unsafe fn CopyTo<P0>(
&self,
lflags: i32,
pigpmdomain: P0,
pvarnewdisplayname: *const VARIANT,
pvarmigrationtable: *const VARIANT,
pvargpmprogress: *const VARIANT,
pvargpmcancel: *mut VARIANT
) -> Result<IGPMResult>where
P0: IntoParam<IGPMDomain>,
pub unsafe fn SetSecurityDescriptor<P0>(
&self,
lflags: i32,
psd: P0
) -> Result<()>where
P0: IntoParam<IDispatch>,
pub unsafe fn GetSecurityDescriptor(&self, lflags: i32) -> Result<IDispatch>
pub unsafe fn IsACLConsistent(&self) -> Result<VARIANT_BOOL>
pub unsafe fn MakeACLConsistent(&self) -> Result<()>
pub unsafe fn Description(&self) -> Result<BSTR>
pub unsafe fn SetDescription<P0>(&self, newval: P0) -> Result<()>where
P0: IntoParam<BSTR>,
Trait Implementations§
§impl Interface for IGPMGPO2
impl Interface for IGPMGPO2
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read moreimpl Eq for IGPMGPO2
impl StructuralPartialEq for IGPMGPO2
Auto Trait Implementations§
impl RefUnwindSafe for IGPMGPO2
impl !Send for IGPMGPO2
impl !Sync for IGPMGPO2
impl Unpin for IGPMGPO2
impl UnwindSafe for IGPMGPO2
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more