EN
Il contenuto non è disponibile nella lingua di destinazione, ma solo in inglese.

IGroupPolicyObject::GetPropertySheetPages method

The GetPropertySheetPages method retrieves the property sheet pages associated with the GPO.

Syntax


HRESULT GetPropertySheetPages(
  [out]  HPROPSHEETPAGE **hPages,
  [out]  UINT *uPageCount
);

Parameters

hPages [out]

Address of the pointer to an array of property sheet pages.

uPageCount [out]

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

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Gpedit.h

DLL

Gpedit.dll

IID

IID_IGroupPolicyObject is defined as EA502723-A23D-11d1-A7D3-0000F87571E3

See also

Group Policy Overview
Group Policy Interfaces
IGroupPolicyObject

 

 

Mostra:
© 2014 Microsoft