IMsRdpInputSink::SendKeyboardEvent method
Sends keyboard event.
Syntax
HRESULT SendKeyboardEvent(
[in] KbdCodeType codeType,
[in] UINT16 keycode,
[in] VARIANT_BOOL vbKeyUp,
[in] VARIANT_BOOL vbRepeat,
[in] VARIANT_BOOL vbExtended
);
Parameters
codeType [in]
Key code type.keycode [in]
Key code.vbKeyUp [in]
Key up.vbRepeat [in]
Whether this is a repeat.vbExtended [in]
Extended key code.
Return value
If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.
Requirements
Minimum supported client |
Windows 8.1 |
Minimum supported server |
Windows Server 2012 R2 |
Type library |
MsTscAx.dll |
DLL |
MsTscAx.dll |
IID |
IID_IMsRdpInputSink is defined as 4606850E-76A7-4E28-A47E-C7174F619351 |