APIRegConstants.au3 4.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  1. #include-once
  2. ; #INDEX# =======================================================================================================================
  3. ; Title .........: WinAPIReg 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_AssocGetPerceivedType()
  11. Global Const $PERCEIVED_TYPE_CUSTOM = -3
  12. Global Const $PERCEIVED_TYPE_UNSPECIFIED = -2
  13. Global Const $PERCEIVED_TYPE_FOLDER = -1
  14. Global Const $PERCEIVED_TYPE_UNKNOWN = 0
  15. Global Const $PERCEIVED_TYPE_TEXT = 1
  16. Global Const $PERCEIVED_TYPE_IMAGE = 2
  17. Global Const $PERCEIVED_TYPE_AUDIO = 3
  18. Global Const $PERCEIVED_TYPE_VIDEO = 4
  19. Global Const $PERCEIVED_TYPE_COMPRESSED = 5
  20. Global Const $PERCEIVED_TYPE_DOCUMENT = 6
  21. Global Const $PERCEIVED_TYPE_SYSTEM = 7
  22. Global Const $PERCEIVED_TYPE_APPLICATION = 8
  23. Global Const $PERCEIVED_TYPE_GAMEMEDIA = 9
  24. Global Const $PERCEIVED_TYPE_CONTACTS = 10
  25. Global Const $PERCEIVEDFLAG_UNDEFINED = 0x0000
  26. Global Const $PERCEIVEDFLAG_SOFTCODED = 0x0001
  27. Global Const $PERCEIVEDFLAG_HARDCODED = 0x0002
  28. Global Const $PERCEIVEDFLAG_NATIVESUPPORT = 0x0004
  29. Global Const $PERCEIVEDFLAG_GDIPLUS = 0x0010
  30. Global Const $PERCEIVEDFLAG_WMSDK = 0x0020
  31. Global Const $PERCEIVEDFLAG_ZIPFOLDER = 0x0040
  32. ; _WinAPI_AssocQueryString()
  33. Global Const $ASSOCSTR_COMMAND = 1
  34. Global Const $ASSOCSTR_EXECUTABLE = 2
  35. Global Const $ASSOCSTR_FRIENDLYDOCNAME = 3
  36. Global Const $ASSOCSTR_FRIENDLYAPPNAME = 4
  37. Global Const $ASSOCSTR_NOOPEN = 5
  38. Global Const $ASSOCSTR_SHELLNEWVALUE = 6
  39. Global Const $ASSOCSTR_DDECOMMAND = 7
  40. Global Const $ASSOCSTR_DDEIFEXEC = 8
  41. Global Const $ASSOCSTR_DDEAPPLICATION = 9
  42. Global Const $ASSOCSTR_DDETOPIC = 10
  43. Global Const $ASSOCSTR_INFOTIP = 11
  44. Global Const $ASSOCSTR_QUICKTIP = 12
  45. Global Const $ASSOCSTR_TILEINFO = 13
  46. Global Const $ASSOCSTR_CONTENTTYPE = 14
  47. Global Const $ASSOCSTR_DEFAULTICON = 15
  48. Global Const $ASSOCSTR_SHELLEXTENSION = 16
  49. Global Const $ASSOCF_INIT_NOREMAPCLSID = 0x00000001
  50. Global Const $ASSOCF_INIT_BYEXENAME = 0x00000002
  51. Global Const $ASSOCF_OPEN_BYEXENAME = 0x00000002
  52. Global Const $ASSOCF_INIT_DEFAULTTOSTAR = 0x00000004
  53. Global Const $ASSOCF_INIT_DEFAULTTOFOLDER = 0x00000008
  54. Global Const $ASSOCF_NOUSERSETTINGS = 0x00000010
  55. Global Const $ASSOCF_NOTRUNCATE = 0x00000020
  56. Global Const $ASSOCF_VERIFY = 0x00000040
  57. Global Const $ASSOCF_REMAPRUNDLL = 0x00000080
  58. Global Const $ASSOCF_NOFIXUPS = 0x00000100
  59. Global Const $ASSOCF_IGNOREBASECLASS = 0x00000200
  60. Global Const $ASSOCF_INIT_IGNOREUNKNOWN = 0x00000400
  61. ; _WinAPI_Reg...
  62. Global Const $HKEY_CLASSES_ROOT = 0x80000000
  63. Global Const $HKEY_CURRENT_CONFIG = 0x80000005
  64. Global Const $HKEY_CURRENT_USER = 0x80000001
  65. Global Const $HKEY_LOCAL_MACHINE = 0x80000002
  66. Global Const $HKEY_PERFORMANCE_DATA = 0x80000004
  67. Global Const $HKEY_PERFORMANCE_NLSTEXT = 0x80000060
  68. Global Const $HKEY_PERFORMANCE_TEXT = 0x80000050
  69. Global Const $HKEY_USERS = 0x80000003
  70. Global Const $KEY_CREATE_LINK = 0x0020
  71. Global Const $KEY_CREATE_SUB_KEY = 0x0004
  72. Global Const $KEY_ENUMERATE_SUB_KEYS = 0x0008
  73. Global Const $KEY_NOTIFY = 0x0010
  74. Global Const $KEY_QUERY_VALUE = 0x0001
  75. Global Const $KEY_SET_VALUE = 0x0002
  76. Global Const $KEY_WOW64_32KEY = 0x0200
  77. Global Const $KEY_WOW64_64KEY = 0x0100
  78. Global Const $KEY_READ = 0x00020019 ; BitOR($STANDARD_RIGHTS_READ, $KEY_QUERY_VALUE, $KEY_ENUMERATE_SUB_KEYS, $KEY_NOTIFY)
  79. Global Const $KEY_WRITE = 0x00020006 ; BitOR($STANDARD_RIGHTS_WRITE, $KEY_SET_VALUE, $KEY_CREATE_SUB_KEY)
  80. Global Const $KEY_EXECUTE = $KEY_READ
  81. Global Const $KEY_ALL_ACCESS = 0x000f003f ; BitOR($STANDARD_RIGHTS_REQUIRED, $KEY_QUERY_VALUE, $KEY_SET_VALUE, $KEY_CREATE_SUB_KEY, $KEY_ENUMERATE_SUB_KEYS, $KEY_NOTIFY, $KEY_CREATE_LINK)
  82. Global Const $REG_NOTIFY_CHANGE_NAME = 0x01
  83. Global Const $REG_NOTIFY_CHANGE_ATTRIBUTES = 0x02
  84. Global Const $REG_NOTIFY_CHANGE_LAST_SET = 0x04
  85. Global Const $REG_NOTIFY_CHANGE_SECURITY = 0x08
  86. Global Const $REG_OPTION_BACKUP_RESTORE = 0x04
  87. Global Const $REG_OPTION_CREATE_LINK = 0x02
  88. Global Const $REG_OPTION_NON_VOLATILE = 0x00
  89. Global Const $REG_OPTION_VOLATILE = 0x01
  90. ; ===============================================================================================================================