Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

172 lines
3.8 KiB

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