Partager via


IMsRdpClientSecuredSettings::put_KeyboardHookMode (Windows Embedded CE 6.0)

1/6/2010

This method sets the keyboard redirection settings, which specify how and when to apply Windows key combinations, such as ALT+TAB.

Syntax

HRESULT put_KeyboardHookMode( 
    LONG keyboardHookMode
);

Parameters

  • keyboardHookMode
    [in] Specifies the new keyboard redirection settings. It 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.

Return Value

Returns S_OK if successful.

Remarks

The KeyboardHookMode property cannot be set while the Remote Desktop ActiveX control is connected.

Requirements

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

See Also

Reference

IMsRdpClientSecuredSettings