Platform SDK: Active Directory, ADSI, and Directory Services |
The GetPageCounts method returns the total number of pages the wizard contains as well as the starting index of the extension.
HRESULT SetButtons( LONG *pnTotal, LONG *pnStartIndex );
If the user successfully completes the wizard, the return value is S_OK.
If an error occurs, the return value is a COM error code. For more information, see Error Handling.
This function will provide results based on the count of pages added, using IDsAdminNewObjExt::AddPages(). If there are changes to the number of pages because of page manipulations by Win32 APIs, the return values may not be accurate.
Windows NT/2000: Requires Windows 2000.
Header: Declared in Dsadmin.h.