ITfInputProcessorProfiles::SubstituteKeyboardLayout method

Syntax

HRESULT SubstituteKeyboardLayout(
  REFCLSID rclsid,
  LANGID   langid,
  REFGUID  guidProfile,
  HKL      hKL
);

Parameters

rclsid

Contains the CLSID of the text service of the profile in question.

langid

Contains a LANGID value that specifies the language of the profile in question.

guidProfile

Contains a GUID value that identifies the profile in question.

hKL

Contains an HKL value that specifies the input locale identifier for the substitute keyboard. Obtain this value by calling LoadKeyboardLayout.

Return Value

This method can return one of these values.

Value Description
S_OK
The method was successful.
E_FAIL
An unspecified error occurred.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header msctf.h
DLL Msctf.dll
Redistributable TSF 1.0 on Windows 2000 Professional

See Also

ITfInputProcessorProfiles

LoadKeyboardLayout