IGPMDomain2::CreateStarterGPO method (gpmgmt.h)

Creates and retrieves a GPMStarterGPO object that has a default display name and description. Typically, the caller sets the display name and description immediately after calling this method. The Starter Group Policy object (GPO) ID is generated automatically.

Syntax

HRESULT CreateStarterGPO(
  [out] IGPMStarterGPO **ppnewTemplate
);

Parameters

[out] ppnewTemplate

Address of a pointer to the GPMStarterGPO interface.

Return value

C++

Returns S_OK if successful. Returns a failure code if an error occurs.

JScript

Returns a reference to a GPMStarterGPO object.

VB

Returns a reference to a GPMStarterGPO object.

Requirements

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

See also

IGPMDomain2