windows::Win32::System::GroupPolicy

Trait IGPMSOM_Impl

pub trait IGPMSOM_Impl: IDispatch_Impl {
    // Required methods
    fn GPOInheritanceBlocked(&self) -> Result<VARIANT_BOOL>;
    fn SetGPOInheritanceBlocked(&self, newval: VARIANT_BOOL) -> Result<()>;
    fn Name(&self) -> Result<BSTR>;
    fn Path(&self) -> Result<BSTR>;
    fn CreateGPOLink(
        &self,
        llinkpos: i32,
        pgpo: Ref<'_, IGPMGPO>,
    ) -> Result<IGPMGPOLink>;
    fn Type(&self) -> Result<GPMSOMType>;
    fn GetGPOLinks(&self) -> Result<IGPMGPOLinksCollection>;
    fn GetInheritedGPOLinks(&self) -> Result<IGPMGPOLinksCollection>;
    fn GetSecurityInfo(&self) -> Result<IGPMSecurityInfo>;
    fn SetSecurityInfo(
        &self,
        psecurityinfo: Ref<'_, IGPMSecurityInfo>,
    ) -> Result<()>;
}

Required Methods§

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

fn SetGPOInheritanceBlocked(&self, newval: VARIANT_BOOL) -> Result<()>

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

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

fn Type(&self) -> Result<GPMSOMType>

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

fn SetSecurityInfo( &self, psecurityinfo: Ref<'_, IGPMSecurityInfo>, ) -> Result<()>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§