IGPM::GetConstants method (gpmgmt.h)
Creates and returns a GPMConstants object that allows you to retrieve the value of multiple Group Policy Management Console (GPMC) constants.
Syntax
HRESULT GetConstants(
[out] IGPMConstants **ppIGPMConstants
);
Parameters
[out] ppIGPMConstants
Address of a pointer to the IGPMConstants interface.
Return value
C++
Returns S_OK if successful. Returns a failure code if an error occurs.JScript
Returns a reference to a GPMConstants object.VB
Returns a reference to a GPMConstants object.Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | gpmgmt.h |
DLL | Gpmgmt.dll |