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::GetSelection method

The ITfCandidateListUIElement::GetSelection method returns the current selection of the candidate list.

Syntax


HRESULT GetSelection(
  [out]  UINT *puIndex
);

Parameters

puIndex [out]

[out] A pointer to receive an index of the current selected candidate string.

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

 

 

Community Additions

Show:
© 2014 Microsoft