Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITfCandidateListUIElement::GetPageIndex method

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

Syntax


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

Parameters

pIndex [out]

[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.

uSize [in]

[in] A buffer size of pIndex.

puPageCnt [out]

[out] A pointer to receive the page count.

Return value

This method can return one of these values.

ValueDescription
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 | Windows Store apps]

Minimum supported server

Windows 2000 Server [desktop apps | Windows Store apps]

Redistributable

TSF 1.0 on Windows 2000 Professional

Header

Msctf.h

IDL

Msctf.idl

DLL

Msctf.dll

 

 

Show:
© 2016 Microsoft