Struct windows::Win32::System::GroupPolicy::IGPMConstants2
pub struct IGPMConstants2(/* private fields */);
Implementations§
§impl IGPMConstants2
impl IGPMConstants2
pub unsafe fn BackupTypeGPO(&self) -> Result<GPMBackupType>
pub unsafe fn BackupTypeStarterGPO(&self) -> Result<GPMBackupType>
pub unsafe fn StarterGPOTypeSystem(&self) -> Result<GPMStarterGPOType>
pub unsafe fn StarterGPOTypeCustom(&self) -> Result<GPMStarterGPOType>
pub unsafe fn SearchPropertyStarterGPOPermissions( &self, ) -> Result<GPMSearchProperty>
pub unsafe fn SearchPropertyStarterGPOEffectivePermissions( &self, ) -> Result<GPMSearchProperty>
pub unsafe fn SearchPropertyStarterGPODisplayName( &self, ) -> Result<GPMSearchProperty>
pub unsafe fn SearchPropertyStarterGPOID(&self) -> Result<GPMSearchProperty>
pub unsafe fn SearchPropertyStarterGPODomain(&self) -> Result<GPMSearchProperty>
pub unsafe fn PermStarterGPORead(&self) -> Result<GPMPermissionType>
pub unsafe fn PermStarterGPOEdit(&self) -> Result<GPMPermissionType>
pub unsafe fn PermStarterGPOFullControl(&self) -> Result<GPMPermissionType>
pub unsafe fn PermStarterGPOCustom(&self) -> Result<GPMPermissionType>
pub unsafe fn ReportLegacy(&self) -> Result<GPMReportingOptions>
pub unsafe fn ReportComments(&self) -> Result<GPMReportingOptions>
Methods from Deref<Target = IGPMConstants>§
pub unsafe fn PermGPOApply(&self) -> Result<GPMPermissionType>
pub unsafe fn PermGPORead(&self) -> Result<GPMPermissionType>
pub unsafe fn PermGPOEdit(&self) -> Result<GPMPermissionType>
pub unsafe fn PermGPOEditSecurityAndDelete(&self) -> Result<GPMPermissionType>
pub unsafe fn PermGPOCustom(&self) -> Result<GPMPermissionType>
pub unsafe fn PermWMIFilterEdit(&self) -> Result<GPMPermissionType>
pub unsafe fn PermWMIFilterFullControl(&self) -> Result<GPMPermissionType>
pub unsafe fn PermWMIFilterCustom(&self) -> Result<GPMPermissionType>
pub unsafe fn PermSOMLink(&self) -> Result<GPMPermissionType>
pub unsafe fn PermSOMLogging(&self) -> Result<GPMPermissionType>
pub unsafe fn PermSOMPlanning(&self) -> Result<GPMPermissionType>
pub unsafe fn PermSOMGPOCreate(&self) -> Result<GPMPermissionType>
pub unsafe fn PermSOMWMICreate(&self) -> Result<GPMPermissionType>
pub unsafe fn PermSOMWMIFullControl(&self) -> Result<GPMPermissionType>
pub unsafe fn SearchPropertyGPOPermissions(&self) -> Result<GPMSearchProperty>
pub unsafe fn SearchPropertyGPOEffectivePermissions( &self, ) -> Result<GPMSearchProperty>
pub unsafe fn SearchPropertyGPODisplayName(&self) -> Result<GPMSearchProperty>
pub unsafe fn SearchPropertyGPOWMIFilter(&self) -> Result<GPMSearchProperty>
pub unsafe fn SearchPropertyGPOID(&self) -> Result<GPMSearchProperty>
pub unsafe fn SearchPropertyGPOComputerExtensions( &self, ) -> Result<GPMSearchProperty>
pub unsafe fn SearchPropertyGPOUserExtensions( &self, ) -> Result<GPMSearchProperty>
pub unsafe fn SearchPropertySOMLinks(&self) -> Result<GPMSearchProperty>
pub unsafe fn SearchPropertyGPODomain(&self) -> Result<GPMSearchProperty>
pub unsafe fn SearchPropertyBackupMostRecent(&self) -> Result<GPMSearchProperty>
pub unsafe fn SearchOpEquals(&self) -> Result<GPMSearchOperation>
pub unsafe fn SearchOpContains(&self) -> Result<GPMSearchOperation>
pub unsafe fn SearchOpNotContains(&self) -> Result<GPMSearchOperation>
pub unsafe fn SearchOpNotEquals(&self) -> Result<GPMSearchOperation>
pub unsafe fn UsePDC(&self) -> Result<i32>
pub unsafe fn UseAnyDC(&self) -> Result<i32>
pub unsafe fn DoNotUseW2KDC(&self) -> Result<i32>
pub unsafe fn SOMSite(&self) -> Result<GPMSOMType>
pub unsafe fn SOMDomain(&self) -> Result<GPMSOMType>
pub unsafe fn SOMOU(&self) -> Result<GPMSOMType>
pub unsafe fn get_SecurityFlags<P0, P1, P2, P3>(
&self,
vbowner: P0,
vbgroup: P1,
vbdacl: P2,
vbsacl: P3,
) -> Result<i32>where
P0: Param<VARIANT_BOOL>,
P1: Param<VARIANT_BOOL>,
P2: Param<VARIANT_BOOL>,
P3: Param<VARIANT_BOOL>,
pub unsafe fn DoNotValidateDC(&self) -> Result<i32>
pub unsafe fn ReportHTML(&self) -> Result<GPMReportType>
pub unsafe fn ReportXML(&self) -> Result<GPMReportType>
pub unsafe fn RSOPModeUnknown(&self) -> Result<GPMRSOPMode>
pub unsafe fn RSOPModePlanning(&self) -> Result<GPMRSOPMode>
pub unsafe fn RSOPModeLogging(&self) -> Result<GPMRSOPMode>
pub unsafe fn EntryTypeUser(&self) -> Result<GPMEntryType>
pub unsafe fn EntryTypeComputer(&self) -> Result<GPMEntryType>
pub unsafe fn EntryTypeLocalGroup(&self) -> Result<GPMEntryType>
pub unsafe fn EntryTypeGlobalGroup(&self) -> Result<GPMEntryType>
pub unsafe fn EntryTypeUniversalGroup(&self) -> Result<GPMEntryType>
pub unsafe fn EntryTypeUNCPath(&self) -> Result<GPMEntryType>
pub unsafe fn EntryTypeUnknown(&self) -> Result<GPMEntryType>
pub unsafe fn DestinationOptionSameAsSource( &self, ) -> Result<GPMDestinationOption>
pub unsafe fn DestinationOptionNone(&self) -> Result<GPMDestinationOption>
pub unsafe fn DestinationOptionByRelativeName( &self, ) -> Result<GPMDestinationOption>
pub unsafe fn DestinationOptionSet(&self) -> Result<GPMDestinationOption>
pub unsafe fn MigrationTableOnly(&self) -> Result<i32>
pub unsafe fn ProcessSecurity(&self) -> Result<i32>
pub unsafe fn RsopLoggingNoComputer(&self) -> Result<i32>
pub unsafe fn RsopLoggingNoUser(&self) -> Result<i32>
pub unsafe fn RsopPlanningAssumeSlowLink(&self) -> Result<i32>
pub unsafe fn get_RsopPlanningLoopbackOption<P0>(
&self,
vbmerge: P0,
) -> Result<i32>where
P0: Param<VARIANT_BOOL>,
pub unsafe fn RsopPlanningAssumeUserWQLFilterTrue(&self) -> Result<i32>
pub unsafe fn RsopPlanningAssumeCompWQLFilterTrue(&self) -> Result<i32>
Methods from Deref<Target = IDispatch>§
pub unsafe fn GetTypeInfoCount(&self) -> Result<u32>
pub unsafe fn GetTypeInfo(&self, itinfo: u32, lcid: u32) -> Result<ITypeInfo>
pub unsafe fn GetIDsOfNames( &self, riid: *const GUID, rgsznames: *const PCWSTR, cnames: u32, lcid: u32, rgdispid: *mut i32, ) -> Result<()>
pub unsafe fn Invoke( &self, dispidmember: i32, riid: *const GUID, lcid: u32, wflags: DISPATCH_FLAGS, pdispparams: *const DISPPARAMS, pvarresult: Option<*mut VARIANT>, pexcepinfo: Option<*mut EXCEPINFO>, puargerr: Option<*mut u32>, ) -> Result<()>
Trait Implementations§
§impl CanInto<IGPMConstants> for IGPMConstants2
impl CanInto<IGPMConstants> for IGPMConstants2
§impl CanInto<IUnknown> for IGPMConstants2
impl CanInto<IUnknown> for IGPMConstants2
§impl Clone for IGPMConstants2
impl Clone for IGPMConstants2
§fn clone(&self) -> IGPMConstants2
fn clone(&self) -> IGPMConstants2
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IGPMConstants2
impl Debug for IGPMConstants2
§impl Deref for IGPMConstants2
impl Deref for IGPMConstants2
§impl From<&IGPMConstants2> for &IDispatch
impl From<&IGPMConstants2> for &IDispatch
§fn from(value: &IGPMConstants2) -> Self
fn from(value: &IGPMConstants2) -> Self
Converts to this type from the input type.
§impl From<&IGPMConstants2> for &IGPMConstants
impl From<&IGPMConstants2> for &IGPMConstants
§fn from(value: &IGPMConstants2) -> Self
fn from(value: &IGPMConstants2) -> Self
Converts to this type from the input type.
§impl From<&IGPMConstants2> for &IUnknown
impl From<&IGPMConstants2> for &IUnknown
§fn from(value: &IGPMConstants2) -> Self
fn from(value: &IGPMConstants2) -> Self
Converts to this type from the input type.
§impl From<IGPMConstants2> for IDispatch
impl From<IGPMConstants2> for IDispatch
§fn from(value: IGPMConstants2) -> Self
fn from(value: IGPMConstants2) -> Self
Converts to this type from the input type.
§impl From<IGPMConstants2> for IGPMConstants
impl From<IGPMConstants2> for IGPMConstants
§fn from(value: IGPMConstants2) -> Self
fn from(value: IGPMConstants2) -> Self
Converts to this type from the input type.
§impl From<IGPMConstants2> for IUnknown
impl From<IGPMConstants2> for IUnknown
§fn from(value: IGPMConstants2) -> Self
fn from(value: IGPMConstants2) -> Self
Converts to this type from the input type.
§impl Interface for IGPMConstants2
impl Interface for IGPMConstants2
§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 more§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. Read more§fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn is_object<T>(&self) -> boolwhere
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl
, not the inner &MyApp
object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
T: ComObjectInner,
<T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any
]. It returns a reference to the “outer”
object, e.g. MyApp_Impl
, not the inner MyApp
object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak
] reference to this object.§impl PartialEq for IGPMConstants2
impl PartialEq for IGPMConstants2
§fn eq(&self, other: &IGPMConstants2) -> bool
fn eq(&self, other: &IGPMConstants2) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IGPMConstants2
impl StructuralPartialEq for IGPMConstants2
Auto Trait Implementations§
impl Freeze for IGPMConstants2
impl RefUnwindSafe for IGPMConstants2
impl !Send for IGPMConstants2
impl !Sync for IGPMConstants2
impl Unpin for IGPMConstants2
impl UnwindSafe for IGPMConstants2
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)