IRDPViewerInputSink::AddTouchInput method
Accepts a description of a touch input.
Syntax
HRESULT AddTouchInput(
UINT32 contactId,
UINT32 event,
INT32 x,
INT32 y
);
Parameters
- contactId
-
The identifier of the contact that generated the touch input.
- event
-
The event that results from the input.
- x
-
The touch position in the x-axis.
- y
-
The touch position in the y-axis.
Return value
If the method succeeds, the return value is S_OK. Otherwise, the return value is an error code.
Requirements
|
Minimum supported client |
Windows 8.1 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 R2 [desktop apps | Windows Store apps] |
|
Header |
|
|
IDL |
|
|
Type library |
|
|
DLL |
|
See also