Advertisement
Guest User

UAUOID

a guest
Jul 4th, 2018
146
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 47.95 KB | None | 0 0
  1. Global Const $bs_groupbox = 7
  2. Global Const $bs_bottom = 2048
  3. Global Const $bs_center = 768
  4. Global Const $bs_defpushbutton = 1
  5. Global Const $bs_left = 256
  6. Global Const $bs_multiline = 8192
  7. Global Const $bs_pushbox = 10
  8. Global Const $bs_pushlike = 4096
  9. Global Const $bs_right = 512
  10. Global Const $bs_rightbutton = 32
  11. Global Const $bs_top = 1024
  12. Global Const $bs_vcenter = 3072
  13. Global Const $bs_flat = 32768
  14. Global Const $bs_icon = 64
  15. Global Const $bs_bitmap = 128
  16. Global Const $bs_notify = 16384
  17. Global Const $bs_splitbutton = 12
  18. Global Const $bs_defsplitbutton = 13
  19. Global Const $bs_commandlink = 14
  20. Global Const $bs_defcommandlink = 15
  21. Global Const $bcsif_glyph = 1
  22. Global Const $bcsif_image = 2
  23. Global Const $bcsif_style = 4
  24. Global Const $bcsif_size = 8
  25. Global Const $bcss_nosplit = 1
  26. Global Const $bcss_stretch = 2
  27. Global Const $bcss_alignleft = 4
  28. Global Const $bcss_image = 8
  29. Global Const $button_imagelist_align_left = 0
  30. Global Const $button_imagelist_align_right = 1
  31. Global Const $button_imagelist_align_top = 2
  32. Global Const $button_imagelist_align_bottom = 3
  33. Global Const $button_imagelist_align_center = 4
  34. Global Const $bs_3state = 5
  35. Global Const $bs_auto3state = 6
  36. Global Const $bs_autocheckbox = 3
  37. Global Const $bs_checkbox = 2
  38. Global Const $bs_radiobutton = 4
  39. Global Const $bs_autoradiobutton = 9
  40. Global Const $bs_ownerdraw = 11
  41. Global Const $gui_ss_default_button = 0
  42. Global Const $gui_ss_default_checkbox = 0
  43. Global Const $gui_ss_default_group = 0
  44. Global Const $gui_ss_default_radio = 0
  45. Global Const $bcm_first = 5632
  46. Global Const $bcm_getidealsize = ($bcm_first + 1)
  47. Global Const $bcm_getimagelist = ($bcm_first + 3)
  48. Global Const $bcm_getnote = ($bcm_first + 10)
  49. Global Const $bcm_getnotelength = ($bcm_first + 11)
  50. Global Const $bcm_getsplitinfo = ($bcm_first + 8)
  51. Global Const $bcm_gettextmargin = ($bcm_first + 5)
  52. Global Const $bcm_setdropdownstate = ($bcm_first + 6)
  53. Global Const $bcm_setimagelist = ($bcm_first + 2)
  54. Global Const $bcm_setnote = ($bcm_first + 9)
  55. Global Const $bcm_setshield = ($bcm_first + 12)
  56. Global Const $bcm_setsplitinfo = ($bcm_first + 7)
  57. Global Const $bcm_settextmargin = ($bcm_first + 4)
  58. Global Const $bm_click = 245
  59. Global Const $bm_getcheck = 240
  60. Global Const $bm_getimage = 246
  61. Global Const $bm_getstate = 242
  62. Global Const $bm_setcheck = 241
  63. Global Const $bm_setdontclick = 248
  64. Global Const $bm_setimage = 247
  65. Global Const $bm_setstate = 243
  66. Global Const $bm_setstyle = 244
  67. Global Const $bcn_first = -1250
  68. Global Const $bcn_dropdown = ($bcn_first + 2)
  69. Global Const $bcn_hotitemchange = ($bcn_first + 1)
  70. Global Const $bn_clicked = 0
  71. Global Const $bn_paint = 1
  72. Global Const $bn_hilite = 2
  73. Global Const $bn_unhilite = 3
  74. Global Const $bn_disable = 4
  75. Global Const $bn_doubleclicked = 5
  76. Global Const $bn_setfocus = 6
  77. Global Const $bn_killfocus = 7
  78. Global Const $bn_pushed = $bn_hilite
  79. Global Const $bn_unpushed = $bn_unhilite
  80. Global Const $bn_dblclk = $bn_doubleclicked
  81. Global Const $bst_checked = 1
  82. Global Const $bst_indeterminate = 2
  83. Global Const $bst_unchecked = 0
  84. Global Const $bst_focus = 8
  85. Global Const $bst_pushed = 4
  86. Global Const $bst_dontclick = 128
  87. Global Const $es_left = 0
  88. Global Const $es_center = 1
  89. Global Const $es_right = 2
  90. Global Const $es_multiline = 4
  91. Global Const $es_uppercase = 8
  92. Global Const $es_lowercase = 16
  93. Global Const $es_password = 32
  94. Global Const $es_autovscroll = 64
  95. Global Const $es_autohscroll = 128
  96. Global Const $es_nohidesel = 256
  97. Global Const $es_oemconvert = 1024
  98. Global Const $es_readonly = 2048
  99. Global Const $es_wantreturn = 4096
  100. Global Const $es_number = 8192
  101. Global Const $ec_err = -1
  102. Global Const $ecm_first = 5376
  103. Global Const $em_canundo = 198
  104. Global Const $em_charfrompos = 215
  105. Global Const $em_emptyundobuffer = 205
  106. Global Const $em_fmtlines = 200
  107. Global Const $em_getcuebanner = ($ecm_first + 2)
  108. Global Const $em_getfirstvisibleline = 206
  109. Global Const $em_gethandle = 189
  110. Global Const $em_getimestatus = 217
  111. Global Const $em_getlimittext = 213
  112. Global Const $em_getline = 196
  113. Global Const $em_getlinecount = 186
  114. Global Const $em_getmargins = 212
  115. Global Const $em_getmodify = 184
  116. Global Const $em_getpasswordchar = 210
  117. Global Const $em_getrect = 178
  118. Global Const $em_getsel = 176
  119. Global Const $em_getthumb = 190
  120. Global Const $em_getwordbreakproc = 209
  121. Global Const $em_hideballoontip = ($ecm_first + 4)
  122. Global Const $em_limittext = 197
  123. Global Const $em_linefromchar = 201
  124. Global Const $em_lineindex = 187
  125. Global Const $em_linelength = 193
  126. Global Const $em_linescroll = 182
  127. Global Const $em_posfromchar = 214
  128. Global Const $em_replacesel = 194
  129. Global Const $em_scroll = 181
  130. Global Const $em_scrollcaret = 183
  131. Global Const $em_setcuebanner = ($ecm_first + 1)
  132. Global Const $em_sethandle = 188
  133. Global Const $em_setimestatus = 216
  134. Global Const $em_setlimittext = $em_limittext
  135. Global Const $em_setmargins = 211
  136. Global Const $em_setmodify = 185
  137. Global Const $em_setpasswordchar = 204
  138. Global Const $em_setreadonly = 207
  139. Global Const $em_setrect = 179
  140. Global Const $em_setrectnp = 180
  141. Global Const $em_setsel = 177
  142. Global Const $em_settabstops = 203
  143. Global Const $em_setwordbreakproc = 208
  144. Global Const $em_showballoontip = ($ecm_first + 3)
  145. Global Const $em_undo = 199
  146. Global Const $ec_leftmargin = 1
  147. Global Const $ec_rightmargin = 2
  148. Global Const $ec_usefontinfo = 65535
  149. Global Const $emsis_compositionstring = 1
  150. Global Const $eimes_getcompstratonce = 1
  151. Global Const $eimes_cancelcompstrinfocus = 2
  152. Global Const $eimes_completecompstrkillfocus = 4
  153. Global Const $en_align_ltr_ec = 1792
  154. Global Const $en_align_rtl_ec = 1793
  155. Global Const $en_change = 768
  156. Global Const $en_errspace = 1280
  157. Global Const $en_hscroll = 1537
  158. Global Const $en_killfocus = 512
  159. Global Const $en_maxtext = 1281
  160. Global Const $en_setfocus = 256
  161. Global Const $en_update = 1024
  162. Global Const $en_vscroll = 1538
  163. Global Const $gui_ss_default_edit = 3150016
  164. Global Const $gui_ss_default_input = 128
  165. Global Const $gui_event_single = 0
  166. Global Const $gui_event_array = 1
  167. Global Const $gui_event_none = 0
  168. Global Const $gui_event_close = -3
  169. Global Const $gui_event_minimize = -4
  170. Global Const $gui_event_restore = -5
  171. Global Const $gui_event_maximize = -6
  172. Global Const $gui_event_primarydown = -7
  173. Global Const $gui_event_primaryup = -8
  174. Global Const $gui_event_secondarydown = -9
  175. Global Const $gui_event_secondaryup = -10
  176. Global Const $gui_event_mousemove = -11
  177. Global Const $gui_event_resized = -12
  178. Global Const $gui_event_dropped = -13
  179. Global Const $gui_rundefmsg = "GUI_RUNDEFMSG"
  180. Global Const $gui_avistop = 0
  181. Global Const $gui_avistart = 1
  182. Global Const $gui_aviclose = 2
  183. Global Const $gui_checked = 1
  184. Global Const $gui_indeterminate = 2
  185. Global Const $gui_unchecked = 4
  186. Global Const $gui_dropaccepted = 8
  187. Global Const $gui_nodropaccepted = 4096
  188. Global Const $gui_acceptfiles = $gui_dropaccepted
  189. Global Const $gui_show = 16
  190. Global Const $gui_hide = 32
  191. Global Const $gui_enable = 64
  192. Global Const $gui_disable = 128
  193. Global Const $gui_focus = 256
  194. Global Const $gui_nofocus = 8192
  195. Global Const $gui_defbutton = 512
  196. Global Const $gui_expand = 1024
  197. Global Const $gui_ontop = 2048
  198. Global Const $gui_fontnormal = 0
  199. Global Const $gui_fontitalic = 2
  200. Global Const $gui_fontunder = 4
  201. Global Const $gui_fontstrike = 8
  202. Global Const $gui_dockauto = 1
  203. Global Const $gui_dockleft = 2
  204. Global Const $gui_dockright = 4
  205. Global Const $gui_dockhcenter = 8
  206. Global Const $gui_docktop = 32
  207. Global Const $gui_dockbottom = 64
  208. Global Const $gui_dockvcenter = 128
  209. Global Const $gui_dockwidth = 256
  210. Global Const $gui_dockheight = 512
  211. Global Const $gui_docksize = 768
  212. Global Const $gui_dockmenubar = 544
  213. Global Const $gui_dockstatebar = 576
  214. Global Const $gui_dockall = 802
  215. Global Const $gui_dockborders = 102
  216. Global Const $gui_gr_close = 1
  217. Global Const $gui_gr_line = 2
  218. Global Const $gui_gr_bezier = 4
  219. Global Const $gui_gr_move = 6
  220. Global Const $gui_gr_color = 8
  221. Global Const $gui_gr_rect = 10
  222. Global Const $gui_gr_ellipse = 12
  223. Global Const $gui_gr_pie = 14
  224. Global Const $gui_gr_dot = 16
  225. Global Const $gui_gr_pixel = 18
  226. Global Const $gui_gr_hint = 20
  227. Global Const $gui_gr_refresh = 22
  228. Global Const $gui_gr_pensize = 24
  229. Global Const $gui_gr_nobkcolor = -2
  230. Global Const $gui_bkcolor_default = -1
  231. Global Const $gui_bkcolor_transparent = -2
  232. Global Const $gui_bkcolor_lv_alternate = -33554432
  233. Global Const $gui_read_default = 0
  234. Global Const $gui_read_extended = 1
  235. Global Const $gui_cursor_nooverride = 0
  236. Global Const $gui_cursor_override = 1
  237. Global Const $gui_ws_ex_parentdrag = 1048576
  238. Global Const $ss_left = 0
  239. Global Const $ss_center = 1
  240. Global Const $ss_right = 2
  241. Global Const $ss_icon = 3
  242. Global Const $ss_blackrect = 4
  243. Global Const $ss_grayrect = 5
  244. Global Const $ss_whiterect = 6
  245. Global Const $ss_blackframe = 7
  246. Global Const $ss_grayframe = 8
  247. Global Const $ss_whiteframe = 9
  248. Global Const $ss_simple = 11
  249. Global Const $ss_leftnowordwrap = 12
  250. Global Const $ss_bitmap = 14
  251. Global Const $ss_enhmetafile = 15
  252. Global Const $ss_etchedhorz = 16
  253. Global Const $ss_etchedvert = 17
  254. Global Const $ss_etchedframe = 18
  255. Global Const $ss_realsizecontrol = 64
  256. Global Const $ss_noprefix = 128
  257. Global Const $ss_notify = 256
  258. Global Const $ss_centerimage = 512
  259. Global Const $ss_rightjust = 1024
  260. Global Const $ss_sunken = 4096
  261. Global Const $gui_ss_default_label = 0
  262. Global Const $gui_ss_default_graphic = 0
  263. Global Const $gui_ss_default_icon = $ss_notify
  264. Global Const $gui_ss_default_pic = $ss_notify
  265. Global Const $stm_seticon = 368
  266. Global Const $stm_geticon = 369
  267. Global Const $stm_setimage = 370
  268. Global Const $stm_getimage = 371
  269. Global Const $tcs_ex_flatseparators = 1
  270. Global Const $tcs_ex_registerdrop = 2
  271. Global Const $tcht_nowhere = 1
  272. Global Const $tcht_onitemicon = 2
  273. Global Const $tcht_onitemlabel = 4
  274. Global Const $tcht_onitem = 6
  275. Global Const $tcif_text = 1
  276. Global Const $tcif_image = 2
  277. Global Const $tcif_rtlreading = 4
  278. Global Const $tcif_param = 8
  279. Global Const $tcif_state = 16
  280. Global Const $tcif_alldata = 27
  281. Global Const $tcis_buttonpressed = 1
  282. Global Const $tcis_highlighted = 2
  283. Global Const $tc_err = -1
  284. Global Const $tcs_bottom = 2
  285. Global Const $tcs_buttons = 256
  286. Global Const $tcs_fixedwidth = 1024
  287. Global Const $tcs_flatbuttons = 8
  288. Global Const $tcs_focusnever = 32768
  289. Global Const $tcs_focusonbuttondown = 4096
  290. Global Const $tcs_forceiconleft = 16
  291. Global Const $tcs_forcelabelleft = 32
  292. Global Const $tcs_hottrack = 64
  293. Global Const $tcs_multiline = 512
  294. Global Const $tcs_multiselect = 4
  295. Global Const $tcs_ownerdrawfixed = 8192
  296. Global Const $tcs_raggedright = 2048
  297. Global Const $tcs_right = 2
  298. Global Const $tcs_rightjustify = 0
  299. Global Const $tcs_scrollopposite = 1
  300. Global Const $tcs_singleline = 0
  301. Global Const $tcs_tabs = 0
  302. Global Const $tcs_tooltips = 16384
  303. Global Const $tcs_vertical = 128
  304. Global Const $gui_ss_default_tab = 0
  305. Global Const $tcm_first = 4864
  306. Global Const $tccm_first = 8192
  307. Global Const $tcm_adjustrect = ($tcm_first + 40)
  308. Global Const $tcm_deleteallitems = ($tcm_first + 9)
  309. Global Const $tcm_deleteitem = ($tcm_first + 8)
  310. Global Const $tcm_deselectall = ($tcm_first + 50)
  311. Global Const $tcm_getcurfocus = ($tcm_first + 47)
  312. Global Const $tcm_getcursel = ($tcm_first + 11)
  313. Global Const $tcm_getextendedstyle = ($tcm_first + 53)
  314. Global Const $tcm_getimagelist = ($tcm_first + 2)
  315. Global Const $tcm_getitema = ($tcm_first + 5)
  316. Global Const $tcm_getitemw = ($tcm_first + 60)
  317. Global Const $tcm_getitemcount = ($tcm_first + 4)
  318. Global Const $tcm_getitemrect = ($tcm_first + 10)
  319. Global Const $tcm_getrowcount = ($tcm_first + 44)
  320. Global Const $tcm_gettooltips = ($tcm_first + 45)
  321. Global Const $tccm_getunicodeformat = ($tccm_first + 6)
  322. Global Const $tcm_getunicodeformat = $tccm_getunicodeformat
  323. Global Const $tcm_highlightitem = ($tcm_first + 51)
  324. Global Const $tcm_hittest = ($tcm_first + 13)
  325. Global Const $tcm_insertitema = ($tcm_first + 7)
  326. Global Const $tcm_insertitemw = ($tcm_first + 62)
  327. Global Const $tcm_removeimage = ($tcm_first + 42)
  328. Global Const $tcm_setitema = ($tcm_first + 6)
  329. Global Const $tcm_setitemw = ($tcm_first + 61)
  330. Global Const $tcm_setitemextra = ($tcm_first + 14)
  331. Global Const $tcm_setitemsize = $tcm_first + 41
  332. Global Const $tcm_setcurfocus = ($tcm_first + 48)
  333. Global Const $tcm_setcursel = ($tcm_first + 12)
  334. Global Const $tcm_setextendedstyle = ($tcm_first + 52)
  335. Global Const $tcm_setimagelist = $tcm_first + 3
  336. Global Const $tcm_setmintabwidth = ($tcm_first + 49)
  337. Global Const $tcm_setpadding = ($tcm_first + 43)
  338. Global Const $tcm_settooltips = ($tcm_first + 46)
  339. Global Const $tccm_setunicodeformat = ($tccm_first + 5)
  340. Global Const $tcm_setunicodeformat = $tccm_setunicodeformat
  341. Global Const $tcn_first = -550
  342. Global Const $tcn_focuschange = ($tcn_first - 4)
  343. Global Const $tcn_getobject = ($tcn_first - 3)
  344. Global Const $tcn_keydown = ($tcn_first + 0)
  345. Global Const $tcn_selchange = ($tcn_first - 1)
  346. Global Const $tcn_selchanging = ($tcn_first - 2)
  347. Global Const $wc_animate = "SysAnimate32"
  348. Global Const $wc_button = "Button"
  349. Global Const $wc_combobox = "ComboBox"
  350. Global Const $wc_comboboxex = "ComboBoxEx32"
  351. Global Const $wc_datetimepick = "SysDateTimePick32"
  352. Global Const $wc_edit = "Edit"
  353. Global Const $wc_header = "SysHeader32"
  354. Global Const $wc_hotkey = "msctls_hotkey32"
  355. Global Const $wc_ipaddress = "SysIPAddress32"
  356. Global Const $wc_link = "SysLink"
  357. Global Const $wc_listbox = "ListBox"
  358. Global Const $wc_listview = "SysListView32"
  359. Global Const $wc_monthcal = "SysMonthCal32"
  360. Global Const $wc_nativefontctl = "NativeFontCtl"
  361. Global Const $wc_pagescroller = "SysPager"
  362. Global Const $wc_progress = "msctls_progress32"
  363. Global Const $wc_rebar = "ReBarWindow32"
  364. Global Const $wc_scrollbar = "ScrollBar"
  365. Global Const $wc_static = "Static"
  366. Global Const $wc_statusbar = "msctls_statusbar32"
  367. Global Const $wc_tabcontrol = "SysTabControl32"
  368. Global Const $wc_toolbar = "ToolbarWindow32"
  369. Global Const $wc_tooltips = "tooltips_class32"
  370. Global Const $wc_trackbar = "msctls_trackbar32"
  371. Global Const $wc_treeview = "SysTreeView32"
  372. Global Const $wc_updown = "msctls_updown32"
  373. Global Const $ws_overlapped = 0
  374. Global Const $ws_tiled = $ws_overlapped
  375. Global Const $ws_maximizebox = 65536
  376. Global Const $ws_minimizebox = 131072
  377. Global Const $ws_tabstop = 65536
  378. Global Const $ws_group = 131072
  379. Global Const $ws_sizebox = 262144
  380. Global Const $ws_thickframe = $ws_sizebox
  381. Global Const $ws_sysmenu = 524288
  382. Global Const $ws_hscroll = 1048576
  383. Global Const $ws_vscroll = 2097152
  384. Global Const $ws_dlgframe = 4194304
  385. Global Const $ws_border = 8388608
  386. Global Const $ws_caption = 12582912
  387. Global Const $ws_overlappedwindow = BitOR($ws_caption, $ws_maximizebox, $ws_minimizebox, $ws_overlapped, $ws_sysmenu, $ws_thickframe)
  388. Global Const $ws_tiledwindow = $ws_overlappedwindow
  389. Global Const $ws_maximize = 16777216
  390. Global Const $ws_clipchildren = 33554432
  391. Global Const $ws_clipsiblings = 67108864
  392. Global Const $ws_disabled = 134217728
  393. Global Const $ws_visible = 268435456
  394. Global Const $ws_minimize = 536870912
  395. Global Const $ws_iconic = $ws_minimize
  396. Global Const $ws_child = 1073741824
  397. Global Const $ws_childwindow = $ws_child
  398. Global Const $ws_popup = -2147483648
  399. Global Const $ws_popupwindow = -2138570752
  400. Global Const $ds_3dlook = 4
  401. Global Const $ds_absalign = 1
  402. Global Const $ds_center = 2048
  403. Global Const $ds_centermouse = 4096
  404. Global Const $ds_contexthelp = 8192
  405. Global Const $ds_control = 1024
  406. Global Const $ds_fixedsys = 8
  407. Global Const $ds_localedit = 32
  408. Global Const $ds_modalframe = 128
  409. Global Const $ds_nofailcreate = 16
  410. Global Const $ds_noidlemsg = 256
  411. Global Const $ds_setfont = 64
  412. Global Const $ds_setforeground = 512
  413. Global Const $ds_shellfont = BitOR($ds_fixedsys, $ds_setfont)
  414. Global Const $ds_sysmodal = 2
  415. Global Const $ws_ex_acceptfiles = 16
  416. Global Const $ws_ex_appwindow = 262144
  417. Global Const $ws_ex_composited = 33554432
  418. Global Const $ws_ex_controlparent = 65536
  419. Global Const $ws_ex_clientedge = 512
  420. Global Const $ws_ex_contexthelp = 1024
  421. Global Const $ws_ex_dlgmodalframe = 1
  422. Global Const $ws_ex_layered = 524288
  423. Global Const $ws_ex_layoutrtl = 4194304
  424. Global Const $ws_ex_left = 0
  425. Global Const $ws_ex_leftscrollbar = 16384
  426. Global Const $ws_ex_ltrreading = 0
  427. Global Const $ws_ex_mdichild = 64
  428. Global Const $ws_ex_noactivate = 134217728
  429. Global Const $ws_ex_noinheritlayout = 1048576
  430. Global Const $ws_ex_noparentnotify = 4
  431. Global Const $ws_ex_right = 4096
  432. Global Const $ws_ex_rightscrollbar = 0
  433. Global Const $ws_ex_rtlreading = 8192
  434. Global Const $ws_ex_staticedge = 131072
  435. Global Const $ws_ex_toolwindow = 128
  436. Global Const $ws_ex_topmost = 8
  437. Global Const $ws_ex_transparent = 32
  438. Global Const $ws_ex_windowedge = 256
  439. Global Const $ws_ex_overlappedwindow = BitOR($ws_ex_clientedge, $ws_ex_windowedge)
  440. Global Const $ws_ex_palettewindow = BitOR($ws_ex_toolwindow, $ws_ex_topmost, $ws_ex_windowedge)
  441. Global Const $wm_null = 0
  442. Global Const $wm_create = 1
  443. Global Const $wm_destroy = 2
  444. Global Const $wm_move = 3
  445. Global Const $wm_sizewait = 4
  446. Global Const $wm_size = 5
  447. Global Const $wm_activate = 6
  448. Global Const $wm_setfocus = 7
  449. Global Const $wm_killfocus = 8
  450. Global Const $wm_setvisible = 9
  451. Global Const $wm_enable = 10
  452. Global Const $wm_setredraw = 11
  453. Global Const $wm_settext = 12
  454. Global Const $wm_gettext = 13
  455. Global Const $wm_gettextlength = 14
  456. Global Const $wm_paint = 15
  457. Global Const $wm_close = 16
  458. Global Const $wm_queryendsession = 17
  459. Global Const $wm_quit = 18
  460. Global Const $wm_erasebkgnd = 20
  461. Global Const $wm_queryopen = 19
  462. Global Const $wm_syscolorchange = 21
  463. Global Const $wm_endsession = 22
  464. Global Const $wm_systemerror = 23
  465. Global Const $wm_showwindow = 24
  466. Global Const $wm_ctlcolor = 25
  467. Global Const $wm_settingchange = 26
  468. Global Const $wm_wininichange = 26
  469. Global Const $wm_devmodechange = 27
  470. Global Const $wm_activateapp = 28
  471. Global Const $wm_fontchange = 29
  472. Global Const $wm_timechange = 30
  473. Global Const $wm_cancelmode = 31
  474. Global Const $wm_setcursor = 32
  475. Global Const $wm_mouseactivate = 33
  476. Global Const $wm_childactivate = 34
  477. Global Const $wm_queuesync = 35
  478. Global Const $wm_getminmaxinfo = 36
  479. Global Const $wm_logoff = 37
  480. Global Const $wm_painticon = 38
  481. Global Const $wm_iconerasebkgnd = 39
  482. Global Const $wm_nextdlgctl = 40
  483. Global Const $wm_alttabactive = 41
  484. Global Const $wm_spoolerstatus = 42
  485. Global Const $wm_drawitem = 43
  486. Global Const $wm_measureitem = 44
  487. Global Const $wm_deleteitem = 45
  488. Global Const $wm_vkeytoitem = 46
  489. Global Const $wm_chartoitem = 47
  490. Global Const $wm_setfont = 48
  491. Global Const $wm_getfont = 49
  492. Global Const $wm_sethotkey = 50
  493. Global Const $wm_gethotkey = 51
  494. Global Const $wm_filesyschange = 52
  495. Global Const $wm_isactiveicon = 53
  496. Global Const $wm_queryparkicon = 54
  497. Global Const $wm_querydragicon = 55
  498. Global Const $wm_winhelp = 56
  499. Global Const $wm_compareitem = 57
  500. Global Const $wm_fullscreen = 58
  501. Global Const $wm_clientshutdown = 59
  502. Global Const $wm_ddemlevent = 60
  503. Global Const $wm_getobject = 61
  504. Global Const $wm_calcscroll = 63
  505. Global Const $wm_testing = 64
  506. Global Const $wm_compacting = 65
  507. Global Const $wm_otherwindowcreated = 66
  508. Global Const $wm_otherwindowdestroyed = 67
  509. Global Const $wm_commnotify = 68
  510. Global Const $wm_mediastatuschange = 69
  511. Global Const $wm_windowposchanging = 70
  512. Global Const $wm_windowposchanged = 71
  513. Global Const $wm_power = 72
  514. Global Const $wm_copyglobaldata = 73
  515. Global Const $wm_copydata = 74
  516. Global Const $wm_canceljournal = 75
  517. Global Const $wm_logonnotify = 76
  518. Global Const $wm_keyf1 = 77
  519. Global Const $wm_notify = 78
  520. Global Const $wm_access_window = 79
  521. Global Const $wm_inputlangchangerequest = 80
  522. Global Const $wm_inputlangchange = 81
  523. Global Const $wm_tcard = 82
  524. Global Const $wm_help = 83
  525. Global Const $wm_userchanged = 84
  526. Global Const $wm_notifyformat = 85
  527. Global Const $wm_qm_activate = 96
  528. Global Const $wm_hook_do_callback = 97
  529. Global Const $wm_syscopydata = 98
  530. Global Const $wm_finaldestroy = 112
  531. Global Const $wm_measureitem_clientdata = 113
  532. Global Const $wm_contextmenu = 123
  533. Global Const $wm_stylechanging = 124
  534. Global Const $wm_stylechanged = 125
  535. Global Const $wm_displaychange = 126
  536. Global Const $wm_geticon = 127
  537. Global Const $wm_seticon = 128
  538. Global Const $wm_nccreate = 129
  539. Global Const $wm_ncdestroy = 130
  540. Global Const $wm_nccalcsize = 131
  541. Global Const $wm_nchittest = 132
  542. Global Const $wm_ncpaint = 133
  543. Global Const $wm_ncactivate = 134
  544. Global Const $wm_getdlgcode = 135
  545. Global Const $wm_syncpaint = 136
  546. Global Const $wm_synctask = 137
  547. Global Const $wm_kludgeminrect = 139
  548. Global Const $wm_lpkdrawswitchwnd = 140
  549. Global Const $wm_uahdestroywindow = 144
  550. Global Const $wm_uahdrawmenu = 145
  551. Global Const $wm_uahdrawmenuitem = 146
  552. Global Const $wm_uahinitmenu = 147
  553. Global Const $wm_uahmeasuremenuitem = 148
  554. Global Const $wm_uahncpaintmenupopup = 149
  555. Global Const $wm_ncmousemove = 160
  556. Global Const $wm_nclbuttondown = 161
  557. Global Const $wm_nclbuttonup = 162
  558. Global Const $wm_nclbuttondblclk = 163
  559. Global Const $wm_ncrbuttondown = 164
  560. Global Const $wm_ncrbuttonup = 165
  561. Global Const $wm_ncrbuttondblclk = 166
  562. Global Const $wm_ncmbuttondown = 167
  563. Global Const $wm_ncmbuttonup = 168
  564. Global Const $wm_ncmbuttondblclk = 169
  565. Global Const $wm_ncxbuttondown = 171
  566. Global Const $wm_ncxbuttonup = 172
  567. Global Const $wm_ncxbuttondblclk = 173
  568. Global Const $wm_ncuahdrawcaption = 174
  569. Global Const $wm_ncuahdrawframe = 175
  570. Global Const $wm_input_device_change = 254
  571. Global Const $wm_input = 255
  572. Global Const $wm_keydown = 256
  573. Global Const $wm_keyfirst = 256
  574. Global Const $wm_keyup = 257
  575. Global Const $wm_char = 258
  576. Global Const $wm_deadchar = 259
  577. Global Const $wm_syskeydown = 260
  578. Global Const $wm_syskeyup = 261
  579. Global Const $wm_syschar = 262
  580. Global Const $wm_sysdeadchar = 263
  581. Global Const $wm_yomichar = 264
  582. Global Const $wm_keylast = 265
  583. Global Const $wm_unichar = 265
  584. Global Const $wm_convertrequest = 266
  585. Global Const $wm_convertresult = 267
  586. Global Const $wm_im_info = 268
  587. Global Const $wm_ime_startcomposition = 269
  588. Global Const $wm_ime_endcomposition = 270
  589. Global Const $wm_ime_composition = 271
  590. Global Const $wm_ime_keylast = 271
  591. Global Const $wm_initdialog = 272
  592. Global Const $wm_command = 273
  593. Global Const $wm_syscommand = 274
  594. Global Const $wm_timer = 275
  595. Global Const $wm_hscroll = 276
  596. Global Const $wm_vscroll = 277
  597. Global Const $wm_initmenu = 278
  598. Global Const $wm_initmenupopup = 279
  599. Global Const $wm_systimer = 280
  600. Global Const $wm_gesture = 281
  601. Global Const $wm_gesturenotify = 282
  602. Global Const $wm_gestureinput = 283
  603. Global Const $wm_gesturenotified = 284
  604. Global Const $wm_menuselect = 287
  605. Global Const $wm_menuchar = 288
  606. Global Const $wm_enteridle = 289
  607. Global Const $wm_menurbuttonup = 290
  608. Global Const $wm_menudrag = 291
  609. Global Const $wm_menugetobject = 292
  610. Global Const $wm_uninitmenupopup = 293
  611. Global Const $wm_menucommand = 294
  612. Global Const $wm_changeuistate = 295
  613. Global Const $wm_updateuistate = 296
  614. Global Const $wm_queryuistate = 297
  615. Global Const $wm_lbtrackpoint = 305
  616. Global Const $wm_ctlcolormsgbox = 306
  617. Global Const $wm_ctlcoloredit = 307
  618. Global Const $wm_ctlcolorlistbox = 308
  619. Global Const $wm_ctlcolorbtn = 309
  620. Global Const $wm_ctlcolordlg = 310
  621. Global Const $wm_ctlcolorscrollbar = 311
  622. Global Const $wm_ctlcolorstatic = 312
  623. Global Const $mn_gethmenu = 481
  624. Global Const $wm_parentnotify = 528
  625. Global Const $wm_entermenuloop = 529
  626. Global Const $wm_exitmenuloop = 530
  627. Global Const $wm_nextmenu = 531
  628. Global Const $wm_sizing = 532
  629. Global Const $wm_capturechanged = 533
  630. Global Const $wm_moving = 534
  631. Global Const $wm_powerbroadcast = 536
  632. Global Const $wm_devicechange = 537
  633. Global Const $wm_mdicreate = 544
  634. Global Const $wm_mdidestroy = 545
  635. Global Const $wm_mdiactivate = 546
  636. Global Const $wm_mdirestore = 547
  637. Global Const $wm_mdinext = 548
  638. Global Const $wm_mdimaximize = 549
  639. Global Const $wm_mditile = 550
  640. Global Const $wm_mdicascade = 551
  641. Global Const $wm_mdiiconarrange = 552
  642. Global Const $wm_mdigetactive = 553
  643. Global Const $wm_dropobject = 554
  644. Global Const $wm_querydropobject = 555
  645. Global Const $wm_begindrag = 556
  646. Global Const $wm_dragloop = 557
  647. Global Const $wm_dragselect = 558
  648. Global Const $wm_dragmove = 559
  649. Global Const $wm_mdisetmenu = 560
  650. Global Const $wm_entersizemove = 561
  651. Global Const $wm_exitsizemove = 562
  652. Global Const $wm_dropfiles = 563
  653. Global Const $wm_mdirefreshmenu = 564
  654. Global Const $wm_touch = 576
  655. Global Const $wm_ime_setcontext = 641
  656. Global Const $wm_ime_notify = 642
  657. Global Const $wm_ime_control = 643
  658. Global Const $wm_ime_compositionfull = 644
  659. Global Const $wm_ime_select = 645
  660. Global Const $wm_ime_char = 646
  661. Global Const $wm_ime_system = 647
  662. Global Const $wm_ime_request = 648
  663. Global Const $wm_ime_keydown = 656
  664. Global Const $wm_ime_keyup = 657
  665. Global Const $wm_ncmousehover = 672
  666. Global Const $wm_mousehover = 673
  667. Global Const $wm_ncmouseleave = 674
  668. Global Const $wm_mouseleave = 675
  669. Global Const $wm_wtssession_change = 689
  670. Global Const $wm_tablet_first = 704
  671. Global Const $wm_tablet_last = 735
  672. Global Const $wm_cut = 768
  673. Global Const $wm_copy = 769
  674. Global Const $wm_paste = 770
  675. Global Const $wm_clear = 771
  676. Global Const $wm_undo = 772
  677. Global Const $wm_paletteischanging = 784
  678. Global Const $wm_hotkey = 786
  679. Global Const $wm_palettechanged = 785
  680. Global Const $wm_sysmenu = 787
  681. Global Const $wm_hookmsg = 788
  682. Global Const $wm_exitprocess = 789
  683. Global Const $wm_wakethread = 790
  684. Global Const $wm_print = 791
  685. Global Const $wm_printclient = 792
  686. Global Const $wm_appcommand = 793
  687. Global Const $wm_querynewpalette = 783
  688. Global Const $wm_themechanged = 794
  689. Global Const $wm_uahinit = 795
  690. Global Const $wm_desktopnotify = 796
  691. Global Const $wm_clipboardupdate = 797
  692. Global Const $wm_dwmcompositionchanged = 798
  693. Global Const $wm_dwmncrenderingchanged = 799
  694. Global Const $wm_dwmcolorizationcolorchanged = 800
  695. Global Const $wm_dwmwindowmaximizedchange = 801
  696. Global Const $wm_dwmexileframe = 802
  697. Global Const $wm_dwmsendiconicthumbnail = 803
  698. Global Const $wm_magnification_started = 804
  699. Global Const $wm_magnification_ended = 805
  700. Global Const $wm_dwmsendiconiclivepreviewbitmap = 806
  701. Global Const $wm_dwmthumbnailsizechanged = 807
  702. Global Const $wm_magnification_output = 808
  703. Global Const $wm_measurecontrol = 816
  704. Global Const $wm_getactiontext = 817
  705. Global Const $wm_forwardkeydown = 819
  706. Global Const $wm_forwardkeyup = 820
  707. Global Const $wm_gettitlebarinfoex = 831
  708. Global Const $wm_notifywow = 832
  709. Global Const $wm_handheldfirst = 856
  710. Global Const $wm_handheldlast = 863
  711. Global Const $wm_afxfirst = 864
  712. Global Const $wm_afxlast = 895
  713. Global Const $wm_penwinfirst = 896
  714. Global Const $wm_penwinlast = 911
  715. Global Const $wm_dde_initiate = 992
  716. Global Const $wm_dde_terminate = 993
  717. Global Const $wm_dde_advise = 994
  718. Global Const $wm_dde_unadvise = 995
  719. Global Const $wm_dde_ack = 996
  720. Global Const $wm_dde_data = 997
  721. Global Const $wm_dde_request = 998
  722. Global Const $wm_dde_poke = 999
  723. Global Const $wm_dde_execute = 1000
  724. Global Const $wm_dbnotification = 1021
  725. Global Const $wm_netconnect = 1022
  726. Global Const $wm_hibernate = 1023
  727. Global Const $wm_user = 1024
  728. Global Const $wm_app = 32768
  729. Global Const $nm_first = 0
  730. Global Const $nm_outofmemory = $nm_first - 1
  731. Global Const $nm_click = $nm_first - 2
  732. Global Const $nm_dblclk = $nm_first - 3
  733. Global Const $nm_return = $nm_first - 4
  734. Global Const $nm_rclick = $nm_first - 5
  735. Global Const $nm_rdblclk = $nm_first - 6
  736. Global Const $nm_setfocus = $nm_first - 7
  737. Global Const $nm_killfocus = $nm_first - 8
  738. Global Const $nm_customdraw = $nm_first - 12
  739. Global Const $nm_hover = $nm_first - 13
  740. Global Const $nm_nchittest = $nm_first - 14
  741. Global Const $nm_keydown = $nm_first - 15
  742. Global Const $nm_releasedcapture = $nm_first - 16
  743. Global Const $nm_setcursor = $nm_first - 17
  744. Global Const $nm_char = $nm_first - 18
  745. Global Const $nm_tooltipscreated = $nm_first - 19
  746. Global Const $nm_ldown = $nm_first - 20
  747. Global Const $nm_rdown = $nm_first - 21
  748. Global Const $nm_themechanged = $nm_first - 22
  749. Global Const $wm_mousefirst = 512
  750. Global Const $wm_mousemove = 512
  751. Global Const $wm_lbuttondown = 513
  752. Global Const $wm_lbuttonup = 514
  753. Global Const $wm_lbuttondblclk = 515
  754. Global Const $wm_rbuttondown = 516
  755. Global Const $wm_rbuttonup = 517
  756. Global Const $wm_rbuttondblclk = 518
  757. Global Const $wm_mbuttondown = 519
  758. Global Const $wm_mbuttonup = 520
  759. Global Const $wm_mbuttondblclk = 521
  760. Global Const $wm_mousewheel = 522
  761. Global Const $wm_xbuttondown = 523
  762. Global Const $wm_xbuttonup = 524
  763. Global Const $wm_xbuttondblclk = 525
  764. Global Const $wm_mousehwheel = 526
  765. Global Const $ps_solid = 0
  766. Global Const $ps_dash = 1
  767. Global Const $ps_dot = 2
  768. Global Const $ps_dashdot = 3
  769. Global Const $ps_dashdotdot = 4
  770. Global Const $ps_null = 5
  771. Global Const $ps_insideframe = 6
  772. Global Const $ps_userstyle = 7
  773. Global Const $ps_alternate = 8
  774. Global Const $ps_endcap_round = 0
  775. Global Const $ps_endcap_square = 256
  776. Global Const $ps_endcap_flat = 512
  777. Global Const $ps_join_bevel = 4096
  778. Global Const $ps_join_miter = 8192
  779. Global Const $ps_join_round = 0
  780. Global Const $ps_geometric = 65536
  781. Global Const $ps_cosmetic = 0
  782. Global Const $lwa_alpha = 2
  783. Global Const $lwa_colorkey = 1
  784. Global Const $rgn_and = 1
  785. Global Const $rgn_or = 2
  786. Global Const $rgn_xor = 3
  787. Global Const $rgn_diff = 4
  788. Global Const $rgn_copy = 5
  789. Global Const $errorregion = 0
  790. Global Const $nullregion = 1
  791. Global Const $simpleregion = 2
  792. Global Const $complexregion = 3
  793. Global Const $transparent = 1
  794. Global Const $opaque = 2
  795. Global Const $ccm_first = 8192
  796. Global Const $ccm_getunicodeformat = ($ccm_first + 6)
  797. Global Const $ccm_setunicodeformat = ($ccm_first + 5)
  798. Global Const $ccm_setbkcolor = $ccm_first + 1
  799. Global Const $ccm_setcolorscheme = $ccm_first + 2
  800. Global Const $ccm_getcolorscheme = $ccm_first + 3
  801. Global Const $ccm_getdroptarget = $ccm_first + 4
  802. Global Const $ccm_setwindowtheme = $ccm_first + 11
  803. Global Const $ga_parent = 1
  804. Global Const $ga_root = 2
  805. Global Const $ga_rootowner = 3
  806. Global Const $sm_cxscreen = 0
  807. Global Const $sm_cyscreen = 1
  808. Global Const $sm_cxvscroll = 2
  809. Global Const $sm_cyhscroll = 3
  810. Global Const $sm_cycaption = 4
  811. Global Const $sm_cxborder = 5
  812. Global Const $sm_cyborder = 6
  813. Global Const $sm_cxfixedframe = 7
  814. Global Const $sm_cxdlgframe = $sm_cxfixedframe
  815. Global Const $sm_cyfixedframe = 8
  816. Global Const $sm_cydlgframe = $sm_cyfixedframe
  817. Global Const $sm_cyvthumb = 9
  818. Global Const $sm_cxhthumb = 10
  819. Global Const $sm_cxicon = 11
  820. Global Const $sm_cyicon = 12
  821. Global Const $sm_cxcursor = 13
  822. Global Const $sm_cycursor = 14
  823. Global Const $sm_cymenu = 15
  824. Global Const $sm_cxfullscreen = 16
  825. Global Const $sm_cyfullscreen = 17
  826. Global Const $sm_cykanjiwindow = 18
  827. Global Const $sm_mousepresent = 19
  828. Global Const $sm_cyvscroll = 20
  829. Global Const $sm_cxhscroll = 21
  830. Global Const $sm_debug = 22
  831. Global Const $sm_swapbutton = 23
  832. Global Const $sm_reserved1 = 24
  833. Global Const $sm_reserved2 = 25
  834. Global Const $sm_reserved3 = 26
  835. Global Const $sm_reserved4 = 27
  836. Global Const $sm_cxmin = 28
  837. Global Const $sm_cymin = 29
  838. Global Const $sm_cxsize = 30
  839. Global Const $sm_cysize = 31
  840. Global Const $sm_cxsizeframe = 32
  841. Global Const $sm_cxframe = $sm_cxsizeframe
  842. Global Const $sm_cysizeframe = 33
  843. Global Const $sm_cyframe = $sm_cysizeframe
  844. Global Const $sm_cxmintrack = 34
  845. Global Const $sm_cymintrack = 35
  846. Global Const $sm_cxdoubleclk = 36
  847. Global Const $sm_cydoubleclk = 37
  848. Global Const $sm_cxiconspacing = 38
  849. Global Const $sm_cyiconspacing = 39
  850. Global Const $sm_menudropalignment = 40
  851. Global Const $sm_penwindows = 41
  852. Global Const $sm_dbcsenabled = 42
  853. Global Const $sm_cmousebuttons = 43
  854. Global Const $sm_secure = 44
  855. Global Const $sm_cxedge = 45
  856. Global Const $sm_cyedge = 46
  857. Global Const $sm_cxminspacing = 47
  858. Global Const $sm_cyminspacing = 48
  859. Global Const $sm_cxsmicon = 49
  860. Global Const $sm_cysmicon = 50
  861. Global Const $sm_cysmcaption = 51
  862. Global Const $sm_cxsmsize = 52
  863. Global Const $sm_cysmsize = 53
  864. Global Const $sm_cxmenusize = 54
  865. Global Const $sm_cymenusize = 55
  866. Global Const $sm_arrange = 56
  867. Global Const $sm_cxminimized = 57
  868. Global Const $sm_cyminimized = 58
  869. Global Const $sm_cxmaxtrack = 59
  870. Global Const $sm_cymaxtrack = 60
  871. Global Const $sm_cxmaximized = 61
  872. Global Const $sm_cymaximized = 62
  873. Global Const $sm_network = 63
  874. Global Const $sm_cleanboot = 67
  875. Global Const $sm_cxdrag = 68
  876. Global Const $sm_cydrag = 69
  877. Global Const $sm_showsounds = 70
  878. Global Const $sm_cxmenucheck = 71
  879. Global Const $sm_cymenucheck = 72
  880. Global Const $sm_slowmachine = 73
  881. Global Const $sm_mideastenabled = 74
  882. Global Const $sm_mousewheelpresent = 75
  883. Global Const $sm_xvirtualscreen = 76
  884. Global Const $sm_yvirtualscreen = 77
  885. Global Const $sm_cxvirtualscreen = 78
  886. Global Const $sm_cyvirtualscreen = 79
  887. Global Const $sm_cmonitors = 80
  888. Global Const $sm_samedisplayformat = 81
  889. Global Const $sm_immenabled = 82
  890. Global Const $sm_cxfocusborder = 83
  891. Global Const $sm_cyfocusborder = 84
  892. Global Const $sm_tabletpc = 86
  893. Global Const $sm_mediacenter = 87
  894. Global Const $sm_starter = 88
  895. Global Const $sm_serverr2 = 89
  896. Global Const $sm_cmetrics = 90
  897. Global Const $sm_remotesession = 4096
  898. Global Const $sm_shuttingdown = 8192
  899. Global Const $sm_remotecontrol = 8193
  900. Global Const $sm_caretblinkingenabled = 8194
  901. Global Const $blackness = 66
  902. Global Const $captureblt = 1073741824
  903. Global Const $dstinvert = 5570569
  904. Global Const $mergecopy = 12583114
  905. Global Const $mergepaint = 12255782
  906. Global Const $nomirrorbitmap = -2147483648
  907. Global Const $notsrccopy = 3342344
  908. Global Const $notsrcerase = 1114278
  909. Global Const $patcopy = 15728673
  910. Global Const $patinvert = 5898313
  911. Global Const $patpaint = 16452105
  912. Global Const $srcand = 8913094
  913. Global Const $srccopy = 13369376
  914. Global Const $srcerase = 4457256
  915. Global Const $srcinvert = 6684742
  916. Global Const $srcpaint = 15597702
  917. Global Const $whiteness = 16711778
  918. Global Const $dt_bottom = 8
  919. Global Const $dt_calcrect = 1024
  920. Global Const $dt_center = 1
  921. Global Const $dt_editcontrol = 8192
  922. Global Const $dt_end_ellipsis = 32768
  923. Global Const $dt_expandtabs = 64
  924. Global Const $dt_externalleading = 512
  925. Global Const $dt_hideprefix = 1048576
  926. Global Const $dt_internal = 4096
  927. Global Const $dt_left = 0
  928. Global Const $dt_modifystring = 65536
  929. Global Const $dt_noclip = 256
  930. Global Const $dt_nofullwidthcharbreak = 524288
  931. Global Const $dt_noprefix = 2048
  932. Global Const $dt_path_ellipsis = 16384
  933. Global Const $dt_prefixonly = 2097152
  934. Global Const $dt_right = 2
  935. Global Const $dt_rtlreading = 131072
  936. Global Const $dt_singleline = 32
  937. Global Const $dt_tabstop = 128
  938. Global Const $dt_top = 0
  939. Global Const $dt_vcenter = 4
  940. Global Const $dt_wordbreak = 16
  941. Global Const $dt_word_ellipsis = 262144
  942. Global Const $rdw_erase = 4
  943. Global Const $rdw_frame = 1024
  944. Global Const $rdw_internalpaint = 2
  945. Global Const $rdw_invalidate = 1
  946. Global Const $rdw_noerase = 32
  947. Global Const $rdw_noframe = 2048
  948. Global Const $rdw_nointernalpaint = 16
  949. Global Const $rdw_validate = 8
  950. Global Const $rdw_erasenow = 512
  951. Global Const $rdw_updatenow = 256
  952. Global Const $rdw_allchildren = 128
  953. Global Const $rdw_nochildren = 64
  954. Global Const $wm_renderformat = 773
  955. Global Const $wm_renderallformats = 774
  956. Global Const $wm_destroyclipboard = 775
  957. Global Const $wm_drawclipboard = 776
  958. Global Const $wm_paintclipboard = 777
  959. Global Const $wm_vscrollclipboard = 778
  960. Global Const $wm_sizeclipboard = 779
  961. Global Const $wm_askcbformatname = 780
  962. Global Const $wm_changecbchain = 781
  963. Global Const $wm_hscrollclipboard = 782
  964. Global Const $hterror = -2
  965. Global Const $httransparent = -1
  966. Global Const $htnowhere = 0
  967. Global Const $htclient = 1
  968. Global Const $htcaption = 2
  969. Global Const $htsysmenu = 3
  970. Global Const $htgrowbox = 4
  971. Global Const $htsize = $htgrowbox
  972. Global Const $htmenu = 5
  973. Global Const $hthscroll = 6
  974. Global Const $htvscroll = 7
  975. Global Const $htminbutton = 8
  976. Global Const $htmaxbutton = 9
  977. Global Const $htleft = 10
  978. Global Const $htright = 11
  979. Global Const $httop = 12
  980. Global Const $httopleft = 13
  981. Global Const $httopright = 14
  982. Global Const $htbottom = 15
  983. Global Const $htbottomleft = 16
  984. Global Const $htbottomright = 17
  985. Global Const $htborder = 18
  986. Global Const $htreduce = $htminbutton
  987. Global Const $htzoom = $htmaxbutton
  988. Global Const $htsizefirst = $htleft
  989. Global Const $htsizelast = $htbottomright
  990. Global Const $htobject = 19
  991. Global Const $htclose = 20
  992. Global Const $hthelp = 21
  993. Global Const $color_scrollbar = 0
  994. Global Const $color_background = 1
  995. Global Const $color_activecaption = 2
  996. Global Const $color_inactivecaption = 3
  997. Global Const $color_menu = 4
  998. Global Const $color_window = 5
  999. Global Const $color_windowframe = 6
  1000. Global Const $color_menutext = 7
  1001. Global Const $color_windowtext = 8
  1002. Global Const $color_captiontext = 9
  1003. Global Const $color_activeborder = 10
  1004. Global Const $color_inactiveborder = 11
  1005. Global Const $color_appworkspace = 12
  1006. Global Const $color_highlight = 13
  1007. Global Const $color_highlighttext = 14
  1008. Global Const $color_btnface = 15
  1009. Global Const $color_btnshadow = 16
  1010. Global Const $color_graytext = 17
  1011. Global Const $color_btntext = 18
  1012. Global Const $color_inactivecaptiontext = 19
  1013. Global Const $color_btnhighlight = 20
  1014. Global Const $color_3ddkshadow = 21
  1015. Global Const $color_3dlight = 22
  1016. Global Const $color_infotext = 23
  1017. Global Const $color_infobk = 24
  1018. Global Const $color_hotlight = 26
  1019. Global Const $color_gradientactivecaption = 27
  1020. Global Const $color_gradientinactivecaption = 28
  1021. Global Const $color_menuhilight = 29
  1022. Global Const $color_menubar = 30
  1023. Global Const $color_desktop = 1
  1024. Global Const $color_3dface = 15
  1025. Global Const $color_3dshadow = 16
  1026. Global Const $color_3dhighlight = 20
  1027. Global Const $color_3dhilight = 20
  1028. Global Const $color_btnhilight = 20
  1029. Global Const $hinst_commctrl = -1
  1030. Global Const $idb_std_small_color = 0
  1031. Global Const $idb_std_large_color = 1
  1032. Global Const $idb_view_small_color = 4
  1033. Global Const $idb_view_large_color = 5
  1034. Global Const $idb_hist_small_color = 8
  1035. Global Const $idb_hist_large_color = 9
  1036. Global Const $startf_forceofffeedback = 128
  1037. Global Const $startf_forceonfeedback = 64
  1038. Global Const $startf_preventpinning = 8192
  1039. Global Const $startf_runfullscreen = 32
  1040. Global Const $startf_titleisappid = 4096
  1041. Global Const $startf_titleislinkname = 2048
  1042. Global Const $startf_usecountchars = 8
  1043. Global Const $startf_usefillattribute = 16
  1044. Global Const $startf_usehotkey = 512
  1045. Global Const $startf_useposition = 4
  1046. Global Const $startf_useshowwindow = 1
  1047. Global Const $startf_usesize = 2
  1048. Global Const $startf_usestdhandles = 256
  1049. Global Const $cdds_prepaint = 1
  1050. Global Const $cdds_postpaint = 2
  1051. Global Const $cdds_preerase = 3
  1052. Global Const $cdds_posterase = 4
  1053. Global Const $cdds_item = 65536
  1054. Global Const $cdds_itemprepaint = 65537
  1055. Global Const $cdds_itempostpaint = 65538
  1056. Global Const $cdds_itempreerase = 65539
  1057. Global Const $cdds_itemposterase = 65540
  1058. Global Const $cdds_subitem = 131072
  1059. Global Const $cdis_selected = 1
  1060. Global Const $cdis_grayed = 2
  1061. Global Const $cdis_disabled = 4
  1062. Global Const $cdis_checked = 8
  1063. Global Const $cdis_focus = 16
  1064. Global Const $cdis_default = 32
  1065. Global Const $cdis_hot = 64
  1066. Global Const $cdis_marked = 128
  1067. Global Const $cdis_indeterminate = 256
  1068. Global Const $cdis_showkeyboardcues = 512
  1069. Global Const $cdis_nearhot = 1024
  1070. Global Const $cdis_othersidehot = 2048
  1071. Global Const $cdis_drophilited = 4096
  1072. Global Const $cdrf_dodefault = 0
  1073. Global Const $cdrf_newfont = 2
  1074. Global Const $cdrf_skipdefault = 4
  1075. Global Const $cdrf_notifypostpaint = 16
  1076. Global Const $cdrf_notifyitemdraw = 32
  1077. Global Const $cdrf_notifysubitemdraw = 32
  1078. Global Const $cdrf_notifyposterase = 64
  1079. Global Const $cdrf_doerase = 8
  1080. Global Const $cdrf_skippostpaint = 256
  1081. Global Const $gui_ss_default_gui = BitOR($ws_minimizebox, $ws_caption, $ws_popup, $ws_sysmenu)
  1082. #Region ### START Koda GUI section ### Form=
  1083. $form1 = GUICreate("Installation ID & Confirmation ID", 625, 272, 192, 124)
  1084. $tab1 = GUICtrlCreateTab(0, 0, 617, 265)
  1085. $tabsheet1 = GUICtrlCreateTabItem("Installation ID")
  1086. $label1 = GUICtrlCreateLabel("1", 448, 32, 11, 21)
  1087. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1088. $label2 = GUICtrlCreateLabel("2", 448, 56, 11, 21)
  1089. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1090. $label3 = GUICtrlCreateLabel("3", 448, 80, 11, 21)
  1091. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1092. $label4 = GUICtrlCreateLabel("4", 448, 104, 11, 21)
  1093. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1094. $label5 = GUICtrlCreateLabel("5", 448, 128, 11, 21)
  1095. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1096. $label6 = GUICtrlCreateLabel("6", 448, 152, 11, 21)
  1097. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1098. $label7 = GUICtrlCreateLabel("7", 448, 176, 11, 21)
  1099. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1100. $label8 = GUICtrlCreateLabel("8", 448, 200, 11, 21)
  1101. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1102. $label9 = GUICtrlCreateLabel("9", 448, 224, 11, 21)
  1103. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1104. $gr1 = GUICtrlCreateInput("", 464, 32, 49, 21)
  1105. $gr2 = GUICtrlCreateInput("", 464, 56, 49, 21)
  1106. $gr3 = GUICtrlCreateInput("", 464, 80, 49, 21)
  1107. $input4 = GUICtrlCreateInput("", 464, 104, 49, 21)
  1108. $input5 = GUICtrlCreateInput("", 464, 128, 49, 21)
  1109. $input6 = GUICtrlCreateInput("", 464, 152, 49, 21)
  1110. $input7 = GUICtrlCreateInput("", 464, 176, 49, 21)
  1111. $input8 = GUICtrlCreateInput("", 464, 200, 49, 21)
  1112. $input9 = GUICtrlCreateInput("", 464, 224, 49, 21)
  1113. $button1 = GUICtrlCreateButton("Copy", 520, 32, 75, 25)
  1114. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1115. $button2 = GUICtrlCreateButton("Copy", 520, 56, 75, 25)
  1116. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1117. $button3 = GUICtrlCreateButton("Copy", 520, 80, 75, 25)
  1118. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1119. $button4 = GUICtrlCreateButton("Copy", 520, 104, 75, 25)
  1120. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1121. $button5 = GUICtrlCreateButton("Copy", 520, 128, 75, 25)
  1122. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1123. $button6 = GUICtrlCreateButton("Copy", 520, 152, 75, 25)
  1124. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1125. $button7 = GUICtrlCreateButton("Copy", 520, 176, 75, 25)
  1126. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1127. $button8 = GUICtrlCreateButton("Copy", 520, 200, 75, 25)
  1128. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1129. $button9 = GUICtrlCreateButton("Copy", 520, 224, 75, 25)
  1130. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1131. $iid = GUICtrlCreateInput("", 8, 56, 417, 21)
  1132. $label10 = GUICtrlCreateLabel("Installation ID (IID):", 8, 32, 112, 21)
  1133. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1134. $paste = GUICtrlCreateButton("Paste Installation ID ", 128, 32, 131, 24)
  1135. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1136. $label11 = GUICtrlCreateLabel("IID Type: Unknow", 248, 240, 102, 21)
  1137. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1138. $copy = GUICtrlCreateButton("Copy", 312, 32, 75, 24)
  1139. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1140. $tabsheet2 = GUICtrlCreateTabItem("Confirmation ID")
  1141. $input11 = GUICtrlCreateInput("", 8, 56, 321, 21)
  1142. $label12 = GUICtrlCreateLabel("Confirmation ID (CID):", 8, 32, 130, 21)
  1143. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1144. $button11 = GUICtrlCreateButton("Paste Confirmation ID", 168, 32, 139, 24)
  1145. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1146. $label13 = GUICtrlCreateLabel("Result:", 8, 80, 42, 21)
  1147. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1148. $input12 = GUICtrlCreateInput("", 8, 104, 321, 21)
  1149. $button12 = GUICtrlCreateButton("Copy", 336, 104, 75, 25)
  1150. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1151. $input13 = GUICtrlCreateInput("", 8, 128, 321, 21)
  1152. $button13 = GUICtrlCreateButton("Copy", 336, 128, 75, 25)
  1153. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1154. $input14 = GUICtrlCreateInput("", 8, 152, 321, 21)
  1155. $button14 = GUICtrlCreateButton("Copy", 336, 152, 75, 25)
  1156. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1157. $button15 = GUICtrlCreateButton("Copy", 336, 56, 75, 25)
  1158. GUICtrlSetFont(-1, 10, 400, 0, "Segoe UI")
  1159. GUICtrlCreateTabItem("")
  1160. GUISetState(@SW_SHOW)
  1161. #EndRegion ### END Koda GUI section ###
  1162. HotKeySet ("!0", "sw")
  1163. While 1
  1164. $nmsg = GUIGetMsg()
  1165. Switch $nmsg
  1166. Case $gui_event_close
  1167. Exit
  1168. Case $paste
  1169. $iidcopy = ClipGet()
  1170. $stext = StringRegExpReplace($iidcopy, "[^[:digit:]]", "")
  1171. $swhite = StringStripWS($stext, 8)
  1172. $lenght = StringLen($swhite)
  1173. If $lenght < 54 Then MsgBox(4096, "Error", "Please Check Each Group Carefully")
  1174. If $lenght > 63 Then MsgBox(4096, "Error", "Please Check Each Group Carefully")
  1175. If $lenght > 63 Then MsgBox(4096, "Error", "Please Check Each Group Carefully")
  1176. If $lenght = 62 Then MsgBox(4096, "Error", "Please Check Each Group Carefully")
  1177. If $lenght = 61 Then MsgBox(4096, "Error", "Please Check Each Group Carefully")
  1178. If $lenght = 60 Then MsgBox(4096, "Error", "Please Check Each Group Carefully")
  1179. If $lenght = 59 Then MsgBox(4096, "Error", "Please Check Each Group Carefully")
  1180. If $lenght = 58 Then MsgBox(4096, "Error", "Please Check Each Group Carefully")
  1181. If $lenght = 57 Then MsgBox(4096, "Error", "Please Check Each Group Carefully")
  1182. If $lenght = 56 Then MsgBox(4096, "Error", "Please Check Each Group Carefully")
  1183. If $lenght = 55 Then MsgBox(4096, "Error", "Please Check Each Group Carefully")
  1184. If $lenght = 63 Then
  1185. GUICtrlSetData($label11, "IID Type: 7 Digits")
  1186. $tach1 = StringMid($swhite, 1, 7)
  1187. $tach2 = StringMid($swhite, 8, 7)
  1188. $tach3 = StringMid($swhite, 15, 7)
  1189. $tach4 = StringMid($swhite, 22, 7)
  1190. $tach5 = StringMid($swhite, 29, 7)
  1191. $tach6 = StringMid($swhite, 36, 7)
  1192. $tach7 = StringMid($swhite, 43, 7)
  1193. $tach8 = StringMid($swhite, 50, 7)
  1194. $tach9 = StringMid($swhite, 57, 7)
  1195. GUICtrlSetData($gr1, $tach1)
  1196. GUICtrlSetData($gr2, $tach2)
  1197. GUICtrlSetData($gr3, $tach3)
  1198. GUICtrlSetData($input4, $tach4)
  1199. GUICtrlSetData($input5, $tach5)
  1200. GUICtrlSetData($input6, $tach6)
  1201. GUICtrlSetData($input7, $tach7)
  1202. GUICtrlSetData($input8, $tach8)
  1203. GUICtrlSetData($input9, $tach9)
  1204. $result = $tach1 & "-" & $tach2 & "-" & $tach3 & "-" & $tach4 & "-" & $tach5 & "-" & $tach6 & "-" & $tach7 & "-" & $tach8 & "-" & $tach9
  1205. GUICtrlSetData($iid, $result)
  1206. EndIf
  1207. If $lenght = 54 Then
  1208. GUICtrlSetData($label11, "IID Type: 6 Digits")
  1209. $tach1 = StringMid($swhite, 1, 6)
  1210. $tach2 = StringMid($swhite, 7, 6)
  1211. $tach3 = StringMid($swhite, 13, 6)
  1212. $tach4 = StringMid($swhite, 19, 6)
  1213. $tach5 = StringMid($swhite, 25, 6)
  1214. $tach6 = StringMid($swhite, 31, 6)
  1215. $tach7 = StringMid($swhite, 37, 6)
  1216. $tach8 = StringMid($swhite, 43, 6)
  1217. $tach9 = StringMid($swhite, 49, 6)
  1218. GUICtrlSetData($gr1, $tach1)
  1219. GUICtrlSetData($gr2, $tach2)
  1220. GUICtrlSetData($gr3, $tach3)
  1221. GUICtrlSetData($input4, $tach4)
  1222. GUICtrlSetData($input5, $tach5)
  1223. GUICtrlSetData($input6, $tach6)
  1224. GUICtrlSetData($input7, $tach7)
  1225. GUICtrlSetData($input8, $tach8)
  1226. GUICtrlSetData($input9, $tach9)
  1227. $result = $tach1 & "-" & $tach2 & "-" & $tach3 & "-" & $tach4 & "-" & $tach5 & "-" & $tach6 & "-" & $tach7 & "-" & $tach8 & "-" & $tach9
  1228. GUICtrlSetData($iid, $result)
  1229. EndIf
  1230. Case $copy
  1231. ClipPut(GUICtrlRead($iid))
  1232. Case $button1
  1233. ClipPut(GUICtrlRead($gr1))
  1234. Case $button2
  1235. ClipPut(GUICtrlRead($gr2))
  1236. Case $button3
  1237. ClipPut(GUICtrlRead($gr3))
  1238. Case $button4
  1239. ClipPut(GUICtrlRead($input4))
  1240. Case $button5
  1241. ClipPut(GUICtrlRead($input5))
  1242. Case $button6
  1243. ClipPut(GUICtrlRead($input6))
  1244. Case $button7
  1245. ClipPut(GUICtrlRead($input7))
  1246. Case $button8
  1247. ClipPut(GUICtrlRead($input8))
  1248. Case $button9
  1249. ClipPut(GUICtrlRead($input9))
  1250. Case $button11
  1251. $cidcopy = ClipGet()
  1252. $stext = StringRegExpReplace($cidcopy, "[^[:digit:]]", "")
  1253. $swhite = StringStripWS($stext, 8)
  1254. $lenght = StringLen($swhite)
  1255. If $lenght = 48 Then
  1256. $tachcid1 = StringMid($swhite, 1, 6)
  1257. $tachcid2 = StringMid($swhite, 7, 6)
  1258. $tachcid3 = StringMid($swhite, 13, 6)
  1259. $tachcid4 = StringMid($swhite, 19, 6)
  1260. $tachcid5 = StringMid($swhite, 25, 6)
  1261. $tachcid6 = StringMid($swhite, 31, 6)
  1262. $tachcid7 = StringMid($swhite, 37, 6)
  1263. $tachcid8 = StringMid($swhite, 43, 6)
  1264. $result = $tachcid1 & "-" & $tachcid2 & "-" & $tachcid3 & "-" & $tachcid4 & "-" & $tachcid5 & "-" & $tachcid6 & "-" & $tachcid7 & "-" & $tachcid8
  1265. GUICtrlSetData($input11, $result)
  1266. GUICtrlSetData($input13, "cscript //nologo %windir%\system32\slmgr.vbs /atp " & $swhite)
  1267. GUICtrlSetData($input12, $swhite)
  1268. GUICtrlSetData($input14, "cscript ospp.vbs /actcid:" & $swhite)
  1269. Else
  1270. MsgBox(4096, "Error", "Please Check Each Group Carefully")
  1271. EndIf
  1272. Case $button15
  1273. ClipPut(GUICtrlRead($input11))
  1274. Case $button12
  1275. ClipPut(GUICtrlRead($input12))
  1276. Case $button13
  1277. ClipPut(GUICtrlRead($input13))
  1278. Case $button14
  1279. ClipPut(GUICtrlRead($input14))
  1280. EndSwitch
  1281. WEnd
  1282. Func sw()
  1283. $rsts = GUICtrlRead($gr1)&GUICtrlRead($gr2)&GUICtrlRead($gr3)&GUICtrlRead($input4)&GUICtrlRead($input5)&GUICtrlRead($input6)&GUICtrlRead($input7)&GUICtrlRead($input8)&GUICtrlRead($input9)
  1284. Send ($rsts)
  1285. EndFunc
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement