Trait windows::Win32::System::GroupPolicy::IGroupPolicyObject_Impl
pub trait IGroupPolicyObject_Impl: Sized {
Show 18 methods
// Required methods
fn New(
&self,
pszdomainname: &PCWSTR,
pszdisplayname: &PCWSTR,
dwflags: u32,
) -> Result<()>;
fn OpenDSGPO(&self, pszpath: &PCWSTR, dwflags: GPO_OPEN_FLAGS) -> Result<()>;
fn OpenLocalMachineGPO(&self, dwflags: GPO_OPEN_FLAGS) -> Result<()>;
fn OpenRemoteMachineGPO(
&self,
pszcomputername: &PCWSTR,
dwflags: GPO_OPEN_FLAGS,
) -> Result<()>;
fn Save(
&self,
bmachine: BOOL,
badd: BOOL,
pguidextension: *mut GUID,
pguid: *mut GUID,
) -> Result<()>;
fn Delete(&self) -> Result<()>;
fn GetName(&self, pszname: PWSTR, cchmaxlength: i32) -> Result<()>;
fn GetDisplayName(&self, pszname: PWSTR, cchmaxlength: i32) -> Result<()>;
fn SetDisplayName(&self, pszname: &PCWSTR) -> Result<()>;
fn GetPath(&self, pszpath: PWSTR, cchmaxlength: i32) -> Result<()>;
fn GetDSPath(
&self,
dwsection: u32,
pszpath: PWSTR,
cchmaxpath: i32,
) -> Result<()>;
fn GetFileSysPath(
&self,
dwsection: u32,
pszpath: PWSTR,
cchmaxpath: i32,
) -> Result<()>;
fn GetRegistryKey(
&self,
dwsection: GPO_SECTION,
hkey: *mut HKEY,
) -> Result<()>;
fn GetOptions(&self, dwoptions: *mut GPO_OPTIONS) -> Result<()>;
fn SetOptions(&self, dwoptions: GPO_OPTIONS, dwmask: u32) -> Result<()>;
fn GetType(&self, gpotype: *mut GROUP_POLICY_OBJECT_TYPE) -> Result<()>;
fn GetMachineName(&self, pszname: PWSTR, cchmaxlength: i32) -> Result<()>;
fn GetPropertySheetPages(
&self,
hpages: *mut *mut HPROPSHEETPAGE,
upagecount: *mut u32,
) -> Result<()>;
}
Required Methods§
fn New( &self, pszdomainname: &PCWSTR, pszdisplayname: &PCWSTR, dwflags: u32, ) -> Result<()>
fn OpenDSGPO(&self, pszpath: &PCWSTR, dwflags: GPO_OPEN_FLAGS) -> Result<()>
fn OpenLocalMachineGPO(&self, dwflags: GPO_OPEN_FLAGS) -> Result<()>
fn OpenRemoteMachineGPO( &self, pszcomputername: &PCWSTR, dwflags: GPO_OPEN_FLAGS, ) -> Result<()>
fn Save( &self, bmachine: BOOL, badd: BOOL, pguidextension: *mut GUID, pguid: *mut GUID, ) -> Result<()>
fn Delete(&self) -> Result<()>
fn GetName(&self, pszname: PWSTR, cchmaxlength: i32) -> Result<()>
fn GetDisplayName(&self, pszname: PWSTR, cchmaxlength: i32) -> Result<()>
fn SetDisplayName(&self, pszname: &PCWSTR) -> Result<()>
fn GetPath(&self, pszpath: PWSTR, cchmaxlength: i32) -> Result<()>
fn GetDSPath( &self, dwsection: u32, pszpath: PWSTR, cchmaxpath: i32, ) -> Result<()>
fn GetFileSysPath( &self, dwsection: u32, pszpath: PWSTR, cchmaxpath: i32, ) -> Result<()>
fn GetRegistryKey(&self, dwsection: GPO_SECTION, hkey: *mut HKEY) -> Result<()>
fn GetOptions(&self, dwoptions: *mut GPO_OPTIONS) -> Result<()>
fn SetOptions(&self, dwoptions: GPO_OPTIONS, dwmask: u32) -> Result<()>
fn GetType(&self, gpotype: *mut GROUP_POLICY_OBJECT_TYPE) -> Result<()>
fn GetMachineName(&self, pszname: PWSTR, cchmaxlength: i32) -> Result<()>
fn GetPropertySheetPages( &self, hpages: *mut *mut HPROPSHEETPAGE, upagecount: *mut u32, ) -> Result<()>
Object Safety§
This trait is not object safe.