ITablet::GetHardwareCaps method
Returns a value that represents the capabilities of the tablet hardware.
Syntax
HRESULT GetHardwareCaps(
[out] DWORD *pdwCaps
);
Parameters
-
pdwCaps [out]
-
Bit flags that represent the capabilities of the tablet hardware.
Return value
This method can return one of these values.
Return code | Description |
---|---|
|
Success. |
|
An unspecified error occurred. |
Remarks
The pdwCaps parameter is a set of bit flags that describe tablet hardware capabilities. The following table describes these flags.
Flag Name | Value | Description |
---|---|---|
THWC_INTEGRATED |
0x00000001 |
Indicates that the display and digitizer share the same surface. |
THWC_CSR_MUST_TOUCH |
0x00000002 |
Indicates that the cursor must be in physical contact with the device to report position. |
THWC_HARD_PROXIMITY |
0x00000004 |
Indicates that the device can generate events when the cursor is entering and leaving the physical detection range. |
THWC_PHYSID_CSRS |
0x00000008 |
Indicates that the device can uniquely identify the active cursor in hardware. |
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows XP Tablet PC Edition [desktop apps only] |
Minimum supported server |
None supported |
Library |
|