ITfLangBarItemMgr::AddItem method (ctfutb.h)
Adds an item to the language bar.
Syntax
HRESULT AddItem(
[in] ITfLangBarItem *punk
);
Parameters
[in] punk
Pointer to the ITfLangBarItem object to add to the language bar.
Starting with Windows 8, only the first item that returns GUID_LBI_INPUTMODE (from GetInfo) is shown. For more information, see Third-party input method editors in the Compatibility cookbook for Windows.
Return value
This method can return one of these values.
Value | Description |
---|---|
|
The method was successful (silently ignored calls also return this status). |
|
An unspecified error occurred. |
|
punk is invalid. |
|
A memory allocation failure occurred. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | ctfutb.h |
DLL | Msctf.dll |
Redistributable | TSF 1.0 on Windows 2000 Professional |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for