Platform SDK: Group Policy |
The BrowseForGPO function creates a GPO browser dialog box that lets the user open or create a GPO.
HRESULT BrowseForGPO( LPGPOBROWSEINFO lpBrowseInfo );
If the function succeeds, the return value is S_OK. If the user cancels or closes the dialog box, the return value is HRESULT_FROM_WIN32(ERROR_CANCELLED). Otherwise, the function returns one of the COM error codes defined in the Platform SDK header file WinError.h.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Gpedit.h.
Library: Use Userenv.lib.
Group Policy Overview, Group Policy Functions, GPOBROWSEINFO