Share via


IMsTscAdvancedSettings::put_KeyBoardLayoutStr (Windows Embedded CE 6.0)

1/6/2010

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.

Syntax

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 Value

If the method succeeds, the return value is S_OK.

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

Requirements

Header discodlg.h, mstsax.idl
Library Mstsax.lib
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

IMsTscAdvancedSettings