Struct windows::Win32::System::GroupPolicy::IGPMSOM
pub struct IGPMSOM(/* private fields */);
Implementations§
§impl IGPMSOM
impl IGPMSOM
pub unsafe fn GPOInheritanceBlocked(&self) -> Result<VARIANT_BOOL>
pub unsafe fn SetGPOInheritanceBlocked<P0>(&self, newval: P0) -> Result<()>where
P0: IntoParam<VARIANT_BOOL>,
pub unsafe fn Name(&self) -> Result<BSTR>
pub unsafe fn Path(&self) -> Result<BSTR>
pub unsafe fn CreateGPOLink<P0>(
&self,
llinkpos: i32,
pgpo: P0
) -> Result<IGPMGPOLink>where
P0: IntoParam<IGPMGPO>,
pub unsafe fn Type(&self) -> Result<GPMSOMType>
pub unsafe fn GetGPOLinks(&self) -> Result<IGPMGPOLinksCollection>
pub unsafe fn GetInheritedGPOLinks(&self) -> Result<IGPMGPOLinksCollection>
pub unsafe fn GetSecurityInfo(&self) -> Result<IGPMSecurityInfo>
pub unsafe fn SetSecurityInfo<P0>(&self, psecurityinfo: P0) -> Result<()>where
P0: IntoParam<IGPMSecurityInfo>,
Trait Implementations§
§impl Interface for IGPMSOM
impl Interface for IGPMSOM
§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 IGPMSOM
impl StructuralPartialEq for IGPMSOM
Auto Trait Implementations§
impl RefUnwindSafe for IGPMSOM
impl !Send for IGPMSOM
impl !Sync for IGPMSOM
impl Unpin for IGPMSOM
impl UnwindSafe for IGPMSOM
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