Platform SDK: Active Directory, ADSI, and Directory Services |
The AddPages method adds the desired wizard pages to the wizard using the provided callback function.
HRESULT AddPages( LPFNADDPROPSHEETPAGE lpfnAddPage, LPARAM lparam );
If the method is successful, the return value is S_OK.
If an error occurs, the return value is a COM error code. For more information, see Error Handling.
For each page the property sheet handler needs to add to a property sheet, the handler fills a PROPSHEETPAGE structure, calls the CreatePropertySheetPage function and then calls the function specified by the lpfnAddPage parameter.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dsadmin.h.