Share via


IMsRdpInputSink::SendMouseButtonEvent method

Sends mouse button event.

Syntax

HRESULT SendMouseButtonEvent(
  [in] MouseButtonType buttonType,
  [in] VARIANT_BOOL    vbButtonDown,
  [in] ULONG           xPos,
  [in] ULONG           yPos
);

Parameters

  • buttonType [in]
    Type of button.

  • vbButtonDown [in]
    Whether this is a button down event.

  • xPos [in]
    x-axis position.

  • yPos [in]
    y-axis position.

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

See also

IMsRdpInputSink