Version

IsTouchSupported(Boolean,Boolean) Method

Returns a boolean value indicating whether the local machine supports a touch-enabled input digitizer.
Syntax
'Declaration
 
Public Overloads Shared Function IsTouchSupported( _
   ByRef multiInput As Boolean, _
   ByRef deviceReady As Boolean _
) As Boolean
public static bool IsTouchSupported( 
   out bool multiInput,
   out bool deviceReady
)

Parameters

multiInput
[out] Upon return, indicates whether the device supports multiple touch points.
deviceReady
[out] Upon return, indicates whether the device is currently ready for input.

Return Value

A boolean value indicating whether touch input is supported.
Remarks

This method requires unmanaged code permission. If the caller does not have unmanaged code permission, this method returns false.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also