Directory Services |
The IDsAdminNewObjExt::AddPages method is called to enable the object creation wizard extension to add the desired pages to the wizard.
HRESULT AddPages( LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lParam );
BOOL fnAddPage(HPROPSHEETPAGE hPage, LPARAM lParam);hPage contains the handle of the wizard page created by calling CreatePropertySheetPage.
lParam is the lParam value passed to AddPages.
For each page, the wizard extension adds to the wizard, the extension fills in a PROPSHEETPAGE structure, calls the CreatePropertySheetPage function to create the page handle and then calls the lpfnAddPage function with the page handle and lParam.
This method is identical in format and operation to the IShellPropSheetExt::AddPages method.
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Header: Declared in Dsadmin.h.
IDsAdminNewObjExt, CreatePropertySheetPage, PROPSHEETPAGE, IShellPropSheetExt::AddPages