IMsTscAdvancedSettings::put_KeyBoardLayoutStr

This method sets the value of the KeyBoardLayoutStr property, a string that specifies the name of the active input locale identifier (formerly called the keyboard layout) to use for the connection.

HRESULT put_KeyBoardLayoutStr(
  BSTR KeyBoardLayoutStr
);

Parameters

  • KeyBoardLayoutStr
    [in] A string representing the new value for the KeyBoardLayoutStr property. The string has the same format as the one returned by the GetKeyboardLayoutName function. If this property is not set, the control uses the default layout returned by the GetKeyboardLayout function.

Return Values

If the method succeeds, the return value is S_OK.

If it fails, the method returns a nonzero error code.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Discodlg.h. Mstsax.idl.
Link Library: Mstsax.lib.

See Also

IMsTscAdvancedSettings

 Last updated on Saturday, April 10, 2004

© 1992-2003 Microsoft Corporation. All rights reserved.