ホーム › UI.TabletPC › TabletHardwareCapabilities
TabletHardwareCapabilities
列挙型メンバー 4
| 名前 | 10進 | 16進 | 説明 |
|---|---|---|---|
| THWC_Integrated | 1 | 0x1 | デジタイザーがディスプレイと一体化しています。 |
| THWC_CursorMustTouch | 2 | 0x2 | 位置を報告するには、カーソルがデバイスに物理的に接触している必要があります。 |
| THWC_HardProximity | 4 | 0x4 | カーソルがデバイスの物理的な検出範囲 (近接範囲) 内にある場合、デバイスは空中パケットを生成できます。 |
| THWC_CursorsHavePhysicalIds | 8 | 0x8 | デバイスはアクティブなカーソルを一意に識別できます。 |
公式ドキュメント
Tablet PC のハードウェア機能を指定します。
解説(Remarks)
C++ では、複数のフラグを同時に設定しようとする場合、明示的なキャストが必要です。明示的なキャストを使用しないとコンパイルエラーが発生します。
タブレットデバイスがこの情報を提供できない場合、値は 0 になります。
この列挙型はフラグです。
出典・ライセンス: 上記「公式ドキュメント」の内容は Microsoft の Win32 API ドキュメント(MicrosoftDocs/sdk-api)を日本語に翻訳・改変したものです。© Microsoft Corporation. CC BY 4.0 で提供。
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
Microsoft 公式リファレンス: 英語 (en-us) · 日本語 (ja-jp) · 原文ソース (GitHub)
各言語での定義
列挙メンバーの定義。HSP タブは #define global(値は16進)。
typedef enum TabletHardwareCapabilities : int {
THWC_Integrated = 1,
THWC_CursorMustTouch = 2,
THWC_HardProximity = 4,
THWC_CursorsHavePhysicalIds = 8
} TabletHardwareCapabilities;public enum TabletHardwareCapabilities : int
{
THWC_Integrated = 1,
THWC_CursorMustTouch = 2,
THWC_HardProximity = 4,
THWC_CursorsHavePhysicalIds = 8,
}Public Enum TabletHardwareCapabilities As Integer
THWC_Integrated = 1
THWC_CursorMustTouch = 2
THWC_HardProximity = 4
THWC_CursorsHavePhysicalIds = 8
End Enumimport enum
class TabletHardwareCapabilities(enum.IntEnum):
THWC_Integrated = 1
THWC_CursorMustTouch = 2
THWC_HardProximity = 4
THWC_CursorsHavePhysicalIds = 8// TabletHardwareCapabilities
pub const THWC_Integrated: i32 = 1;
pub const THWC_CursorMustTouch: i32 = 2;
pub const THWC_HardProximity: i32 = 4;
pub const THWC_CursorsHavePhysicalIds: i32 = 8;// TabletHardwareCapabilities
const (
THWC_Integrated int32 = 1
THWC_CursorMustTouch int32 = 2
THWC_HardProximity int32 = 4
THWC_CursorsHavePhysicalIds int32 = 8
)const
THWC_Integrated = 1;
THWC_CursorMustTouch = 2;
THWC_HardProximity = 4;
THWC_CursorsHavePhysicalIds = 8;// TabletHardwareCapabilities
pub const THWC_Integrated: i32 = 1;
pub const THWC_CursorMustTouch: i32 = 2;
pub const THWC_HardProximity: i32 = 4;
pub const THWC_CursorsHavePhysicalIds: i32 = 8;const
THWC_Integrated* = 1
THWC_CursorMustTouch* = 2
THWC_HardProximity* = 4
THWC_CursorsHavePhysicalIds* = 8enum TabletHardwareCapabilities : int {
THWC_Integrated = 1,
THWC_CursorMustTouch = 2,
THWC_HardProximity = 4,
THWC_CursorsHavePhysicalIds = 8,
}#define global THWC_Integrated 0x1
#define global THWC_CursorMustTouch 0x2
#define global THWC_HardProximity 0x4
#define global THWC_CursorsHavePhysicalIds 0x8