IGPMConstants2 interface (gpmgmt.h)

The IGPMConstants2 interface supports methods that retrieve the value of multiple Group Policy Management Console (GPMC) constants. The constants that are supported by IGPMConstants2 provide Starter Group Policy object (GPO) and comment support. To create a GPMConstants2 object, call the IGPM::GetConstants method.

The GPMConstants object that implements the IGPMConstants2 interface does not introduce new constants. All the constant values and the enumeration types that are returned by the GPMConstants object can be found in either the GPMC header file (Gpmgmt.idl or Gpmgmt.h) or in the GPMC type library that is embedded in the Gpmgmt.dll dynamic-link library. Use the GPMConstants object only if you do not have access to the header or to the type library.


The IGPMConstants2 interface inherits from the IGPMConstants interface.


For more information about policy-related permissions, see IGPM::CreatePermission (GPM.CreatePermission).


Requirement Value
Minimum supported client Windows Vista
Minimum supported server Windows Server 2008
Target Platform Windows
Header gpmgmt.h

See also