共用方式為


IMsRdpInputSink::AddTouchInput method

Adds touch input.

Syntax

HRESULT AddTouchInput(
  [in] UINT32 contactId,
  [in] UINT32 event,
  [in] INT32  x,
  [in] INT32  y
);

Parameters

  • contactId [in]
    Contact Id.

  • event [in]
    Event

  • x [in]
    x position

  • y [in]
    y 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