IMsRdpClientSecuredSettings::KeyboardHookMode property

Specifies the keyboard redirection settings, which specify how and when to apply Windows keyboard shortcut (for example, ALT+TAB).

This property is read/write.

Syntax

HRESULT put_KeyboardHookMode(
  [in]  LONG keyboardHookMode
);

HRESULT get_KeyboardHookMode(
  [out] LONG *pkeyboardHookMode
);

Property value

The new settings. This parameter can be one of the following values.

0

Apply key combinations only locally at the client computer.

1

Apply key combinations at the remote server.

2

Apply key combinations to the remote server only when the client is running in full-screen mode. This is the default value.

Error codes

Returns S_OK if successful.

Remarks

These properties cannot be set when the control is connected.

Refer to Providing for RDP Client Security for more information.

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_IMsRdpClientSecuredSettings is defined as 605befcf-39c1-45cc-a811-068fb7be346d

See also

IMsRdpClientSecuredSettings