| Platform SDK: Group Policy |
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.
typedef struct tag_GPOBROWSEINFO {
DWORD dwSize;
DWORD dwFlags;
HWND hwndOwner;
LPOLESTR lpTitle;
LPOLESTR lpInitialOU;
LPOLESTR lpDSPath;
DWORD dwDSPathSize;
LPOLESTR lpName;
DWORD dwNameSize;
GROUP_POLICY_OBJECT_TYPE gpoType;
GROUP_POLICY_HINT_TYPE gpoHint;
} GPOBROWSEINFO, *LPGPOBROWSEINFO;
| Value | Meaning |
|---|---|
| GPO_BROWSE_DISABLE_NEW | Disables the ability to create a new GPO on any tab other than the All tab. |
| GPO_BROWSE_NOCOMPUTERS | Removes the Computers tab. |
| GPO_BROWSE_NODSGPOS | Removes the Domain/OU and Sites tabs. |
| GPO_BROWSE_OPENBUTTON | Changes the OK button to Open. |
This member can be NULL.
| Value | Meaning |
|---|---|
| GPOTypeLocal | Local |
| GPOTypeRemote | Remote |
| GPOTypeDS | Active Directory |
| Value | Meaning |
|---|---|
| GPHintUnknown | No link information is available. |
| GPHintMachine | The object might be linked to a computer (local or remote). |
| GPHintSite | The object might be linked to a site. |
| GPHintDomain | The object might be linked to a domain. |
| GPHintOrganizationalUnit | The object might be linked to an organizational unit. |
Windows NT/2000: Requires Windows 2000.
Header: Declared in Gpedit.h.
Group Policy Overview, Group Policy Structures, BrowseForGPO