IGPMDomain::CreateGPO method (gpmgmt.h)
Creates and retrieves a GPMGPO object with a default display name. Typically, the caller sets the display name immediately after calling this method.
Syntax
HRESULT CreateGPO(
[out] IGPMGPO **ppNewGPO
);
Parameters
[out] ppNewGPO
Address of a pointer to the IGPMGPO interface.
Return value
C++
Returns S_OK if successful. Returns a failure code if an error occurs.JScript
Returns a reference to a GPMGPO object.VB
Returns a reference to a GPMGPO object.Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | gpmgmt.h |
DLL | Gpmgmt.dll |