APISysConstants.au3 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391
  1. #include-once
  2. ; #INDEX# =======================================================================================================================
  3. ; Title .........: WinAPISys Constants UDF Library for AutoIt3
  4. ; AutoIt Version : 3.3.14.5
  5. ; Language ......: English
  6. ; Description ...: Constants that can be used with UDF library
  7. ; Author(s) .....: Yashied, Jpm
  8. ; ===============================================================================================================================
  9. ; #CONSTANTS# ===================================================================================================================
  10. ; _WinAPI_ActivateKeyboardLayout(), _WinAPI_LoadKeyboardLayout()
  11. Global Const $KLF_ACTIVATE = 0x00000001
  12. Global Const $KLF_NOTELLSHELL = 0x00000080
  13. Global Const $KLF_REORDER = 0x00000008
  14. Global Const $KLF_REPLACELANG = 0x00000010
  15. Global Const $KLF_RESET = 0x40000000
  16. Global Const $KLF_SETFORPROCESS = 0x00000100
  17. Global Const $KLF_SHIFTLOCK = 0x00010000
  18. Global Const $KLF_SUBSTITUTE_OK = 0x00000002
  19. Global Const $HKL_NEXT = 1
  20. Global Const $HKL_PREV = 0
  21. ; _WinAPI_AnimateWindow()
  22. Global Const $AW_ACTIVATE = 0x00020000
  23. Global Const $AW_BLEND = 0x00080000
  24. Global Const $AW_CENTER = 0x00000010
  25. Global Const $AW_HIDE = 0x00010000
  26. Global Const $AW_HOR_NEGATIVE = 0x00000002
  27. Global Const $AW_HOR_POSITIVE = 0x00000001
  28. Global Const $AW_SLIDE = 0x00040000
  29. Global Const $AW_VER_NEGATIVE = 0x00000008
  30. Global Const $AW_VER_POSITIVE = 0x00000004
  31. ; _WinAPI_BroadcastSystemMessage()
  32. Global Const $BSF_ALLOWSFW = 0x0080
  33. Global Const $BSF_FLUSHDISK = 0x0004
  34. Global Const $BSF_FORCEIFHUNG = 0x0020
  35. Global Const $BSF_IGNORECURRENTTASK = 0x0002
  36. Global Const $BSF_NOHANG = 0x0008
  37. Global Const $BSF_NOTIMEOUTIFNOTHUNG = 0x0040
  38. Global Const $BSF_POSTMESSAGE = 0x0010
  39. Global Const $BSF_QUERY = 0x0001
  40. Global Const $BSF_SENDNOTIFYMESSAGE = 0x0100
  41. Global Const $BSM_ALLCOMPONENTS = 0x00
  42. Global Const $BSM_ALLDESKTOPS = 0x08
  43. Global Const $BSM_APPLICATIONS = 0x10
  44. Global Const $BSM_INSTALLABLEDRIVERS = 0x04
  45. Global Const $BSM_NETDRIVER = 0x02
  46. Global Const $BSM_VXDS = 0x01
  47. ; _WinAPI_CascadeWindows(), _WinAPI_TileWindows()
  48. Global Const $MDITILE_HORIZONTAL = 0x01
  49. Global Const $MDITILE_SKIPDISABLED = 0x02
  50. Global Const $MDITILE_VERTICAL = 0x00
  51. Global Const $MDITILE_ZORDER = 0x04
  52. ; _WinAPI_ChangeWindowMessageFilterEx()
  53. Global Const $MSGFLT_ALLOW = 1
  54. Global Const $MSGFLT_DISALLOW = 2
  55. Global Const $MSGFLT_RESET = 0
  56. Global Const $MSGFLTINFO_ALLOWED_HIGHER = 3
  57. Global Const $MSGFLTINFO_ALREADYALLOWED_FORWND = 1
  58. Global Const $MSGFLTINFO_ALREADYDISALLOWED_FORWND = 2
  59. Global Const $MSGFLTINFO_NONE = 0
  60. ; _WinAPI_ChildWindowFromPointEx()
  61. Global Const $CWP_ALL = 0x00
  62. Global Const $CWP_SKIPINVISIBLE = 0x01
  63. Global Const $CWP_SKIPDISABLED = 0x02
  64. Global Const $CWP_SKIPTRANSPARENT = 0x04
  65. ; _WinAPI_CompressBuffer(), _WinAPI_DecompressBuffer(), _WinAPI_GetCompression(), _WinAPI_SetCompression()
  66. Global Const $COMPRESSION_FORMAT_NONE = 0x0000
  67. Global Const $COMPRESSION_FORMAT_DEFAULT = 0x0001
  68. Global Const $COMPRESSION_FORMAT_LZNT1 = 0x0002
  69. Global Const $COMPRESSION_FORMAT_XPRESS = 0x0003
  70. Global Const $COMPRESSION_FORMAT_XPRESS_HUFF = 0x0004
  71. Global Const $COMPRESSION_ENGINE_STANDARD = 0x0000
  72. Global Const $COMPRESSION_ENGINE_MAXIMUM = 0x0100
  73. Global Const $COMPRESSION_ENGINE_HIBER = 0x0200
  74. ; _WinAPI_CreateWindowStation(), _WinAPI_OpenWindowStation()
  75. Global Const $WINSTA_ACCESSCLIPBOARD = 0x0004
  76. Global Const $WINSTA_ACCESSGLOBALATOMS = 0x0020
  77. Global Const $WINSTA_CREATEDESKTOP = 0x0008
  78. Global Const $WINSTA_ENUMDESKTOPS = 0x0001
  79. Global Const $WINSTA_ENUMERATE = 0x0100
  80. Global Const $WINSTA_EXITWINDOWS = 0x0040
  81. Global Const $WINSTA_READATTRIBUTES = 0x0002
  82. Global Const $WINSTA_READSCREEN = 0x0200
  83. Global Const $WINSTA_WRITEATTRIBUTES = 0x0010
  84. Global Const $WINSTA_ALL_ACCESS = BitOR($WINSTA_ACCESSCLIPBOARD, $WINSTA_ACCESSGLOBALATOMS, $WINSTA_CREATEDESKTOP, $WINSTA_ENUMDESKTOPS, $WINSTA_ENUMERATE, $WINSTA_EXITWINDOWS, $WINSTA_READATTRIBUTES, $WINSTA_READSCREEN, $WINSTA_WRITEATTRIBUTES)
  85. Global Const $CWF_CREATE_ONLY = 0x01
  86. ; _WinAPI_GetClassLongEx(), _WinAPI_SetClassLongEx()
  87. Global Const $GCL_CBCLSEXTRA = -20
  88. Global Const $GCL_CBWNDEXTRA = -18
  89. Global Const $GCL_HBRBACKGROUND = -10
  90. Global Const $GCL_HCURSOR = -12
  91. Global Const $GCL_HICON = -14
  92. Global Const $GCL_HICONSM = -34
  93. Global Const $GCL_HMODULE = -16
  94. Global Const $GCL_MENUNAME = -8
  95. Global Const $GCL_STYLE = -26
  96. Global Const $GCL_WNDPROC = -24
  97. ; _WinAPI_GetCurrentHwProfile()
  98. Global Const $DOCKINFO_DOCKED = 0x02
  99. Global Const $DOCKINFO_UNDOCKED = 0x01
  100. Global Const $DOCKINFO_USER_SUPPLIED = 0x04
  101. Global Const $DOCKINFO_USER_DOCKED = 0x05
  102. Global Const $DOCKINFO_USER_UNDOCKED = 0x06
  103. ; _WinAPI_GetGUIThreadInfo()
  104. Global Const $GUI_CARETBLINKING = 0x0001
  105. Global Const $GUI_INMENUMODE = 0x0004
  106. Global Const $GUI_INMOVESIZE = 0x0002
  107. Global Const $GUI_POPUPMENUMODE = 0x0010
  108. Global Const $GUI_SYSTEMMENUMODE = 0x0008
  109. ; _WinAPI_GetHandleInformation(), _WinAPI_SetHandleInformation()
  110. Global Const $HANDLE_FLAG_INHERIT = 0x00000001
  111. Global Const $HANDLE_FLAG_PROTECT_FROM_CLOSE = 0x00000002
  112. ; _WinAPI_GetModuleHandleEx()
  113. Global Const $GET_MODULE_HANDLE_EX_FLAG_FROM_ADDRESS = 0x0004
  114. Global Const $GET_MODULE_HANDLE_EX_FLAG_PIN = 0x0001
  115. Global Const $GET_MODULE_HANDLE_EX_FLAG_UNCHANGED_REFCOUNT = 0x0002
  116. Global Const $GET_MODULE_HANDLE_EX_FLAG_DEFAULT = 0x0000
  117. ; _WinAPI_GetSystemInfo()
  118. Global Const $PROCESSOR_ARCHITECTURE_AMD64 = 9
  119. Global Const $PROCESSOR_ARCHITECTURE_IA64 = 6
  120. Global Const $PROCESSOR_ARCHITECTURE_INTEL = 0
  121. Global Const $PROCESSOR_ARCHITECTURE_UNKNOWN = 0xFFFF
  122. Global Const $PROCESSOR_INTEL_386 = 386
  123. Global Const $PROCESSOR_INTEL_486 = 486
  124. Global Const $PROCESSOR_INTEL_PENTIUM = 586
  125. Global Const $PROCESSOR_INTEL_IA64 = 2200
  126. Global Const $PROCESSOR_AMD_X8664 = 8664
  127. ; _WinAPI_GetUserObjectInformation(), _WinAPI_SetUserObjectInformation()
  128. Global Const $UOI_FLAGS = 1
  129. Global Const $UOI_HEAPSIZE = 5
  130. Global Const $UOI_IO = 6
  131. Global Const $UOI_NAME = 2
  132. Global Const $UOI_TYPE = 3
  133. Global Const $UOI_USER_SID = 4
  134. Global Const $DF_ALLOWOTHERACCOUNTHOOK = 0x01
  135. Global Const $WSF_VISIBLE = 0x01
  136. ; _WinAPI_GetVersionEx()
  137. Global Const $VER_SUITE_BACKOFFICE = 0x00000004
  138. Global Const $VER_SUITE_BLADE = 0x00000400
  139. Global Const $VER_SUITE_COMPUTE_SERVER = 0x00004000
  140. Global Const $VER_SUITE_DATACENTER = 0x00000080
  141. Global Const $VER_SUITE_ENTERPRISE = 0x00000002
  142. Global Const $VER_SUITE_EMBEDDEDNT = 0x00000040
  143. Global Const $VER_SUITE_PERSONAL = 0x00000200
  144. Global Const $VER_SUITE_SINGLEUSERTS = 0x00000100
  145. Global Const $VER_SUITE_SMALLBUSINESS = 0x00000001
  146. Global Const $VER_SUITE_SMALLBUSINESS_RESTRICTED = 0x00000020
  147. Global Const $VER_SUITE_STORAGE_SERVER = 0x00002000
  148. Global Const $VER_SUITE_TERMINAL = 0x00000010
  149. Global Const $VER_SUITE_WH_SERVER = 0x00008000
  150. Global Const $VER_NT_DOMAIN_CONTROLLER = 0x0000002
  151. Global Const $VER_NT_SERVER = 0x0000003
  152. Global Const $VER_NT_WORKSTATION = 0x0000001
  153. ; _WinAPI_GetWindowDisplayAffinity(), _WinAPI_SetWindowDisplayAffinity()
  154. Global Const $WDA_MONITOR = 0x01
  155. Global Const $WDA_NONE = 0x00
  156. ; _WinAPI_IsProcessorFeaturePresent()
  157. Global Const $PF_3DNOW_INSTRUCTIONS_AVAILABLE = 7
  158. Global Const $PF_CHANNELS_ENABLED = 16
  159. Global Const $PF_COMPARE_EXCHANGE_DOUBLE = 2
  160. Global Const $PF_COMPARE_EXCHANGE128 = 14
  161. Global Const $PF_COMPARE64_EXCHANGE128 = 15
  162. Global Const $PF_FLOATING_POINT_EMULATED = 1
  163. Global Const $PF_FLOATING_POINT_PRECISION_ERRATA = 0
  164. Global Const $PF_MMX_INSTRUCTIONS_AVAILABLE = 3
  165. Global Const $PF_NX_ENABLED = 12
  166. Global Const $PF_PAE_ENABLED = 9
  167. Global Const $PF_RDTSC_INSTRUCTION_AVAILABLE = 8
  168. Global Const $PF_SSE3_INSTRUCTIONS_AVAILABLE = 13
  169. Global Const $PF_XMMI_INSTRUCTIONS_AVAILABLE = 6
  170. Global Const $PF_XMMI64_INSTRUCTIONS_AVAILABLE = 10
  171. Global Const $PF_XSAVE_ENABLED = 17
  172. ; _WinAPI_Keybd_Event()
  173. Global Const $KEYEVENTF_EXTENDEDKEY = 0x01
  174. Global Const $KEYEVENTF_KEYUP = 0x02
  175. ; _WinAPI_LoadIconMetric()
  176. Global Const $LIM_SMALL = 0
  177. Global Const $LIM_LARGE = 1
  178. ; _WinAPI_MapVirtualKey()
  179. Global Const $MAPVK_VK_TO_CHAR = 2
  180. Global Const $MAPVK_VK_TO_VSC = 0
  181. Global Const $MAPVK_VK_TO_VSC_EX = 4
  182. Global Const $MAPVK_VSC_TO_VK = 1
  183. Global Const $MAPVK_VSC_TO_VK_EX = 3
  184. ; _WinAPI_RegisterHotKey()
  185. Global Const $MOD_ALT = 0x0001
  186. Global Const $MOD_CONTROL = 0x0002
  187. Global Const $MOD_NOREPEAT = 0x4000
  188. Global Const $MOD_SHIFT = 0x0004
  189. Global Const $MOD_WIN = 0x0008
  190. ; _WinAPI_RegisterPowerSettingNotification()
  191. Global Const $GUID_ACDC_POWER_SOURCE = '{5D3E9A59-E9D5-4B00-A6BD-FF34FF516548}'
  192. Global Const $GUID_BATTERY_PERCENTAGE_REMAINING = '{A7AD8041-B45A-4CAE-87A3-EECBB468A9E1}'
  193. Global Const $GUID_IDLE_BACKGROUND_TASK = '{515C31D8-F734-163D-A0FD-11A08C91E8F1}'
  194. Global Const $GUID_MONITOR_POWER_ON = '{02731015-4510-4526-99E6-E5A17EBD1AEA}'
  195. Global Const $GUID_POWERSCHEME_PERSONALITY = '{245D8541-3943-4422-B025-13A784F679B7}'
  196. Global Const $GUID_SYSTEM_AWAYMODE = '{98A7F580-01F7-48AA-9C0F-44352C29E5C0}'
  197. Global Const $GUID_MIN_POWER_SAVINGS = '{8C5E7FDA-E8BF-4A96-9A85-A6E23A8C635C}'
  198. Global Const $GUID_MAX_POWER_SAVINGS = '{A1841308-3541-4FAB-BC81-F71556F20B4A}'
  199. Global Const $GUID_TYPICAL_POWER_SAVINGS = '{381B4222-F694-41F0-9685-FF5BB260DF2E}'
  200. ; _WinAPI_RegisterShellHookWindow()
  201. Global Const $HSHELL_WINDOWCREATED = 1
  202. Global Const $HSHELL_WINDOWDESTROYED = 2
  203. Global Const $HSHELL_ACTIVATESHELLWINDOW = 3
  204. Global Const $HSHELL_WINDOWACTIVATED = 4
  205. Global Const $HSHELL_GETMINRECT = 5
  206. Global Const $HSHELL_REDRAW = 6
  207. Global Const $HSHELL_TASKMAN = 7
  208. Global Const $HSHELL_LANGUAGE = 8
  209. Global Const $HSHELL_SYSMENU = 9
  210. Global Const $HSHELL_ENDTASK = 10
  211. Global Const $HSHELL_ACCESSIBILITYSTATE = 11
  212. Global Const $HSHELL_APPCOMMAND = 12
  213. Global Const $HSHELL_WINDOWREPLACED = 13
  214. Global Const $HSHELL_WINDOWREPLACING = 14
  215. Global Const $HSHELL_RUDEAPPACTIVATED = 32772
  216. Global Const $HSHELL_FLASH = 32774
  217. ; _WinAPI_SendMessageTimeout()
  218. Global Const $HWND_BROADCAST = 0xFFFF
  219. Global Const $SMTO_BLOCK = 0x0001
  220. Global Const $SMTO_NORMAL = 0x0000
  221. Global Const $SMTO_ABORTIFHUNG = 0x0002
  222. Global Const $SMTO_NOTIMEOUTIFNOTHUNG = 0x0008
  223. Global Const $SMTO_ERRORONEXIT = 0x0020
  224. ; _WinAPI_SetKeyboardLayout()
  225. Global Const $INPUTLANGCHANGE_BACKWARD = 0x0004
  226. Global Const $INPUTLANGCHANGE_FORWARD = 0x0002
  227. Global Const $INPUTLANGCHANGE_SYSCHARSET = 0x0001
  228. ; _WinAPI_SetWinEventHook()
  229. Global Const $EVENT_MIN = 0x00000001
  230. Global Const $EVENT_SYSTEM_SOUND = 0x00000001
  231. Global Const $EVENT_SYSTEM_ALERT = 0x00000002
  232. Global Const $EVENT_SYSTEM_FOREGROUND = 0x00000003
  233. Global Const $EVENT_SYSTEM_MENUSTART = 0x00000004
  234. Global Const $EVENT_SYSTEM_MENUEND = 0x00000005
  235. Global Const $EVENT_SYSTEM_MENUPOPUPSTART = 0x00000006
  236. Global Const $EVENT_SYSTEM_MENUPOPUPEND = 0x00000007
  237. Global Const $EVENT_SYSTEM_CAPTURESTART = 0x00000008
  238. Global Const $EVENT_SYSTEM_CAPTUREEND = 0x00000009
  239. Global Const $EVENT_SYSTEM_MOVESIZESTART = 0x0000000A
  240. Global Const $EVENT_SYSTEM_MOVESIZEEND = 0x0000000B
  241. Global Const $EVENT_SYSTEM_CONTEXTHELPSTART = 0x0000000C
  242. Global Const $EVENT_SYSTEM_CONTEXTHELPEND = 0x0000000D
  243. Global Const $EVENT_SYSTEM_DRAGDROPSTART = 0x0000000E
  244. Global Const $EVENT_SYSTEM_DRAGDROPEND = 0x0000000F
  245. Global Const $EVENT_SYSTEM_DIALOGSTART = 0x00000010
  246. Global Const $EVENT_SYSTEM_DIALOGEND = 0x00000011
  247. Global Const $EVENT_SYSTEM_SCROLLINGSTART = 0x00000012
  248. Global Const $EVENT_SYSTEM_SCROLLINGEND = 0x00000013
  249. Global Const $EVENT_SYSTEM_SWITCHSTART = 0x00000014
  250. Global Const $EVENT_SYSTEM_SWITCHEND = 0x00000015
  251. Global Const $EVENT_SYSTEM_MINIMIZESTART = 0x00000016
  252. Global Const $EVENT_SYSTEM_MINIMIZEEND = 0x00000017
  253. Global Const $EVENT_SYSTEM_DESKTOPSWITCH = 0x00000020
  254. Global Const $EVENT_OBJECT_CREATE = 0x00008000
  255. Global Const $EVENT_OBJECT_DESTROY = 0x00008001
  256. Global Const $EVENT_OBJECT_SHOW = 0x00008002
  257. Global Const $EVENT_OBJECT_HIDE = 0x00008003
  258. Global Const $EVENT_OBJECT_REORDER = 0x00008004
  259. Global Const $EVENT_OBJECT_FOCUS = 0x00008005
  260. Global Const $EVENT_OBJECT_SELECTION = 0x00008006
  261. Global Const $EVENT_OBJECT_SELECTIONADD = 0x00008007
  262. Global Const $EVENT_OBJECT_SELECTIONREMOVE = 0x00008008
  263. Global Const $EVENT_OBJECT_SELECTIONWITHIN = 0x00008009
  264. Global Const $EVENT_OBJECT_STATECHANGE = 0x0000800A
  265. Global Const $EVENT_OBJECT_LOCATIONCHANGE = 0x0000800B
  266. Global Const $EVENT_OBJECT_NAMECHANGE = 0x0000800C
  267. Global Const $EVENT_OBJECT_DESCRIPTIONCHANGE = 0x0000800D
  268. Global Const $EVENT_OBJECT_VALUECHANGE = 0x0000800E
  269. Global Const $EVENT_OBJECT_PARENTCHANGE = 0x0000800F
  270. Global Const $EVENT_OBJECT_HELPCHANGE = 0x00008010
  271. Global Const $EVENT_OBJECT_DEFACTIONCHANGE = 0x00008011
  272. Global Const $EVENT_OBJECT_ACCELERATORCHANGE = 0x00008012
  273. Global Const $EVENT_OBJECT_INVOKED = 0x00008013
  274. Global Const $EVENT_OBJECT_TEXTSELECTIONCHANGED = 0x00008014
  275. Global Const $EVENT_OBJECT_CONTENTSCROLLED = 0x00008015
  276. Global Const $EVENT_MAX = 0x7FFFFFFF
  277. Global Const $WINEVENT_INCONTEXT = 0x04
  278. Global Const $WINEVENT_OUTOFCONTEXT = 0x00
  279. Global Const $WINEVENT_SKIPOWNPROCESS = 0x02
  280. Global Const $WINEVENT_SKIPOWNTHREAD = 0x01
  281. ; _WinAPI_TrackMouseEvent()
  282. Global Const $TME_CANCEL = 0x80000000
  283. Global Const $TME_HOVER = 0x00000001
  284. Global Const $TME_LEAVE = 0x00000002
  285. Global Const $TME_NONCLIENT = 0x00000010
  286. Global Const $TME_QUERY = 0x40000000
  287. ; _WinAPI_*Desktop*()
  288. Global Const $DESKTOP_CREATEMENU = 0x0004
  289. Global Const $DESKTOP_CREATEWINDOW = 0x0002
  290. Global Const $DESKTOP_ENUMERATE = 0x0040
  291. Global Const $DESKTOP_HOOKCONTROL = 0x0008
  292. Global Const $DESKTOP_JOURNALPLAYBACK = 0x0020
  293. Global Const $DESKTOP_JOURNALRECORD = 0x0010
  294. Global Const $DESKTOP_READOBJECTS = 0x0001
  295. Global Const $DESKTOP_SWITCHDESKTOP = 0x0100
  296. Global Const $DESKTOP_WRITEOBJECTS = 0x0080
  297. Global Const $DESKTOP_ALL_ACCESS = BitOR($DESKTOP_CREATEMENU, $DESKTOP_CREATEWINDOW, $DESKTOP_ENUMERATE, $DESKTOP_HOOKCONTROL, $DESKTOP_JOURNALPLAYBACK, $DESKTOP_JOURNALRECORD, $DESKTOP_READOBJECTS, $DESKTOP_SWITCHDESKTOP, $DESKTOP_WRITEOBJECTS)
  298. ; _WinAPI_*RowInput*()
  299. Global Const $RIDEV_APPKEYS = 0x00000400
  300. Global Const $RIDEV_CAPTUREMOUSE = 0x00000200
  301. Global Const $RIDEV_DEVNOTIFY = 0x00002000
  302. Global Const $RIDEV_EXCLUDE = 0x00000010
  303. Global Const $RIDEV_EXINPUTSINK = 0x00001000
  304. Global Const $RIDEV_INPUTSINK = 0x00000100
  305. Global Const $RIDEV_NOHOTKEYS = 0x00000200
  306. Global Const $RIDEV_NOLEGACY = 0x00000030
  307. Global Const $RIDEV_PAGEONLY = 0x00000020
  308. Global Const $RIDEV_REMOVE = 0x00000001
  309. Global Const $RID_HEADER = 0x10000005
  310. Global Const $RID_INPUT = 0x10000003
  311. Global Const $RIM_TYPEHID = 2
  312. Global Const $RIM_TYPEKEYBOARD = 1
  313. Global Const $RIM_TYPEMOUSE = 0
  314. Global Const $RIDI_DEVICENAME = 0x20000007
  315. Global Const $RIDI_DEVICEINFO = 0x2000000B
  316. Global Const $RIDI_PREPARSEDDATA = 0x20000005
  317. Global Const $MOUSE_ATTRIBUTES_CHANGED = 0x04
  318. Global Const $MOUSE_MOVE_ABSOLUTE = 0x01
  319. Global Const $MOUSE_MOVE_RELATIVE = 0x00
  320. Global Const $MOUSE_VIRTUAL_DESKTOP = 0x02
  321. Global Const $RI_MOUSE_LEFT_BUTTON_DOWN = 0x0001
  322. Global Const $RI_MOUSE_LEFT_BUTTON_UP = 0x0002
  323. Global Const $RI_MOUSE_MIDDLE_BUTTON_DOWN = 0x0010
  324. Global Const $RI_MOUSE_MIDDLE_BUTTON_UP = 0x0020
  325. Global Const $RI_MOUSE_RIGHT_BUTTON_DOWN = 0x0004
  326. Global Const $RI_MOUSE_RIGHT_BUTTON_UP = 0x0008
  327. Global Const $RI_MOUSE_BUTTON_1_DOWN = $RI_MOUSE_LEFT_BUTTON_DOWN
  328. Global Const $RI_MOUSE_BUTTON_1_UP = $RI_MOUSE_LEFT_BUTTON_UP
  329. Global Const $RI_MOUSE_BUTTON_2_DOWN = $RI_MOUSE_RIGHT_BUTTON_DOWN
  330. Global Const $RI_MOUSE_BUTTON_2_UP = $RI_MOUSE_RIGHT_BUTTON_UP
  331. Global Const $RI_MOUSE_BUTTON_3_DOWN = $RI_MOUSE_MIDDLE_BUTTON_DOWN
  332. Global Const $RI_MOUSE_BUTTON_3_UP = $RI_MOUSE_MIDDLE_BUTTON_UP
  333. Global Const $RI_MOUSE_BUTTON_4_DOWN = 0x0040
  334. Global Const $RI_MOUSE_BUTTON_4_UP = 0x0080
  335. Global Const $RI_MOUSE_BUTTON_5_DOWN = 0x0100
  336. Global Const $RI_MOUSE_BUTTON_5_UP = 0x0200
  337. Global Const $RI_MOUSE_WHEEL = 0x0400
  338. Global Const $RI_KEY_BREAK = 1
  339. Global Const $RI_KEY_E0 = 2
  340. Global Const $RI_KEY_E1 = 4
  341. Global Const $RI_KEY_MAKE = 0
  342. ; ===============================================================================================================================