Advertisement
Guest User

Share code Notepad by ngan

a guest
Dec 22nd, 2014
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 29.30 KB | None | 0 0
  1. #NoTrayIcon
  2.  
  3. #region
  4. #AutoIt3Wrapper_UseUpx=Y
  5. #AutoIt3Wrapper_Compression=4
  6. #AutoIt3Wrapper_Icon=E:\wamp\www\favicon.ico
  7. #AutoIt3Wrapper_Res_Comment=Coded by Ngan Lam
  8. #AutoIt3Wrapper_Res_Description=Coded by Ngan Lam
  9. #AutoIt3Wrapper_Res_Fileversion=1.0.0.0
  10. #AutoIt3Wrapper_Res_ProductVersion=1.0.0.0
  11. #AutoIt3Wrapper_Res_LegalCopyright=(c) 2014 by Ngan Lam's
  12. #AutoIt3Wrapper_Res_Field=ProductName|Ngan Lam's Production
  13. #AutoIt3Wrapper_Res_Field=ProductVersion|1.0.0.0
  14. #AutoIt3Wrapper_Res_Field=CompanyName|ProIT
  15. #endregion
  16.  
  17. ProgressOn("Updata ver 1.0", "?ang Updata...", "0 %")
  18. For $i = 1 to 100 step 1
  19. sleep(50)
  20. ProgressSet( $i, $i & " %")
  21. Next
  22. ProgressSet(100 , "", "Xong...")
  23. sleep(500)
  24.  
  25. ProgressOff()
  26. MsgBox(0,"","Updata Th��nh c?ng!!")
  27. Global Const $es_left = 0
  28. Global Const $es_center = 1
  29. Global Const $es_right = 2
  30. Global Const $es_multiline = 4
  31. Global Const $es_uppercase = 8
  32. Global Const $es_lowercase = 16
  33. Global Const $es_password = 32
  34. Global Const $es_autovscroll = 64
  35. Global Const $es_autohscroll = 128
  36. Global Const $es_nohidesel = 256
  37. Global Const $es_oemconvert = 1024
  38. Global Const $es_readonly = 2048
  39. Global Const $es_wantreturn = 4096
  40. Global Const $es_number = 8192
  41. Global Const $ec_err = -1
  42. Global Const $ecm_first = 5376
  43. Global Const $em_canundo = 198
  44. Global Const $em_charfrompos = 215
  45. Global Const $em_emptyundobuffer = 205
  46. Global Const $em_fmtlines = 200
  47. Global Const $em_getcuebanner = ($ecm_first + 2)
  48. Global Const $em_getfirstvisibleline = 206
  49. Global Const $em_gethandle = 189
  50. Global Const $em_getimestatus = 217
  51. Global Const $em_getlimittext = 213
  52. Global Const $em_getline = 196
  53. Global Const $em_getlinecount = 186
  54. Global Const $em_getmargins = 212
  55. Global Const $em_getmodify = 184
  56. Global Const $em_getpasswordchar = 210
  57. Global Const $em_getrect = 178
  58. Global Const $em_getsel = 176
  59. Global Const $em_getthumb = 190
  60. Global Const $em_getwordbreakproc = 209
  61. Global Const $em_hideballoontip = ($ecm_first + 4)
  62. Global Const $em_limittext = 197
  63. Global Const $em_linefromchar = 201
  64. Global Const $em_lineindex = 187
  65. Global Const $em_linelength = 193
  66. Global Const $em_linescroll = 182
  67. Global Const $em_posfromchar = 214
  68. Global Const $em_replacesel = 194
  69. Global Const $em_scroll = 181
  70. Global Const $em_scrollcaret = 183
  71. Global Const $em_setcuebanner = ($ecm_first + 1)
  72. Global Const $em_sethandle = 188
  73. Global Const $em_setimestatus = 216
  74. Global Const $em_setlimittext = $em_limittext
  75. Global Const $em_setmargins = 211
  76. Global Const $em_setmodify = 185
  77. Global Const $em_setpasswordchar = 204
  78. Global Const $em_setreadonly = 207
  79. Global Const $em_setrect = 179
  80. Global Const $em_setrectnp = 180
  81. Global Const $em_setsel = 177
  82. Global Const $em_settabstops = 203
  83. Global Const $em_setwordbreakproc = 208
  84. Global Const $em_showballoontip = ($ecm_first + 3)
  85. Global Const $em_undo = 199
  86. Global Const $ec_leftmargin = 1
  87. Global Const $ec_rightmargin = 2
  88. Global Const $ec_usefontinfo = 65535
  89. Global Const $emsis_compositionstring = 1
  90. Global Const $eimes_getcompstratonce = 1
  91. Global Const $eimes_cancelcompstrinfocus = 2
  92. Global Const $eimes_completecompstrkillfocus = 4
  93. Global Const $en_align_ltr_ec = 1792
  94. Global Const $en_align_rtl_ec = 1793
  95. Global Const $en_change = 768
  96. Global Const $en_errspace = 1280
  97. Global Const $en_hscroll = 1537
  98. Global Const $en_killfocus = 512
  99. Global Const $en_maxtext = 1281
  100. Global Const $en_setfocus = 256
  101. Global Const $en_update = 1024
  102. Global Const $en_vscroll = 1538
  103. Global Const $tti_none = 0
  104. Global Const $tti_info = 1
  105. Global Const $tti_warning = 2
  106. Global Const $tti_error = 3
  107. Global Const $tti_info_large = 4
  108. Global Const $tti_warning_large = 5
  109. Global Const $tti_error_large = 6
  110. Global Const $__editconstant_ws_vscroll = 2097152
  111. Global Const $__editconstant_ws_hscroll = 1048576
  112. Global Const $gui_ss_default_edit = BitOR($es_wantreturn, $__editconstant_ws_vscroll, $__editconstant_ws_hscroll, $es_autovscroll, $es_autohscroll)
  113. Global Const $gui_ss_default_input = BitOR($es_left, $es_autohscroll)
  114. Global Const $gui_event_close = -3
  115. Global Const $gui_event_minimize = -4
  116. Global Const $gui_event_restore = -5
  117. Global Const $gui_event_maximize = -6
  118. Global Const $gui_event_primarydown = -7
  119. Global Const $gui_event_primaryup = -8
  120. Global Const $gui_event_secondarydown = -9
  121. Global Const $gui_event_secondaryup = -10
  122. Global Const $gui_event_mousemove = -11
  123. Global Const $gui_event_resized = -12
  124. Global Const $gui_event_dropped = -13
  125. Global Const $gui_rundefmsg = "GUI_RUNDEFMSG"
  126. Global Const $gui_avistop = 0
  127. Global Const $gui_avistart = 1
  128. Global Const $gui_aviclose = 2
  129. Global Const $gui_checked = 1
  130. Global Const $gui_indeterminate = 2
  131. Global Const $gui_unchecked = 4
  132. Global Const $gui_dropaccepted = 8
  133. Global Const $gui_nodropaccepted = 4096
  134. Global Const $gui_acceptfiles = $gui_dropaccepted
  135. Global Const $gui_show = 16
  136. Global Const $gui_hide = 32
  137. Global Const $gui_enable = 64
  138. Global Const $gui_disable = 128
  139. Global Const $gui_focus = 256
  140. Global Const $gui_nofocus = 8192
  141. Global Const $gui_defbutton = 512
  142. Global Const $gui_expand = 1024
  143. Global Const $gui_ontop = 2048
  144. Global Const $gui_fontitalic = 2
  145. Global Const $gui_fontunder = 4
  146. Global Const $gui_fontstrike = 8
  147. Global Const $gui_dockauto = 1
  148. Global Const $gui_dockleft = 2
  149. Global Const $gui_dockright = 4
  150. Global Const $gui_dockhcenter = 8
  151. Global Const $gui_docktop = 32
  152. Global Const $gui_dockbottom = 64
  153. Global Const $gui_dockvcenter = 128
  154. Global Const $gui_dockwidth = 256
  155. Global Const $gui_dockheight = 512
  156. Global Const $gui_docksize = 768
  157. Global Const $gui_dockmenubar = 544
  158. Global Const $gui_dockstatebar = 576
  159. Global Const $gui_dockall = 802
  160. Global Const $gui_dockborders = 102
  161. Global Const $gui_gr_close = 1
  162. Global Const $gui_gr_line = 2
  163. Global Const $gui_gr_bezier = 4
  164. Global Const $gui_gr_move = 6
  165. Global Const $gui_gr_color = 8
  166. Global Const $gui_gr_rect = 10
  167. Global Const $gui_gr_ellipse = 12
  168. Global Const $gui_gr_pie = 14
  169. Global Const $gui_gr_dot = 16
  170. Global Const $gui_gr_pixel = 18
  171. Global Const $gui_gr_hint = 20
  172. Global Const $gui_gr_refresh = 22
  173. Global Const $gui_gr_pensize = 24
  174. Global Const $gui_gr_nobkcolor = -2
  175. Global Const $gui_bkcolor_default = -1
  176. Global Const $gui_bkcolor_transparent = -2
  177. Global Const $gui_bkcolor_lv_alternate = -33554432
  178. Global Const $gui_ws_ex_parentdrag = 1048576
  179. Global Const $sbars_sizegrip = 256
  180. Global Const $sbt_tooltips = 2048
  181. Global Const $sbars_tooltips = 2048
  182. Global Const $sbt_sunken = 0
  183. Global Const $sbt_noborders = 256
  184. Global Const $sbt_popout = 512
  185. Global Const $sbt_rtlreading = 1024
  186. Global Const $sbt_notabparsing = 2048
  187. Global Const $sbt_ownerdraw = 4096
  188. Global Const $__statusbarconstant_wm_user = 1024
  189. Global Const $sb_getborders = ($__statusbarconstant_wm_user + 7)
  190. Global Const $sb_geticon = ($__statusbarconstant_wm_user + 20)
  191. Global Const $sb_getparts = ($__statusbarconstant_wm_user + 6)
  192. Global Const $sb_getrect = ($__statusbarconstant_wm_user + 10)
  193. Global Const $sb_gettexta = ($__statusbarconstant_wm_user + 2)
  194. Global Const $sb_gettextw = ($__statusbarconstant_wm_user + 13)
  195. Global Const $sb_gettext = $sb_gettexta
  196. Global Const $sb_gettextlengtha = ($__statusbarconstant_wm_user + 3)
  197. Global Const $sb_gettextlengthw = ($__statusbarconstant_wm_user + 12)
  198. Global Const $sb_gettextlength = $sb_gettextlengtha
  199. Global Const $sb_gettiptexta = ($__statusbarconstant_wm_user + 18)
  200. Global Const $sb_gettiptextw = ($__statusbarconstant_wm_user + 19)
  201. Global Const $sb_getunicodeformat = 8192 + 6
  202. Global Const $sb_issimple = ($__statusbarconstant_wm_user + 14)
  203. Global Const $sb_setbkcolor = 8192 + 1
  204. Global Const $sb_seticon = ($__statusbarconstant_wm_user + 15)
  205. Global Const $sb_setminheight = ($__statusbarconstant_wm_user + 8)
  206. Global Const $sb_setparts = ($__statusbarconstant_wm_user + 4)
  207. Global Const $sb_settexta = ($__statusbarconstant_wm_user + 1)
  208. Global Const $sb_settextw = ($__statusbarconstant_wm_user + 11)
  209. Global Const $sb_settext = $sb_settexta
  210. Global Const $sb_settiptexta = ($__statusbarconstant_wm_user + 16)
  211. Global Const $sb_settiptextw = ($__statusbarconstant_wm_user + 17)
  212. Global Const $sb_setunicodeformat = 8192 + 5
  213. Global Const $sb_simple = ($__statusbarconstant_wm_user + 9)
  214. Global Const $sb_simpleid = 255
  215. Global Const $sbn_first = -880
  216. Global Const $sbn_simplemodechange = $sbn_first - 0
  217. Global Const $gmem_fixed = 0
  218. Global Const $gmem_moveable = 2
  219. Global Const $gmem_nocompact = 16
  220. Global Const $gmem_nodiscard = 32
  221. Global Const $gmem_zeroinit = 64
  222. Global Const $gmem_modify = 128
  223. Global Const $gmem_discardable = 256
  224. Global Const $gmem_not_banked = 4096
  225. Global Const $gmem_share = 8192
  226. Global Const $gmem_ddeshare = 8192
  227. Global Const $gmem_notify = 16384
  228. Global Const $gmem_lower = 4096
  229. Global Const $gmem_valid_flags = 32626
  230. Global Const $gmem_invalid_handle = 32768
  231. Global Const $gptr = $gmem_fixed + $gmem_zeroinit
  232. Global Const $ghnd = $gmem_moveable + $gmem_zeroinit
  233. Global Const $mem_commit = 4096
  234. Global Const $mem_reserve = 8192
  235. Global Const $mem_top_down = 1048576
  236. Global Const $mem_shared = 134217728
  237. Global Const $page_noaccess = 1
  238. Global Const $page_readonly = 2
  239. Global Const $page_readwrite = 4
  240. Global Const $page_execute = 16
  241. Global Const $page_execute_read = 32
  242. Global Const $page_execute_readwrite = 64
  243. Global Const $page_guard = 256
  244. Global Const $page_nocache = 512
  245. Global Const $mem_decommit = 16384
  246. Global Const $mem_release = 32768
  247. Global Const $tagpoint = "struct;long X;long Y;endstruct"
  248. Global Const $tagrect = "struct;long Left;long Top;long Right;long Bottom;endstruct"
  249. Global Const $tagsize = "struct;long X;long Y;endstruct"
  250. Global Const $tagmargins = "int cxLeftWidth;int cxRightWidth;int cyTopHeight;int cyBottomHeight"
  251. Global Const $tagfiletime = "struct;dword Lo;dword Hi;endstruct"
  252. Global Const $tagsystemtime = "struct;word Year;word Month;word Dow;word Day;word Hour;word Minute;word Second;word MSeconds;endstruct"
  253. Global Const $tagtime_zone_information = "struct;long Bias;wchar StdName[32];word StdDate[8];long StdBias;wchar DayName[32];word DayDate[8];long DayBias;endstruct"
  254. Global Const $tagnmhdr = "struct;hwnd hWndFrom;uint_ptr IDFrom;INT Code;endstruct"
  255. Global Const $tagcomboboxexitem = "uint Mask;int_ptr Item;ptr Text;int TextMax;int Image;int SelectedImage;int OverlayImage;" & "int Indent;lparam Param"
  256. Global Const $tagnmcbedragbegin = $tagnmhdr & ";int ItemID;wchar szText[260]"
  257. Global Const $tagnmcbeendedit = $tagnmhdr & ";bool fChanged;int NewSelection;wchar szText[260];int Why"
  258. Global Const $tagnmcomboboxex = $tagnmhdr & ";uint Mask;int_ptr Item;ptr Text;int TextMax;int Image;" & "int SelectedImage;int OverlayImage;int Indent;lparam Param"
  259. Global Const $tagdtprange = "word MinYear;word MinMonth;word MinDOW;word MinDay;word MinHour;word MinMinute;" & "word MinSecond;word MinMSecond;word MaxYear;word MaxMonth;word MaxDOW;word MaxDay;word MaxHour;" & "word MaxMinute;word MaxSecond;word MaxMSecond;bool MinValid;bool MaxValid"
  260. Global Const $tagnmdatetimechange = $tagnmhdr & ";dword Flag;" & $tagsystemtime
  261. Global Const $tagnmdatetimeformat = $tagnmhdr & ";ptr Format;" & $tagsystemtime & ";ptr pDisplay;wchar Display[64]"
  262. Global Const $tagnmdatetimeformatquery = $tagnmhdr & ";ptr Format;struct;long SizeX;long SizeY;endstruct"
  263. Global Const $tagnmdatetimekeydown = $tagnmhdr & ";int VirtKey;ptr Format;" & $tagsystemtime
  264. Global Const $tagnmdatetimestring = $tagnmhdr & ";ptr UserString;" & $tagsystemtime & ";dword Flags"
  265. Global Const $tageventlogrecord = "dword Length;dword Reserved;dword RecordNumber;dword TimeGenerated;dword TimeWritten;dword EventID;" & "word EventType;word NumStrings;word EventCategory;word ReservedFlags;dword ClosingRecordNumber;dword StringOffset;" & "dword UserSidLength;dword UserSidOffset;dword DataLength;dword DataOffset"
  266. Global Const $taggdipbitmapdata = "uint Width;uint Height;int Stride;int Format;ptr Scan0;uint_ptr Reserved"
  267. Global Const $taggdipencoderparam = "byte GUID[16];ulong Count;ulong Type;ptr Values"
  268. Global Const $taggdipencoderparams = "uint Count;byte Params[1]"
  269. Global Const $taggdiprectf = "float X;float Y;float Width;float Height"
  270. Global Const $taggdipstartupinput = "uint Version;ptr Callback;bool NoThread;bool NoCodecs"
  271. Global Const $taggdipstartupoutput = "ptr HookProc;ptr UnhookProc"
  272. Global Const $taggdipimagecodecinfo = "byte CLSID[16];byte FormatID[16];ptr CodecName;ptr DllName;ptr FormatDesc;ptr FileExt;" & "ptr MimeType;dword Flags;dword Version;dword SigCount;dword SigSize;ptr SigPattern;ptr SigMask"
  273. Global Const $taggdippencoderparams = "uint Count;byte Params[1]"
  274. Global Const $taghditem = "uint Mask;int XY;ptr Text;handle hBMP;int TextMax;int Fmt;lparam Param;int Image;int Order;uint Type;ptr pFilter;uint State"
  275. Global Const $tagnmhddispinfo = $tagnmhdr & ";int Item;uint Mask;ptr Text;int TextMax;int Image;lparam lParam"
  276. Global Const $tagnmhdfilterbtnclick = $tagnmhdr & ";int Item;" & $tagrect
  277. Global Const $tagnmheader = $tagnmhdr & ";int Item;int Button;ptr pItem"
  278. Global Const $taggetipaddress = "byte Field4;byte Field3;byte Field2;byte Field1"
  279. Global Const $tagnmipaddress = $tagnmhdr & ";int Field;int Value"
  280. Global Const $taglvfindinfo = "struct;uint Flags;ptr Text;lparam Param;" & $tagpoint & ";uint Direction;endstruct"
  281. Global Const $taglvhittestinfo = $tagpoint & ";uint Flags;int Item;int SubItem;int iGroup"
  282. Global Const $taglvitem = "struct;uint Mask;int Item;int SubItem;uint State;uint StateMask;ptr Text;int TextMax;int Image;lparam Param;" & "int Indent;int GroupID;uint Columns;ptr pColumns;ptr piColFmt;int iGroup;endstruct"
  283. Global Const $tagnmlistview = $tagnmhdr & ";int Item;int SubItem;uint NewState;uint OldState;uint Changed;" & "struct;long ActionX;long ActionY;endstruct;lparam Param"
  284. Global Const $tagnmlvcustomdraw = "struct;" & $tagnmhdr & ";dword dwDrawStage;handle hdc;" & $tagrect & ";dword_ptr dwItemSpec;uint uItemState;lparam lItemlParam;endstruct" & ";dword clrText;dword clrTextBk;int iSubItem;dword dwItemType;dword clrFace;int iIconEffect;" & "int iIconPhase;int iPartId;int iStateId;struct;long TextLeft;long TextTop;long TextRight;long TextBottom;endstruct;uint uAlign"
  285. Global Const $tagnmlvdispinfo = $tagnmhdr & ";" & $taglvitem
  286. Global Const $tagnmlvfinditem = $tagnmhdr & ";int Start;" & $taglvfindinfo
  287. Global Const $tagnmlvgetinfotip = $tagnmhdr & ";dword Flags;ptr Text;int TextMax;int Item;int SubItem;lparam lParam"
  288. Global Const $tagnmitemactivate = $tagnmhdr & ";int Index;int SubItem;uint NewState;uint OldState;uint Changed;" & $tagpoint & ";lparam lParam;uint KeyFlags"
  289. Global Const $tagnmlvkeydown = "align 1;" & $tagnmhdr & ";word VKey;uint Flags"
  290. Global Const $tagnmlvscroll = $tagnmhdr & ";int DX;int DY"
  291. Global Const $tagmchittestinfo = "uint Size;" & $tagpoint & ";uint Hit;" & $tagsystemtime & ";" & $tagrect & ";int iOffset;int iRow;int iCol"
  292. Global Const $tagmcmonthrange = "word MinYear;word MinMonth;word MinDOW;word MinDay;word MinHour;word MinMinute;word MinSecond;" & "word MinMSeconds;word MaxYear;word MaxMonth;word MaxDOW;word MaxDay;word MaxHour;word MaxMinute;word MaxSecond;" & "word MaxMSeconds;short Span"
  293. Global Const $tagmcrange = "word MinYear;word MinMonth;word MinDOW;word MinDay;word MinHour;word MinMinute;word MinSecond;" & "word MinMSeconds;word MaxYear;word MaxMonth;word MaxDOW;word MaxDay;word MaxHour;word MaxMinute;word MaxSecond;" & "word MaxMSeconds;short MinSet;short MaxSet"
  294. Global Const $tagmcselrange = "word MinYear;word MinMonth;word MinDOW;word MinDay;word MinHour;word MinMinute;word MinSecond;" & "word MinMSeconds;word MaxYear;word MaxMonth;word MaxDOW;word MaxDay;word MaxHour;word MaxMinute;word MaxSecond;" & "word MaxMSeconds"
  295. Global Const $tagnmdaystate = $tagnmhdr & ";" & $tagsystemtime & ";int DayState;ptr pDayState"
  296. Global Const $tagnmselchange = $tagnmhdr & ";struct;word BegYear;word BegMonth;word BegDOW;word BegDay;word BegHour;word BegMinute;word BegSecond;word BegMSeconds;endstruct;" & "struct;word EndYear;word EndMonth;word EndDOW;word EndDay;word EndHour;word EndMinute;word EndSecond;word EndMSeconds;endstruct"
  297. Global Const $tagnmobjectnotify = $tagnmhdr & ";int Item;ptr piid;ptr pObject;long Result;dword dwFlags"
  298. Global Const $tagnmtckeydown = "align 1;" & $tagnmhdr & ";word VKey;uint Flags"
  299. Global Const $tagtvitem = "struct;uint Mask;handle hItem;uint State;uint StateMask;ptr Text;int TextMax;int Image;int SelectedImage;" & "int Children;lparam Param;endstruct"
  300. Global Const $tagtvitemex = "struct;" & $tagtvitem & ";int Integral;uint uStateEx;hwnd hwnd;int iExpandedImage;int iReserved;endstruct"
  301. Global Const $tagnmtreeview = $tagnmhdr & ";uint Action;" & "struct;uint OldMask;handle OldhItem;uint OldState;uint OldStateMask;" & "ptr OldText;int OldTextMax;int OldImage;int OldSelectedImage;int OldChildren;lparam OldParam;endstruct;" & "struct;uint NewMask;handle NewhItem;uint NewState;uint NewStateMask;" & "ptr NewText;int NewTextMax;int NewImage;int NewSelectedImage;int NewChildren;lparam NewParam;endstruct;" & "struct;long PointX;long PointY;endstruct"
  302. Global Const $tagnmtvcustomdraw = "struct;" & $tagnmhdr & ";dword DrawStage;handle HDC;" & $tagrect & ";dword_ptr ItemSpec;uint ItemState;lparam ItemParam;endstruct" & ";dword ClrText;dword ClrTextBk;int Level"
  303. Global Const $tagnmtvdispinfo = $tagnmhdr & ";" & $tagtvitem
  304. Global Const $tagnmtvgetinfotip = $tagnmhdr & ";ptr Text;int TextMax;handle hItem;lparam lParam"
  305. Global Const $tagtvhittestinfo = $tagpoint & ";uint Flags;handle Item"
  306. Global Const $tagnmtvkeydown = "align 1;" & $tagnmhdr & ";word VKey;uint Flags"
  307. Global Const $tagnmmouse = $tagnmhdr & ";dword_ptr ItemSpec;dword_ptr ItemData;" & $tagpoint & ";lparam HitInfo"
  308. Global Const $tagtoken_privileges = "dword Count;align 4;int64 LUID;dword Attributes"
  309. Global Const $tagimageinfo = "handle hBitmap;handle hMask;int Unused1;int Unused2;" & $tagrect
  310. Global Const $tagmenuinfo = "dword Size;INT Mask;dword Style;uint YMax;handle hBack;dword ContextHelpID;ulong_ptr MenuData"
  311. Global Const $tagmenuiteminfo = "uint Size;uint Mask;uint Type;uint State;uint ID;handle SubMenu;handle BmpChecked;handle BmpUnchecked;" & "ulong_ptr ItemData;ptr TypeData;uint CCH;handle BmpItem"
  312. Global Const $tagrebarbandinfo = "uint cbSize;uint fMask;uint fStyle;dword clrFore;dword clrBack;ptr lpText;uint cch;" & "int iImage;hwnd hwndChild;uint cxMinChild;uint cyMinChild;uint cx;handle hbmBack;uint wID;uint cyChild;uint cyMaxChild;" & "uint cyIntegral;uint cxIdeal;lparam lParam;uint cxHeader;" & $tagrect & ";uint uChevronState"
  313. Global Const $tagnmrebarautobreak = $tagnmhdr & ";uint uBand;uint wID;lparam lParam;uint uMsg;uint fStyleCurrent;bool fAutoBreak"
  314. Global Const $tagnmrbautosize = $tagnmhdr & ";bool fChanged;" & "struct;long TargetLeft;long TargetTop;long TargetRight;long TargetBottom;endstruct;" & "struct;long ActualLeft;long ActualTop;long ActualRight;long ActualBottom;endstruct"
  315. Global Const $tagnmrebar = $tagnmhdr & ";dword dwMask;uint uBand;uint fStyle;uint wID;lparam lParam"
  316. Global Const $tagnmrebarchevron = $tagnmhdr & ";uint uBand;uint wID;lparam lParam;" & $tagrect & ";lparam lParamNM"
  317. Global Const $tagnmrebarchildsize = $tagnmhdr & ";uint uBand;uint wID;" & "struct;long CLeft;long CTop;long CRight;long CBottom;endstruct;" & "struct;long BLeft;long BTop;long BRight;long BBottom;endstruct"
  318. Global Const $tagcolorscheme = "dword Size;dword BtnHighlight;dword BtnShadow"
  319. Global Const $tagnmtoolbar = $tagnmhdr & ";int iItem;" & "struct;int iBitmap;int idCommand;byte fsState;byte fsStyle;dword_ptr dwData;int_ptr iString;endstruct" & ";int cchText;ptr pszText;" & $tagrect
  320. Global Const $tagnmtbhotitem = $tagnmhdr & ";int idOld;int idNew;dword dwFlags"
  321. Global Const $tagtbbutton = "int Bitmap;int Command;byte State;byte Style;align;dword_ptr Param;int_ptr String"
  322. Global Const $tagtbbuttoninfo = "uint Size;dword Mask;int Command;int Image;byte State;byte Style;word CX;dword_ptr Param;ptr Text;int TextMax"
  323. Global Const $tagnetresource = "dword Scope;dword Type;dword DisplayType;dword Usage;ptr LocalName;ptr RemoteName;ptr Comment;ptr Provider"
  324. Global Const $tagoverlapped = "ulong_ptr Internal;ulong_ptr InternalHigh;struct;dword Offset;dword OffsetHigh;endstruct;handle hEvent"
  325. Global Const $tagopenfilename = "dword StructSize;hwnd hwndOwner;handle hInstance;ptr lpstrFilter;ptr lpstrCustomFilter;" & "dword nMaxCustFilter;dword nFilterIndex;ptr lpstrFile;dword nMaxFile;ptr lpstrFileTitle;dword nMaxFileTitle;" & "ptr lpstrInitialDir;ptr lpstrTitle;dword Flags;word nFileOffset;word nFileExtension;ptr lpstrDefExt;lparam lCustData;" & "ptr lpfnHook;ptr lpTemplateName;ptr pvReserved;dword dwReserved;dword FlagsEx"
  326. Global Const $tagbitmapinfo = "struct;dword Size;long Width;long Height;word Planes;word BitCount;dword Compression;dword SizeImage;" & "long XPelsPerMeter;long YPelsPerMeter;dword ClrUsed;dword ClrImportant;endstruct;dword RGBQuad"
  327. Global Const $tagblendfunction = "byte Op;byte Flags;byte Alpha;byte Format"
  328. Global Const $tagguid = "ulong Data1;ushort Data2;ushort Data3;byte Data4[8]"
  329. Global Const $tagwindowplacement = "uint length;uint flags;uint showCmd;long ptMinPosition[2];long ptMaxPosition[2];long rcNormalPosition[4]"
  330. Global Const $tagwindowpos = "hwnd hWnd;hwnd InsertAfter;int X;int Y;int CX;int CY;uint Flags"
  331. Global Const $tagscrollinfo = "uint cbSize;uint fMask;int nMin;int nMax;uint nPage;int nPos;int nTrackPos"
  332. Global Const $tagscrollbarinfo = "dword cbSize;" & $tagrect & ";int dxyLineButton;int xyThumbTop;" & "int xyThumbBottom;int reserved;dword rgstate[6]"
  333. Global Const $taglogfont = "long Height;long Width;long Escapement;long Orientation;long Weight;byte Italic;byte Underline;" & "byte Strikeout;byte CharSet;byte OutPrecision;byte ClipPrecision;byte Quality;byte PitchAndFamily;wchar FaceName[32]"
  334. Global Const $tagkbdllhookstruct = "dword vkCode;dword scanCode;dword flags;dword time;ulong_ptr dwExtraInfo"
  335. Global Const $tagprocess_information = "handle hProcess;handle hThread;dword ProcessID;dword ThreadID"
  336. Global Const $tagstartupinfo = "dword Size;ptr Reserved1;ptr Desktop;ptr Title;dword X;dword Y;dword XSize;dword YSize;dword XCountChars;" & "dword YCountChars;dword FillAttribute;dword Flags;word ShowWindow;word Reserved2;ptr Reserved3;handle StdInput;" & "handle StdOutput;handle StdError"
  337. Global Const $tagsecurity_attributes = "dword Length;ptr Descriptor;bool InheritHandle"
  338. Global Const $tagwin32_find_data = "dword dwFileAttributes;dword ftCreationTime[2];dword ftLastAccessTime[2];dword ftLastWriteTime[2];dword nFileSizeHigh;dword nFileSizeLow;dword dwReserved0;dword dwReserved1;wchar cFileName[260];wchar cAlternateFileName[14]"
  339. Global Const $tagtextmetric = "long tmHeight;long tmAscent;long tmDescent;long tmInternalLeading;long tmExternalLeading;" & "long tmAveCharWidth;long tmMaxCharWidth;long tmWeight;long tmOverhang;long tmDigitizedAspectX;long tmDigitizedAspectY;" & "wchar tmFirstChar;wchar tmLastChar;wchar tmDefaultChar;wchar tmBreakChar;byte tmItalic;byte tmUnderlined;byte tmStruckOut;" & "byte tmPitchAndFamily;byte tmCharSet"
  340. Global Const $process_terminate = 1
  341. Global Const $process_create_thread = 2
  342. Global Const $process_set_sessionid = 4
  343. Global Const $process_vm_operation = 8
  344. Global Const $process_vm_read = 16
  345. Global Const $process_vm_write = 32
  346. Global Const $process_dup_handle = 64
  347. Global Const $process_create_process = 128
  348. Global Const $process_set_quota = 256
  349. Global Const $process_set_information = 512
  350. Global Const $process_query_information = 1024
  351. Global Const $process_suspend_resume = 2048
  352. Global Const $process_all_access = 2035711
  353. Global Const $error_no_token = 1008
  354. Global Const $se_assignprimarytoken_name = "SeAssignPrimaryTokenPrivilege"
  355. Global Const $se_audit_name = "SeAuditPrivilege"
  356. Global Const $se_backup_name = "SeBackupPrivilege"
  357. Global Const $se_change_notify_name = "SeChangeNotifyPrivilege"
  358. Global Const $se_create_global_name = "SeCreateGlobalPrivilege"
  359. Global Const $se_create_pagefile_name = "SeCreatePagefilePrivilege"
  360. Global Const $se_create_permanent_name = "SeCreatePermanentPrivilege"
  361. Global Const $se_create_token_name = "SeCreateTokenPrivilege"
  362. Global Const $se_debug_name = "SeDebugPrivilege"
  363. Global Const $se_enable_delegation_name = "SeEnableDelegationPrivilege"
  364. Global Const $se_impersonate_name = "SeImpersonatePrivilege"
  365. Global Const $se_inc_base_priority_name = "SeIncreaseBasePriorityPrivilege"
  366. Global Const $se_increase_quota_name = "SeIncreaseQuotaPrivilege"
  367. Global Const $se_load_driver_name = "SeLoadDriverPrivilege"
  368. Global Const $se_lock_memory_name = "SeLockMemoryPrivilege"
  369. Global Const $se_machine_account_name = "SeMachineAccountPrivilege"
  370. Global Const $se_manage_volume_name = "SeManageVolumePrivilege"
  371. Global Const $se_prof_single_process_name = "SeProfileSingleProcessPrivilege"
  372. Global Const $se_remote_shutdown_name = "SeRemoteShutdownPrivilege"
  373. Global Const $se_restore_name = "SeRestorePrivilege"
  374. Global Const $se_security_name = "SeSecurityPrivilege"
  375. Global Const $se_shutdown_name = "SeShutdownPrivilege"
  376. Global Const $se_sync_agent_name = "SeSyncAgentPrivilege"
  377. Global Const $se_system_environment_name = "SeSystemEnvironmentPrivilege"
  378. Global Const $se_system_profile_name = "SeSystemProfilePrivilege"
  379. Global Const $se_systemtime_name = "SeSystemtimePrivilege"
  380. Global Const $se_take_ownership_name = "SeTakeOwnershipPrivilege"
  381. Global Const $se_tcb_name = "SeTcbPrivilege"
  382. Global Const $se_unsolicited_input_name = "SeUnsolicitedInputPrivilege"
  383. Global Const $se_undock_name = "SeUndockPrivilege"
  384. Global Const $se_privilege_enabled_by_default = 1
  385. Global Const $se_privilege_enabled = 2
  386. Global Const $se_privilege_removed = 4
  387. Global Const $se_privilege_used_for_access = -2147483648
  388. Global Const $se_group_mandatory = 1
  389. Global Const $se_group_enabled_by_default = 2
  390. Global Const $se_group_enabled = 4
  391. Global Const $se_group_owner = 8
  392. Global Const $se_group_use_for_deny_only = 16
  393. Global Const $se_group_integrity = 32
  394. Global Const $se_group_integrity_enabled = 64
  395. Global Const $se_group_resource = 536870912
  396. Global Const $se_group_logon_id = -1073741824
  397. Global Enum $tokenprimary = 1, $tokenimpersonation
  398. Global Enum $securityanonymous = 0, $securityidentification, $securityimpersonation, $securitydelegation
  399. Global Enum $tokenuser = 1, $tokengroups, $tokenprivileges, $tokenowner, $tokenprimarygroup, $tokendefaultdacl, $tokensource, $tokentype, $tokenimpersonationlevel, $tokenstatistics, $tokenrestrictedsids, $tokensessionid, $tokengroupsandprivileges, $tokensessionreference, $tokensandboxinert, $tokenauditpolicy, $tokenorigin, $tokenelevationtype, $tokenlinkedtoken, $tokenelevation, $tokenhasrestrictions, $tokenaccessinformation, $tokenvirtualizationallowed, $tokenvirtualizationenabled, $tokenintegritylevel, $tokenuiaccess, $tokenmandatorypolicy, $tokenlogonsid
  400. Global Const $token_assign_primary = 1
  401. Global Const $token_duplicate = 2
  402. Global Const $token_impersonate = 4
  403. Global Const $token_query = 8
  404. Global Const $token_query_source = 16
  405. Global Const $token_adjust_privileges = 32
  406. Global Const $token_adjust_groups = 64
  407. Global Const $token_adjust_default = 128
  408. Global Const $token_adjust_sessionid = 256
  409. Global Const $token_all_access = 983551
  410. Global Const $token_read = 131080
  411. Global Const $token_write = 131296
  412. Global Const $token_execute = 131072
  413. Global Const $token_has_traverse_privilege = 1
  414. Global Const $token_has_backup_privilege = 2
  415. Global Const $token_has_restore_privilege = 4
  416. Global Const $token_has_admin_group = 8
  417. Global Const $token_is_restricted = 16
  418. Global Const $token_session_not_referenced = 32
  419. Global Const $token_sandbox_inert = 64
  420. Global Const $token_has_impersonate_privilege = 128
  421. Global Const $rights_delete = 65536
  422. Global Const $read_control = 131072
  423. Global Const $write_dac = 262144
  424. Global Const $write_owner = 524288
  425. Global Const $synchronize = 1048576
  426. Global Const $standard_rights_required = 983040
  427. Global Const $standard_rights_read = $read_control
  428. Global Const $standard_rights_write = $read_control
  429. Global Const $standard_rights_execute = $read_control
  430. Global Const $standard_rights_all = 2031616
  431. Global Const $specific_rights_all = 65535
  432. Global Enum $not_used_access = 0, $grant_access, $set_access, $deny_access, $revoke_access, $set_audit_success, $set_audit_failure
  433. Global Enum $trustee_is_unknown = 0, $trustee_is_user, $trustee_is_group, $trustee_is_domain, $trustee_is_alias, $trustee_is_well_known_group, $trustee_is_deleted, $trustee_is_invalid, $trustee_is_computer
  434. Global Const $logon_with_profile = 1
  435. Global Const $logon_netcredentials_only = 2
  436. Global Enum $sidtypeuser = 1, $sidtypegroup, $sidtypedomain, $sidtypealias, $sidtypewellknowngroup, $sidtypedeletedaccount, $sidtypeinvalid, $sidtypeunknown, $sidtypecomputer, $sidtypelabel
  437. Global Const $sid_administrators = "S-1-5-32-544"
  438. Global Const $sid_users = "S-1-5-32-545"
  439. Global Const $sid_guests = "S-1-5-32-546"
  440. Global Const $sid_account_operators = "S-1-5-32-548"
  441. Global Const $sid_server_operators = "S-1-5-32-549"
  442. Global Const $sid_print_operators = "S-1-5-32-550"
  443. Global Const $sid_backup_operators = "S-1-5-32-551"
  444. Global Const $sid_replicator = "S-1-5-32-552"
  445. Global Const $sid_owner = "S-1-3-0"
  446. Global Const $sid_everyone = "S-1-1-0"
  447. Global Const $sid_network = "S-1-5-2"
  448. Global Const $sid_interactive = "S-1-5-4"
  449. Global Const $sid_system = "S-1-5-18"
  450. Global Const $sid_authenticated_users = "S-1-5-11"
  451. Global Const $sid_schannel_authentication = "S-1-5-64-14"
  452. Global Const $sid_digest_authentication = "S-1-5-64-21"
  453. Global Const $sid_nt_service = "S-1-5-80"
  454. Global Const $sid_untrusted_mandatory_level = "S-1-16-0"
  455. Global Const $sid_low_mandatory_level = "S-1-16-4096"
  456. Global Const $sid_medium_mandatory_level = "S-1-16-8192"
  457. Global Const $sid_medium_plus_mandatory_level = "S-1-16-8448"
  458. Global Const $sid_high_mandatory_level = "S-1-16-12288"
  459. Global Const $sid_system_ma
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement