ITfCandidateListUIElement::GetPageIndex method (msctf.h)

The ITfCandidateListUIElement::GetPageIndex method returns the page index of the list.

Syntax

HRESULT GetPageIndex(
  [out] UINT *pIndex,
  [in]  UINT uSize,
  [out] UINT *puPageCnt
);

Parameters

[out] pIndex

[out] A pointer that receives an array of the indexes that each page starts from. This can be NULL. The caller calls this method with NULL for this parameter first to get the number of pages in puPageCnt and allocates the buffer to receive indexes for all pages.

[in] uSize

[in] A buffer size of pIndex.

[out] puPageCnt

[out] A pointer to receive the page count.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
An unspecified error occurred.
E_INVALIDARG
One or more parameters are invalid.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps | UWP apps]
Minimum supported server Windows 2000 Server [desktop apps | UWP apps]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional