IGroupPolicyObject::GetPropertySheetPages method (gpedit.h)
The GetPropertySheetPages method retrieves the property sheet pages associated with the GPO.
Syntax
HRESULT GetPropertySheetPages(
[out] HPROPSHEETPAGE **hPages,
[out] UINT *uPageCount
);
Parameters
[out] hPages
Address of the pointer to an array of property sheet pages.
[out] uPageCount
Receives the number of pages in the property sheet array.
Return value
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
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
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | gpedit.h |
DLL | Gpedit.dll |