gpedit.h header

This header is used by Group Policy API. For more information, see:

gpedit.h contains the following programming interfaces:

Interfaces

 
IGPEInformation

The IGPEInformation interface provides methods for Microsoft Management Console (MMC) extension snap-ins to communicate with the Group Policy Object Editor. For more information about MMC, see the Microsoft Management Console.
IGroupPolicyObject

The IGroupPolicyObject interface provides methods to create and modify a GPO directly, without using the Group Policy Object Editor.
IRSOPInformation

The IRSOPInformation interface provides methods for Microsoft Management Console (MMC) extension snap-ins to communicate with the main Resultant Set of Policy (RSoP) snap-in. For more information about MMC, see the Microsoft Management Console.

Functions

 
BrowseForGPO

The BrowseForGPO function creates a GPO browser dialog box that allows the user to open or create a GPO.
CreateGPOLink

The CreateGPOLink function creates a link between the specified GPO and the specified site, domain, or organizational unit.
DeleteAllGPOLinks

The DeleteAllGPOLinks function deletes all GPO links for the specified site, domain, or organizational unit.
DeleteGPOLink

The DeleteGPOLink function deletes the link between the specified GPO and the specified site, domain, or organizational unit.
ExportRSoPData

The ExportRSoPData function exports a WMI namespace that contains RSoP information to a data file. The function writes the information to a data file that can be imported to a WMI namespace with a call to the ImportRSoPData function.
ImportRSoPData

The ImportRSoPData function imports a data file containing RSoP data to a WMI namespace. The file must be one generated by a call to the ExportRSoPData function.

Structures

 
GPOBROWSEINFO

The GPOBROWSEINFO structure contains information that the BrowseForGPO function uses to initialize a GPO browser dialog box. After the user closes the dialog box, the system returns information about the user's actions in this structure.