ITfFnConfigureRegisterWord::Show method (ctffunc.h)

Called to cause the text service to display a dialog box to register a word with the text service.

Syntax

HRESULT Show(
  [in] HWND    hwndParent,
  [in] LANGID  langid,
  [in] REFGUID rguidProfile,
  [in] BSTR    bstrRegistered
);

Parameters

[in] hwndParent

Handle of the parent window. The text service typically uses this as the parent or owner window when creating the dialog box.

[in] langid

Contains a LANGID that specifies the identifier of the language currently used by the Input Method Editor (IME).

[in] rguidProfile

Contains a GUID that specifies the language profile identifier that the text service is under. This is the value specified in ITfInputProcessorProfiles::AddLanguageProfile when the profile was added.

[in] bstrRegistered

Contains a BSTR that contains the word to be registered with the text service. This is optional and can be NULL. If NULL, the text service should display a default register word dialog box.

Return value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_NOTIMPL
The text service does not implement this method.

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 ctffunc.h
DLL Imekrcic.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See also

ITfFnConfigureRegisterWord

ITfInputProcessorProfiles::AddLanguageProfile