tpcshrd.h 3.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  1. //--------------------------------------------------------------------------
  2. //
  3. // Copyright (c) Microsoft Corporation. All rights reserved.
  4. //
  5. // File: tpcshrd.h
  6. // Microsoft Tablet PC API definitions
  7. //
  8. //--------------------------------------------------------------------------
  9. #pragma warning( disable: 4049 ) /* more than 64k source lines */
  10. /* this ALWAYS GENERATED file contains the definitions for the interfaces */
  11. /* File created by MIDL compiler version 6.00.0347 */
  12. /* Compiler settings for tpcshrd.idl:
  13. Oicf, W1, Zp8, env=Win32 (32b run)
  14. protocol : dce , ms_ext, c_ext, robust
  15. error checks: allocation ref bounds_check enum stub_data
  16. VC __declspec() decoration level:
  17. __declspec(uuid()), __declspec(selectany), __declspec(novtable)
  18. DECLSPEC_UUID(), MIDL_INTERFACE()
  19. */
  20. //@@MIDL_FILE_HEADING( )
  21. /* verify that the <rpcndr.h> version is high enough to compile this file*/
  22. #ifndef __REQUIRED_RPCNDR_H_VERSION__
  23. #define __REQUIRED_RPCNDR_H_VERSION__ 475
  24. #endif
  25. #include "rpc.h"
  26. #include "rpcndr.h"
  27. #ifndef __RPCNDR_H_VERSION__
  28. #error this stub requires an updated version of <rpcndr.h>
  29. #endif // __RPCNDR_H_VERSION__
  30. #ifndef __tpcshrd_h__
  31. #define __tpcshrd_h__
  32. #if defined(_MSC_VER) && (_MSC_VER >= 1020)
  33. #pragma once
  34. #endif
  35. /* Forward Declarations */
  36. /* header files for imported files */
  37. #include "wtypes.h"
  38. #ifdef __cplusplus
  39. extern "C"{
  40. #endif
  41. void * __RPC_USER MIDL_user_allocate(size_t);
  42. void __RPC_USER MIDL_user_free( void * );
  43. /* interface __MIDL_itf_tpcshrd_0000 */
  44. /* [local] */
  45. #ifndef __WISPSHRD_H
  46. #define __WISPSHRD_H
  47. #define IP_CURSOR_DOWN 0x00000001
  48. #define IP_INVERTED 0x00000002
  49. #define IP_MARGIN 0x00000004
  50. typedef DWORD CURSOR_ID;
  51. typedef USHORT SYSTEM_EVENT;
  52. typedef DWORD TABLET_CONTEXT_ID;
  53. typedef
  54. enum _PROPERTY_UNITS
  55. { PROPERTY_UNITS_DEFAULT = 0,
  56. PROPERTY_UNITS_INCHES = 1,
  57. PROPERTY_UNITS_CENTIMETERS = 2,
  58. PROPERTY_UNITS_DEGREES = 3,
  59. PROPERTY_UNITS_RADIANS = 4,
  60. PROPERTY_UNITS_SECONDS = 5,
  61. PROPERTY_UNITS_POUNDS = 6,
  62. PROPERTY_UNITS_GRAMS = 7,
  63. PROPERTY_UNITS_SILINEAR = 8,
  64. PROPERTY_UNITS_SIROTATION = 9,
  65. PROPERTY_UNITS_ENGLINEAR = 10,
  66. PROPERTY_UNITS_ENGROTATION = 11,
  67. PROPERTY_UNITS_SLUGS = 12,
  68. PROPERTY_UNITS_KELVIN = 13,
  69. PROPERTY_UNITS_FAHRENHEIT = 14,
  70. PROPERTY_UNITS_AMPERE = 15,
  71. PROPERTY_UNITS_CANDELA = 16
  72. } PROPERTY_UNITS;
  73. typedef enum _PROPERTY_UNITS *PPROPERTY_UNITS;
  74. #ifndef _XFORM_
  75. #define _XFORM_
  76. typedef /* [hidden] */ struct tagXFORM
  77. {
  78. float eM11;
  79. float eM12;
  80. float eM21;
  81. float eM22;
  82. float eDx;
  83. float eDy;
  84. } XFORM;
  85. #endif
  86. typedef struct tagSYSTEM_EVENT_DATA
  87. {
  88. BYTE bModifier;
  89. WCHAR wKey;
  90. LONG xPos;
  91. LONG yPos;
  92. BYTE bCursorMode;
  93. DWORD dwButtonState;
  94. } SYSTEM_EVENT_DATA;
  95. typedef struct tagSTROKE_RANGE
  96. {
  97. ULONG iStrokeBegin;
  98. ULONG iStrokeEnd;
  99. } STROKE_RANGE;
  100. typedef struct _PROPERTY_METRICS
  101. {
  102. LONG nLogicalMin;
  103. LONG nLogicalMax;
  104. PROPERTY_UNITS Units;
  105. FLOAT fResolution;
  106. } PROPERTY_METRICS;
  107. typedef struct _PROPERTY_METRICS *PPROPERTY_METRICS;
  108. typedef struct _PACKET_PROPERTY
  109. {
  110. GUID guid;
  111. PROPERTY_METRICS PropertyMetrics;
  112. } PACKET_PROPERTY;
  113. typedef struct _PACKET_PROPERTY *PPACKET_PROPERTY;
  114. typedef struct _PACKET_DESCRIPTION
  115. {
  116. ULONG cbPacketSize;
  117. ULONG cPacketProperties;
  118. /* [size_is][unique] */ PACKET_PROPERTY *pPacketProperties;
  119. ULONG cButtons;
  120. /* [size_is][unique] */ GUID *pguidButtons;
  121. } PACKET_DESCRIPTION;
  122. typedef struct _PACKET_DESCRIPTION *PPACKET_DESCRIPTION;
  123. #endif // __WISPSHRD_H
  124. extern RPC_IF_HANDLE __MIDL_itf_tpcshrd_0000_v0_0_c_ifspec;
  125. extern RPC_IF_HANDLE __MIDL_itf_tpcshrd_0000_v0_0_s_ifspec;
  126. /* Additional Prototypes for ALL interfaces */
  127. /* end of Additional Prototypes */
  128. #ifdef __cplusplus
  129. }
  130. #endif
  131. #endif