Bewerken

Delen via


IMsTscAdvancedSettings::KeyBoardLayoutStr property

Specifies the name of the active input locale identifier (formerly called the keyboard layout) to use for the connection.

If this property is not set, the control uses the default layout returned by the GetKeyboardLayout function.

This property is write-only.

Syntax

HRESULT put_KeyBoardLayoutStr(
  [in] BSTR KeyBoardLayoutStr
);

Property value

The name of the active input locale identifier.

Error codes

Returns S_OK if successful.

Remarks

The property is an eight digit hexadecimal number in string form. The lower four digits represent the language identifier, and the upper four digits represent the keyboard variation within that language. So, for example, "00000409" would represent the default US English keyboard because "0409" is the US English language identifier. The Dvorak variation of the US English keyboard has an identifier of "00010409". You can find the available keyboard layouts, listed by their keyboard layout identifiers, in the registry under

HKEY_LOCAL_MACHINE
   SYSTEM
      ControlSet001
         Control
            Keyboard Layouts

For more information about Remote Desktop Web Connection, see Requirements for Remote Desktop Web Connection.

Requirements

Requirement Value
Minimum supported client
Windows Vista
Minimum supported server
Windows Server 2008
Type library
MsTscAx.dll
DLL
MsTscAx.dll
IID
IID_IMsTscAdvancedSettings is defined as 809945cc-4b3b-4a92-a6b0-dbf9b5f2ef2d

See also

IMsTscAdvancedSettings