Platform SDK: Group Policy

IGroupPolicyObject::GetPropertySheetPages

Retrieves the property sheet pages associated with the GPO.

HRESULT GetPropertySheetPages(
  HPROPSHEETPAGE **hPages,
  UINT *uPageCount
);

Parameters

hPages
Address of the pointer to the array of property sheet pages.
uPageCount
Receives the number of pages in the array.

Return Values

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

Remarks

This method allocates memory for the array with the LocalAlloc function. When you are finished with the property sheet pages, free the array using the LocalFree function.

Requirements

  Windows NT/2000: Requires Windows 2000.
  Header: Declared in Gpedit.h.

See Also

Group Policy Overview, Group Policy Interfaces, IGroupPolicyObject