IDsAdminNewObj::GetPageCounts method (dsadmin.h)
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.
Syntax
HRESULT GetPageCounts(
[out] LONG *pnTotal,
[out] LONG *pnStartIndex
);
Parameters
[out] pnTotal
Pointer to a LONG value that receives the total number of pages contained in the wizard.
[out] pnStartIndex
Pointer to a LONG value that receives the zero-based index of the first page of the extension.
Return value
This method can return one of these values.
Returns one of the following values.
Remarks
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.
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows Vista |
Minimum supported server | Windows Server 2008 |
Target Platform | Windows |
Header | dsadmin.h |
DLL | DSAdmin.dll |