Counter Strike : Global Offensive Source Code
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.

181 lines
6.2 KiB

  1. /* --------------------------------- proc.h --------------------------------- */
  2. #include <windows.h>
  3. #include <wintab.h>
  4. #define T_WTInfoA UINT
  5. #define K_WTInfoA API
  6. #define P_WTInfoA (UINT a, UINT b, LPVOID c)
  7. #define A_WTInfoA (a,b,c)
  8. #define T_WTInfoW UINT
  9. #define K_WTInfoW API
  10. #define P_WTInfoW (UINT a, UINT b, LPVOID c)
  11. #define A_WTInfoW (a,b,c)
  12. #define T_WTOpenA HCTX
  13. #define K_WTOpenA API
  14. #define P_WTOpenA (HWND a, LPLOGCONTEXTA b, BOOL c)
  15. #define A_WTOpenA (a,b,c)
  16. #define T_WTOpenW HCTX
  17. #define K_WTOpenW API
  18. #define P_WTOpenW (HWND a, LPLOGCONTEXTW b, BOOL c)
  19. #define A_WTOpenW (a,b,c)
  20. #define T_WTClose BOOL
  21. #define K_WTClose API
  22. #define P_WTClose (HCTX a)
  23. #define A_WTClose (a)
  24. #define T_WTPacketsGet int
  25. #define K_WTPacketsGet API
  26. #define P_WTPacketsGet (HCTX a, int b, LPVOID c)
  27. #define A_WTPacketsGet (a,b,c)
  28. #define T_WTPacket BOOL
  29. #define K_WTPacket API
  30. #define P_WTPacket (HCTX a, UINT b, LPVOID c)
  31. #define A_WTPacket (a,b,c)
  32. #define T_WTEnable BOOL
  33. #define K_WTEnable API
  34. #define P_WTEnable (HCTX a, BOOL b)
  35. #define A_WTEnable (a,b)
  36. #define T_WTOverlap BOOL
  37. #define K_WTOverlap API
  38. #define P_WTOverlap (HCTX a, BOOL b)
  39. #define A_WTOverlap (a,b)
  40. #define T_WTConfig BOOL
  41. #define K_WTConfig API
  42. #define P_WTConfig (HCTX a, HWND b)
  43. #define A_WTConfig (a,b)
  44. #define T_WTGetA BOOL
  45. #define K_WTGetA API
  46. #define P_WTGetA (HCTX a, LPLOGCONTEXTA b)
  47. #define A_WTGetA (a,b)
  48. #define T_WTGetW BOOL
  49. #define K_WTGetW API
  50. #define P_WTGetW (HCTX a, LPLOGCONTEXTW b)
  51. #define A_WTGetW (a,b)
  52. #define T_WTSetA BOOL
  53. #define K_WTSetA API
  54. #define P_WTSetA (HCTX a, LPLOGCONTEXTA b)
  55. #define A_WTSetA (a,b)
  56. #define T_WTSetW BOOL
  57. #define K_WTSetW API
  58. #define P_WTSetW (HCTX a, LPLOGCONTEXTW b)
  59. #define A_WTSetW (a,b)
  60. #define T_WTExtGet BOOL
  61. #define K_WTExtGet API
  62. #define P_WTExtGet (HCTX a, UINT b, LPVOID c)
  63. #define A_WTExtGet (a,b,c)
  64. #define T_WTExtSet BOOL
  65. #define K_WTExtSet API
  66. #define P_WTExtSet (HCTX a, UINT b, LPVOID c)
  67. #define A_WTExtSet (a,b,c)
  68. #define T_WTSave BOOL
  69. #define K_WTSave API
  70. #define P_WTSave (HCTX a, LPVOID b)
  71. #define A_WTSave (a,b)
  72. #define T_WTRestore HCTX
  73. #define K_WTRestore API
  74. #define P_WTRestore (HWND a, LPVOID b, BOOL c)
  75. #define A_WTRestore (a,b,c)
  76. #define T_WTPacketsPeek int
  77. #define K_WTPacketsPeek API
  78. #define P_WTPacketsPeek (HCTX a, int b, LPVOID c)
  79. #define A_WTPacketsPeek (a,b,c)
  80. #define T_WTDataGet int
  81. #define K_WTDataGet API
  82. #define P_WTDataGet (HCTX a, UINT b, UINT c, int d, LPVOID e, LPINT f)
  83. #define A_WTDataGet (a,b,c,d,e,f)
  84. #define T_WTDataPeek int
  85. #define K_WTDataPeek API
  86. #define P_WTDataPeek (HCTX a, UINT b, UINT c, int d, LPVOID e, LPINT f)
  87. #define A_WTDataPeek (a,b,c,d,e,f)
  88. #define T_WTQueuePacketsEx BOOL
  89. #define K_WTQueuePacketsEx API
  90. #define P_WTQueuePacketsEx (HCTX a, UINT FAR * b, UINT FAR * c)
  91. #define A_WTQueuePacketsEx (a,b,c)
  92. #define T_WTQueueSizeGet int
  93. #define K_WTQueueSizeGet API
  94. #define P_WTQueueSizeGet (HCTX a)
  95. #define A_WTQueueSizeGet (a)
  96. #define T_WTQueueSizeSet int
  97. #define K_WTQueueSizeSet API
  98. #define P_WTQueueSizeSet (HCTX a, int b)
  99. #define A_WTQueueSizeSet (a,b)
  100. #define T_WTMgrOpen HMGR
  101. #define K_WTMgrOpen API
  102. #define P_WTMgrOpen (HWND a, UINT b)
  103. #define A_WTMgrOpen (a,b)
  104. #define T_WTMgrClose BOOL
  105. #define K_WTMgrClose API
  106. #define P_WTMgrClose (HMGR a)
  107. #define A_WTMgrClose (a)
  108. #define T_WTMgrContextEnum BOOL
  109. #define K_WTMgrContextEnum API
  110. #define P_WTMgrContextEnum (HMGR a, WTENUMPROC b, LPARAM c)
  111. #define A_WTMgrContextEnum (a,b,c)
  112. #define T_WTMgrContextOwner HWND
  113. #define K_WTMgrContextOwner API
  114. #define P_WTMgrContextOwner (HMGR a, HCTX b)
  115. #define A_WTMgrContextOwner (a,b)
  116. #define T_WTMgrDefContext HCTX
  117. #define K_WTMgrDefContext API
  118. #define P_WTMgrDefContext (HMGR a, BOOL b)
  119. #define A_WTMgrDefContext (a,b)
  120. #define T_WTMgrDefContextEx HCTX
  121. #define K_WTMgrDefContextEx API
  122. #define P_WTMgrDefContextEx (HMGR a, UINT b, BOOL c)
  123. #define A_WTMgrDefContextEx (a,b,c)
  124. #define T_WTMgrDeviceConfig UINT
  125. #define K_WTMgrDeviceConfig API
  126. #define P_WTMgrDeviceConfig (HMGR a, UINT b, HWND c)
  127. #define A_WTMgrDeviceConfig (a,b,c)
  128. #define T_WTMgrConfigReplaceExA BOOL
  129. #define K_WTMgrConfigReplaceExA API
  130. #define P_WTMgrConfigReplaceExA (HMGR a, int b, LPSTR c, LPSTR d)
  131. #define A_WTMgrConfigReplaceExA (a,b,c,d)
  132. #define T_WTMgrConfigReplaceExW BOOL
  133. #define K_WTMgrConfigReplaceExW API
  134. #define P_WTMgrConfigReplaceExW (HMGR a, int b, LPWSTR c, LPSTR d)
  135. #define A_WTMgrConfigReplaceExW (a,b,c,d)
  136. #define T_WTMgrPacketHookExA HWTHOOK
  137. #define K_WTMgrPacketHookExA API
  138. #define P_WTMgrPacketHookExA (HMGR a, int b, LPSTR c, LPSTR d)
  139. #define A_WTMgrPacketHookExA (a,b,c,d)
  140. #define T_WTMgrPacketHookExW HWTHOOK
  141. #define K_WTMgrPacketHookExW API
  142. #define P_WTMgrPacketHookExW (HMGR a, int b, LPWSTR c, LPSTR d)
  143. #define A_WTMgrPacketHookExW (a,b,c,d)
  144. #define T_WTMgrPacketUnhook BOOL
  145. #define K_WTMgrPacketUnhook API
  146. #define P_WTMgrPacketUnhook (HWTHOOK a)
  147. #define A_WTMgrPacketUnhook (a)
  148. #define T_WTMgrPacketHookNext LRESULT
  149. #define K_WTMgrPacketHookNext API
  150. #define P_WTMgrPacketHookNext (HWTHOOK a, int b, WPARAM c, LPARAM d)
  151. #define A_WTMgrPacketHookNext (a,b,c,d)
  152. #define T_WTMgrExt BOOL
  153. #define K_WTMgrExt API
  154. #define P_WTMgrExt (HMGR a, UINT b, LPVOID c)
  155. #define A_WTMgrExt (a,b,c)
  156. #define T_WTMgrCsrEnable BOOL
  157. #define K_WTMgrCsrEnable API
  158. #define P_WTMgrCsrEnable (HMGR a, UINT b, BOOL c)
  159. #define A_WTMgrCsrEnable (a,b,c)
  160. #define T_WTMgrCsrButtonMap BOOL
  161. #define K_WTMgrCsrButtonMap API
  162. #define P_WTMgrCsrButtonMap (HMGR a, UINT b, LPBYTE c, LPBYTE d)
  163. #define A_WTMgrCsrButtonMap (a,b,c,d)
  164. #define T_WTMgrCsrPressureBtnMarks BOOL
  165. #define K_WTMgrCsrPressureBtnMarks API
  166. #define P_WTMgrCsrPressureBtnMarks (HMGR a, UINT b, DWORD c, DWORD d)
  167. #define A_WTMgrCsrPressureBtnMarks (a,b,c,d)
  168. #define T_WTMgrCsrPressureBtnMarksEx BOOL
  169. #define K_WTMgrCsrPressureBtnMarksEx API
  170. #define P_WTMgrCsrPressureBtnMarksEx (HMGR a, UINT b, UINT FAR * c, UINT FAR * d)
  171. #define A_WTMgrCsrPressureBtnMarksEx (a,b,c,d)
  172. #define T_WTMgrCsrPressureResponse BOOL
  173. #define K_WTMgrCsrPressureResponse API
  174. #define P_WTMgrCsrPressureResponse (HMGR a, UINT b, UINT FAR * c, UINT FAR * d)
  175. #define A_WTMgrCsrPressureResponse (a,b,c,d)
  176. #define T_WTMgrCsrExt BOOL
  177. #define K_WTMgrCsrExt API
  178. #define P_WTMgrCsrExt (HMGR a, UINT b, UINT c, LPVOID d)
  179. #define A_WTMgrCsrExt (a,b,c,d)
  180.