ITfUIElementMgr::GetUIElement method (msctf.h)

The ITfUIElementMgr::GetUIElement method gets the ITfUIElement interface of the element id.

Syntax

HRESULT GetUIElement(
  [in]  DWORD        dwUIELementId,
  [out] ITfUIElement **ppElement
);

Parameters

[in] dwUIELementId

[in] The element id to get the ITfUIElement interface.

[out] ppElement

[out] A pointer to receive ITfUIElement interface.

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

Requirement Value
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