ITablet2::GetDeviceKind method

Returns the type of hardware device the tablet object represents such as mouse, pen or touch.

Syntax

HRESULT GetDeviceKind(
  [out] TABLET_DEVICE_KIND *pKind
);

Parameters

pKind [out]

Enumeration value that indicates the type of tablet such as mouse, pen or touch.

Return value

This method can return one of these values.

Return code Description
S_OK
Success.
E_FAIL
An unspecified error occurred.

Remarks

This interface and method were introduced in Windows Vista.

Requirements

Requirement Value
Minimum supported client
Windows XP Tablet PC Edition [desktop apps only]
Minimum supported server
None supported
Library
Wisptis.exe

See also

ITablet2 Interface

TABLET_DEVICE_KIND Enumeration

ITablet Interface