Directory Services |
The IDsAdminNewObj::GetPageCounts method obtains the total number of pages in the wizard as well as the index of the first page of the extension.
HRESULT GetPageCounts( LONG* pnTotal, LONG* pnStartIndex );
Returns one of the following values.
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 supplied values may not be accurate. If this method is called in response to the IDsAdminNewObjExt::SetObject method, the supplied page counts are most likely to be accurate.
Client: Included in Windows XP and
Windows 2000 Professional.
Server: Included in Windows Server 2003 and
Windows 2000 Server.
Header: Declared in Dsadmin.h.
IDsAdminNewObj, IDsAdminNewObjExt::AddPages, IDsAdminNewObjExt::SetObject