TF_LANGBARITEMINFO structure (ctfutb.h)

The TF_LANGBARITEMINFO structure is used to hold information about a language bar item.

Syntax

typedef struct TF_LANGBARITEMINFO {
  CLSID clsidService;
  GUID  guidItem;
  DWORD dwStyle;
  ULONG ulSort;
  WCHAR szDescription[32];
} TF_LANGBARITEMINFO;

Members

clsidService

Contains the CLSID of the text service that owns the language bar item. This can be CLSID_NULL if the item is not provided by a text service.

guidItem

Contains a GUID value that identifies the language bar item.

Starting with Windows 8, this value should be GUID_LBI_INPUTMODE (or the language bar item will be ignored). For more information, see Third-party input method editors in the Compatibility cookbook for Windows.

dwStyle

Contains a combination of one or more of the TF_LBI_STYLE_* values.

ulSort

Specifies the sort order of the language bar item, relative to other language bar items owned by the text service. A lower number indicates that the item will be displayed prior to an item with a higher sort number.

This value is only used if clsidService identifies a registered text service. For more information about registering a text service, see ITfInputProcessorProfiles::Register.

szDescription[32]

Contains the description string for the item in Unicode format. The description string is displayed in the language bar options menu for menu items. This buffer can hold up to TF_LBI_DESC_MAXLEN characters.

Requirements

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Header ctfutb.h
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfInputProcessorProfiles::Register

TF_LBI_STYLE_*