Skip to content

Latest commit

 

History

History
103 lines (72 loc) · 3.53 KB

nf-gpedit-igrouppolicyobject-save.md

File metadata and controls

103 lines (72 loc) · 3.53 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NF:gpedit.IGroupPolicyObject.Save
IGroupPolicyObject::Save (gpedit.h)
The Save method saves the specified registry policy settings to disk and updates the revision number of the GPO.
IGroupPolicyObject interface [Group Policy]
Save method
IGroupPolicyObject.Save
IGroupPolicyObject::Save
Save
Save method [Group Policy]
Save method [Group Policy]
IGroupPolicyObject interface
_win32_igrouppolicyobject_save
gpedit/IGroupPolicyObject::Save
policy.igrouppolicyobject_save
policy\igrouppolicyobject_save.htm
Policy
e3713e5f-c710-48f7-8081-f2669c77449d
12/05/2018
IGroupPolicyObject interface [Group Policy],Save method, IGroupPolicyObject.Save, IGroupPolicyObject::Save, Save, Save method [Group Policy], Save method [Group Policy],IGroupPolicyObject interface, _win32_igrouppolicyobject_save, gpedit/IGroupPolicyObject::Save, policy.igrouppolicyobject_save
gpedit.h
Windows
Windows Vista
Windows Server 2008
Gpedit.dll
Windows
19H1
IGroupPolicyObject::Save
gpedit/IGroupPolicyObject::Save
c++
APIRef
kbSyntax
COM
Gpedit.dll
IGroupPolicyObject.Save

IGroupPolicyObject::Save

-description

The Save method saves the specified registry policy settings to disk and updates the revision number of the GPO.

-parameters

-param bMachine [in]

Specifies the registry policy settings to be saved. If this parameter is TRUE, the computer policy settings are saved. Otherwise, the user policy settings are saved.

-param bAdd [in]

Specifies whether this is an add or delete operation. If this parameter is FALSE, the last policy setting for the specified extension pGuidExtension is removed. In all other cases, this parameter is TRUE.

-param pGuidExtension [in]

Specifies the GUID or unique name of the snap-in extension that will process policy. If the GPO is to be processed by the snap-in that processes .pol files, you must specify the REGISTRY_EXTENSION_GUID value.

-param pGuid [in]

Specifies the GUID that identifies the MMC snap-in used to edit this policy. The snap-in can be a Microsoft snap-in or a third-party snap-in.

-returns

If the method succeeds, the return value is S_OK. Otherwise, the method returns one of the COM error codes defined in the Platform SDK header file WinError.h.

-remarks

Note  A policy refresh will be automatically triggered when the user or computer portion of the local Group Policy object is enabled or disabled using the Save method.
 

-see-also

Delete

Group Policy Interfaces

Group Policy Overview

IGroupPolicyObject

New