Funktionierender Prototyp des Serious Games zur Vermittlung von Wissen zu Software-Engineering-Arbeitsmodellen.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

shellcon.py 48KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733743753763773783793803813823833843853863873883893903913923933943953963973983994004014024034044054064074084094104114124134144154164174184194204214224234244254264274284294304314324334344354364374384394404414424434444454464474484494504514524534544554564574584594604614624634644654664674684694704714724734744754764774784794804814824834844854864874884894904914924934944954964974984995005015025035045055065075085095105115125135145155165175185195205215225235245255265275285295305315325335345355365375385395405415425435445455465475485495505515525535545555565575585595605615625635645655665675685695705715725735745755765775785795805815825835845855865875885895905915925935945955965975985996006016026036046056066076086096106116126136146156166176186196206216226236246256266276286296306316326336346356366376386396406416426436446456466476486496506516526536546556566576586596606616626636646656666676686696706716726736746756766776786796806816826836846856866876886896906916926936946956966976986997007017027037047057067077087097107117127137147157167177187197207217227237247257267277287297307317327337347357367377387397407417427437447457467477487497507517527537547557567577587597607617627637647657667677687697707717727737747757767777787797807817827837847857867877887897907917927937947957967977987998008018028038048058068078088098108118128138148158168178188198208218228238248258268278288298308318328338348358368378388398408418428438448458468478488498508518528538548558568578588598608618628638648658668678688698708718728738748758768778788798808818828838848858868878888898908918928938948958968978988999009019029039049059069079089099109119129139149159169179189199209219229239249259269279289299309319329339349359369379389399409419429439449459469479489499509519529539549559569579589599609619629639649659669679689699709719729739749759769779789799809819829839849859869879889899909919929939949959969979989991000100110021003100410051006100710081009101010111012101310141015101610171018101910201021102210231024102510261027102810291030103110321033103410351036103710381039104010411042104310441045104610471048104910501051105210531054105510561057105810591060106110621063106410651066106710681069107010711072107310741075107610771078107910801081108210831084108510861087108810891090109110921093109410951096109710981099110011011102110311041105110611071108110911101111111211131114111511161117111811191120112111221123112411251126112711281129113011311132113311341135113611371138113911401141114211431144114511461147114811491150115111521153115411551156115711581159116011611162116311641165116611671168116911701171117211731174117511761177117811791180118111821183118411851186118711881189119011911192119311941195119611971198119912001201120212031204120512061207120812091210121112121213121412151216121712181219122012211222122312241225122612271228122912301231123212331234123512361237123812391240124112421243124412451246124712481249125012511252125312541255125612571258125912601261126212631264126512661267126812691270127112721273127412751276127712781279128012811282128312841285128612871288128912901291129212931294129512961297129812991300130113021303130413051306130713081309131013111312131313141315131613171318131913201321132213231324132513261327132813291330133113321333133413351336133713381339134013411342134313441345134613471348134913501351135213531354135513561357135813591360136113621363136413651366136713681369137013711372137313741375137613771378137913801381138213831384138513861387138813891390139113921393139413951396139713981399140014011402140314041405140614071408140914101411141214131414141514161417141814191420142114221423142414251426142714281429143014311432143314341435143614371438143914401441144214431444144514461447144814491450145114521453145414551456145714581459146014611462146314641465146614671468146914701471147214731474147514761477147814791480148114821483148414851486148714881489149014911492149314941495149614971498149915001501150215031504150515061507150815091510151115121513151415151516151715181519152015211522152315241525152615271528152915301531153215331534153515361537153815391540154115421543154415451546154715481549155015511552155315541555155615571558155915601561156215631564156515661567156815691570157115721573157415751576157715781579158015811582158315841585158615871588158915901591159215931594159515961597
  1. # Generated by h2py from \mssdk\include\shlobj.h and shellapi.h
  2. WM_USER = 1024
  3. DROPEFFECT_NONE = 0
  4. DROPEFFECT_COPY = 1
  5. DROPEFFECT_MOVE = 2
  6. DROPEFFECT_LINK = 4
  7. DROPEFFECT_SCROLL = -2147483648
  8. FO_MOVE = 1
  9. FO_COPY = 2
  10. FO_DELETE = 3
  11. FO_RENAME = 4
  12. ## File operation flags used with shell.SHFileOperation
  13. FOF_MULTIDESTFILES = 1
  14. FOF_CONFIRMMOUSE = 2
  15. FOF_SILENT = 4
  16. FOF_RENAMEONCOLLISION = 8
  17. FOF_NOCONFIRMATION = 16
  18. FOF_WANTMAPPINGHANDLE = 32
  19. FOF_ALLOWUNDO = 64
  20. FOF_FILESONLY = 128
  21. FOF_SIMPLEPROGRESS = 256
  22. FOF_NOCONFIRMMKDIR = 512
  23. FOF_NOERRORUI = 1024
  24. FOF_NOCOPYSECURITYATTRIBS = 2048
  25. FOF_NORECURSION = 4096
  26. FOF_NO_CONNECTED_ELEMENTS = 8192
  27. FOF_WANTNUKEWARNING = 16384
  28. FOF_NORECURSEREPARSE = 32768
  29. FOF_NO_UI = FOF_SILENT | FOF_NOCONFIRMATION | FOF_NOERRORUI | FOF_NOCONFIRMMKDIR
  30. ## Extended file operation flags, used with IFileOperation
  31. FOFX_NOSKIPJUNCTIONS = 0x00010000
  32. FOFX_PREFERHARDLINK = 0x00020000
  33. FOFX_SHOWELEVATIONPROMPT = 0x00040000
  34. FOFX_EARLYFAILURE = 0x00100000
  35. FOFX_PRESERVEFILEEXTENSIONS = 0x00200000
  36. FOFX_KEEPNEWERFILE = 0x00400000
  37. FOFX_NOCOPYHOOKS = 0x00800000
  38. FOFX_NOMINIMIZEBOX = 0x01000000
  39. FOFX_MOVEACLSACROSSVOLUMES = 0x02000000
  40. FOFX_DONTDISPLAYSOURCEPATH = 0x04000000
  41. FOFX_DONTDISPLAYDESTPATH = 0x08000000
  42. FOFX_REQUIREELEVATION = 0x10000000
  43. FOFX_COPYASDOWNLOAD = 0x40000000
  44. FOFX_DONTDISPLAYLOCATIONS = 0x80000000
  45. PO_DELETE = 19
  46. PO_RENAME = 20
  47. PO_PORTCHANGE = 32
  48. PO_REN_PORT = 52
  49. SE_ERR_FNF = 2
  50. SE_ERR_PNF = 3
  51. SE_ERR_ACCESSDENIED = 5
  52. SE_ERR_OOM = 8
  53. SE_ERR_DLLNOTFOUND = 32
  54. SE_ERR_SHARE = 26
  55. SE_ERR_ASSOCINCOMPLETE = 27
  56. SE_ERR_DDETIMEOUT = 28
  57. SE_ERR_DDEFAIL = 29
  58. SE_ERR_DDEBUSY = 30
  59. SE_ERR_NOASSOC = 31
  60. SEE_MASK_CLASSNAME = 1
  61. SEE_MASK_CLASSKEY = 3
  62. SEE_MASK_IDLIST = 4
  63. SEE_MASK_INVOKEIDLIST = 12
  64. SEE_MASK_ICON = 16
  65. SEE_MASK_HOTKEY = 32
  66. SEE_MASK_NOCLOSEPROCESS = 64
  67. SEE_MASK_CONNECTNETDRV = 128
  68. SEE_MASK_FLAG_DDEWAIT = 256
  69. SEE_MASK_DOENVSUBST = 512
  70. SEE_MASK_FLAG_NO_UI = 1024
  71. SEE_MASK_UNICODE = 16384
  72. SEE_MASK_NO_CONSOLE = 32768
  73. SEE_MASK_ASYNCOK = 1048576
  74. SEE_MASK_HMONITOR = 2097152
  75. SHERB_NOCONFIRMATION = 1
  76. SHERB_NOPROGRESSUI = 2
  77. SHERB_NOSOUND = 4
  78. NIM_ADD = 0
  79. NIM_MODIFY = 1
  80. NIM_DELETE = 2
  81. NIF_MESSAGE = 1
  82. NIF_ICON = 2
  83. NIF_TIP = 4
  84. SHGFI_ICON = 256
  85. SHGFI_DISPLAYNAME = 512
  86. SHGFI_TYPENAME = 1024
  87. SHGFI_ATTRIBUTES = 2048
  88. SHGFI_ICONLOCATION = 4096
  89. SHGFI_EXETYPE = 8192
  90. SHGFI_SYSICONINDEX = 16384
  91. SHGFI_LINKOVERLAY = 32768
  92. SHGFI_SELECTED = 65536
  93. SHGFI_ATTR_SPECIFIED = 131072
  94. SHGFI_LARGEICON = 0
  95. SHGFI_SMALLICON = 1
  96. SHGFI_OPENICON = 2
  97. SHGFI_SHELLICONSIZE = 4
  98. SHGFI_PIDL = 8
  99. SHGFI_USEFILEATTRIBUTES = 16
  100. SHGNLI_PIDL = 1
  101. SHGNLI_PREFIXNAME = 2
  102. SHGNLI_NOUNIQUE = 4
  103. PRINTACTION_OPEN = 0
  104. PRINTACTION_PROPERTIES = 1
  105. PRINTACTION_NETINSTALL = 2
  106. PRINTACTION_NETINSTALLLINK = 3
  107. PRINTACTION_TESTPAGE = 4
  108. PRINTACTION_OPENNETPRN = 5
  109. PRINTACTION_DOCUMENTDEFAULTS = 6
  110. PRINTACTION_SERVERPROPERTIES = 7
  111. # Flags used with IContextMenu.QueryContextMenu
  112. CMF_NORMAL = 0
  113. CMF_DEFAULTONLY = 1
  114. CMF_VERBSONLY = 2
  115. CMF_EXPLORE = 4
  116. CMF_NOVERBS = 8
  117. CMF_CANRENAME = 16
  118. CMF_NODEFAULT = 32
  119. CMF_INCLUDESTATIC = 64
  120. CMF_ITEMMENU = 128
  121. CMF_EXTENDEDVERBS = 256
  122. CMF_DISABLEDVERBS = 512
  123. CMF_ASYNCVERBSTATE = 1024
  124. CMF_OPTIMIZEFORINVOKE = 2048
  125. CMF_SYNCCASCADEMENU = 4096
  126. CMF_DONOTPICKDEFAULT = 8192
  127. CMF_RESERVED = 0xFFFF0000
  128. GCS_VERBA = 0
  129. GCS_HELPTEXTA = 1
  130. GCS_VALIDATEA = 2
  131. GCS_VERBW = 4
  132. GCS_HELPTEXTW = 5
  133. GCS_VALIDATEW = 6
  134. GCS_UNICODE = 4
  135. GCS_VERB = GCS_VERBA
  136. GCS_HELPTEXT = GCS_HELPTEXTA
  137. GCS_VALIDATE = GCS_VALIDATEA
  138. CMDSTR_NEWFOLDERA = "NewFolder"
  139. CMDSTR_VIEWLISTA = "ViewList"
  140. CMDSTR_VIEWDETAILSA = "ViewDetails"
  141. CMDSTR_NEWFOLDER = CMDSTR_NEWFOLDERA
  142. CMDSTR_VIEWLIST = CMDSTR_VIEWLISTA
  143. CMDSTR_VIEWDETAILS = CMDSTR_VIEWDETAILSA
  144. CMIC_MASK_HOTKEY = SEE_MASK_HOTKEY
  145. CMIC_MASK_ICON = SEE_MASK_ICON
  146. CMIC_MASK_FLAG_NO_UI = SEE_MASK_FLAG_NO_UI
  147. CMIC_MASK_UNICODE = SEE_MASK_UNICODE
  148. CMIC_MASK_NO_CONSOLE = SEE_MASK_NO_CONSOLE
  149. CMIC_MASK_ASYNCOK = SEE_MASK_ASYNCOK
  150. CMIC_MASK_PTINVOKE = 536870912
  151. GIL_OPENICON = 1
  152. GIL_FORSHELL = 2
  153. GIL_ASYNC = 32
  154. GIL_DEFAULTICON = 64
  155. GIL_FORSHORTCUT = 128
  156. GIL_CHECKSHIELD = 512
  157. GIL_SIMULATEDOC = 1
  158. GIL_PERINSTANCE = 2
  159. GIL_PERCLASS = 4
  160. GIL_NOTFILENAME = 8
  161. GIL_DONTCACHE = 16
  162. GIL_SHIELD = 512
  163. GIL_FORCENOSHIELD = 1024
  164. ISIOI_ICONFILE = 1
  165. ISIOI_ICONINDEX = 2
  166. ISIOI_SYSIMAGELISTINDEX = 4
  167. FVSIF_RECT = 1
  168. FVSIF_PINNED = 2
  169. FVSIF_NEWFAILED = 134217728
  170. FVSIF_NEWFILE = -2147483648
  171. FVSIF_CANVIEWIT = 1073741824
  172. FCIDM_SHVIEWFIRST = 0
  173. FCIDM_SHVIEWLAST = 32767
  174. FCIDM_BROWSERFIRST = 40960
  175. FCIDM_BROWSERLAST = 48896
  176. FCIDM_GLOBALFIRST = 32768
  177. FCIDM_GLOBALLAST = 40959
  178. FCIDM_MENU_FILE = FCIDM_GLOBALFIRST + 0
  179. FCIDM_MENU_EDIT = FCIDM_GLOBALFIRST + 64
  180. FCIDM_MENU_VIEW = FCIDM_GLOBALFIRST + 128
  181. FCIDM_MENU_VIEW_SEP_OPTIONS = FCIDM_GLOBALFIRST + 129
  182. FCIDM_MENU_TOOLS = FCIDM_GLOBALFIRST + 192
  183. FCIDM_MENU_TOOLS_SEP_GOTO = FCIDM_GLOBALFIRST + 193
  184. FCIDM_MENU_HELP = FCIDM_GLOBALFIRST + 256
  185. FCIDM_MENU_FIND = FCIDM_GLOBALFIRST + 320
  186. FCIDM_MENU_EXPLORE = FCIDM_GLOBALFIRST + 336
  187. FCIDM_MENU_FAVORITES = FCIDM_GLOBALFIRST + 368
  188. FCIDM_TOOLBAR = FCIDM_BROWSERFIRST + 0
  189. FCIDM_STATUS = FCIDM_BROWSERFIRST + 1
  190. IDC_OFFLINE_HAND = 103
  191. SBSP_DEFBROWSER = 0
  192. SBSP_SAMEBROWSER = 1
  193. SBSP_NEWBROWSER = 2
  194. SBSP_DEFMODE = 0
  195. SBSP_OPENMODE = 16
  196. SBSP_EXPLOREMODE = 32
  197. SBSP_ABSOLUTE = 0
  198. SBSP_RELATIVE = 4096
  199. SBSP_PARENT = 8192
  200. SBSP_NAVIGATEBACK = 16384
  201. SBSP_NAVIGATEFORWARD = 32768
  202. SBSP_ALLOW_AUTONAVIGATE = 65536
  203. SBSP_INITIATEDBYHLINKFRAME = -2147483648
  204. SBSP_REDIRECT = 1073741824
  205. SBSP_WRITENOHISTORY = 134217728
  206. SBSP_NOAUTOSELECT = 67108864
  207. FCW_STATUS = 1
  208. FCW_TOOLBAR = 2
  209. FCW_TREE = 3
  210. FCW_INTERNETBAR = 6
  211. FCW_PROGRESS = 8
  212. FCT_MERGE = 1
  213. FCT_CONFIGABLE = 2
  214. FCT_ADDTOEND = 4
  215. CDBOSC_SETFOCUS = 0
  216. CDBOSC_KILLFOCUS = 1
  217. CDBOSC_SELCHANGE = 2
  218. CDBOSC_RENAME = 3
  219. SVSI_DESELECT = 0
  220. SVSI_SELECT = 1
  221. SVSI_EDIT = 3
  222. SVSI_DESELECTOTHERS = 4
  223. SVSI_ENSUREVISIBLE = 8
  224. SVSI_FOCUSED = 16
  225. SVSI_TRANSLATEPT = 32
  226. SVGIO_BACKGROUND = 0
  227. SVGIO_SELECTION = 1
  228. SVGIO_ALLVIEW = 2
  229. SVGIO_CHECKED = (0x3,)
  230. SVGIO_TYPE_MASK = (0xF,)
  231. SVGIO_FLAG_VIEWORDER = -2147483648 # 0x80000000
  232. STRRET_WSTR = 0
  233. STRRET_OFFSET = 1
  234. STRRET_CSTR = 2
  235. CSIDL_DESKTOP = 0
  236. CSIDL_INTERNET = 1
  237. CSIDL_PROGRAMS = 2
  238. CSIDL_CONTROLS = 3
  239. CSIDL_PRINTERS = 4
  240. CSIDL_PERSONAL = 5
  241. CSIDL_FAVORITES = 6
  242. CSIDL_STARTUP = 7
  243. CSIDL_RECENT = 8
  244. CSIDL_SENDTO = 9
  245. CSIDL_BITBUCKET = 10
  246. CSIDL_STARTMENU = 11
  247. CSIDL_MYDOCUMENTS = 12
  248. CSIDL_MYMUSIC = 13
  249. CSIDL_MYVIDEO = 14
  250. CSIDL_DESKTOPDIRECTORY = 16
  251. CSIDL_DRIVES = 17
  252. CSIDL_NETWORK = 18
  253. CSIDL_NETHOOD = 19
  254. CSIDL_FONTS = 20
  255. CSIDL_TEMPLATES = 21
  256. CSIDL_COMMON_STARTMENU = 22
  257. CSIDL_COMMON_PROGRAMS = 23
  258. CSIDL_COMMON_STARTUP = 24
  259. CSIDL_COMMON_DESKTOPDIRECTORY = 25
  260. CSIDL_APPDATA = 26
  261. CSIDL_PRINTHOOD = 27
  262. CSIDL_LOCAL_APPDATA = 28
  263. CSIDL_ALTSTARTUP = 29
  264. CSIDL_COMMON_ALTSTARTUP = 30
  265. CSIDL_COMMON_FAVORITES = 31
  266. CSIDL_INTERNET_CACHE = 32
  267. CSIDL_COOKIES = 33
  268. CSIDL_HISTORY = 34
  269. CSIDL_COMMON_APPDATA = 35
  270. CSIDL_WINDOWS = 36
  271. CSIDL_SYSTEM = 37
  272. CSIDL_PROGRAM_FILES = 38
  273. CSIDL_MYPICTURES = 39
  274. CSIDL_PROFILE = 40
  275. CSIDL_SYSTEMX86 = 41
  276. CSIDL_PROGRAM_FILESX86 = 42
  277. CSIDL_PROGRAM_FILES_COMMON = 43
  278. CSIDL_PROGRAM_FILES_COMMONX86 = 44
  279. CSIDL_COMMON_TEMPLATES = 45
  280. CSIDL_COMMON_DOCUMENTS = 46
  281. CSIDL_COMMON_ADMINTOOLS = 47
  282. CSIDL_ADMINTOOLS = 48
  283. CSIDL_CONNECTIONS = 49
  284. CSIDL_COMMON_MUSIC = 53
  285. CSIDL_COMMON_PICTURES = 54
  286. CSIDL_COMMON_VIDEO = 55
  287. CSIDL_RESOURCES = 56
  288. CSIDL_RESOURCES_LOCALIZED = 57
  289. CSIDL_COMMON_OEM_LINKS = 58
  290. CSIDL_CDBURN_AREA = 59
  291. # 60 unused
  292. CSIDL_COMPUTERSNEARME = 61
  293. BIF_RETURNONLYFSDIRS = 1
  294. BIF_DONTGOBELOWDOMAIN = 2
  295. BIF_STATUSTEXT = 4
  296. BIF_RETURNFSANCESTORS = 8
  297. BIF_EDITBOX = 16
  298. BIF_VALIDATE = 32
  299. BIF_BROWSEFORCOMPUTER = 4096
  300. BIF_BROWSEFORPRINTER = 8192
  301. BIF_BROWSEINCLUDEFILES = 16384
  302. BFFM_INITIALIZED = 1
  303. BFFM_SELCHANGED = 2
  304. BFFM_VALIDATEFAILEDA = 3
  305. BFFM_VALIDATEFAILEDW = 4
  306. BFFM_SETSTATUSTEXTA = WM_USER + 100
  307. BFFM_ENABLEOK = WM_USER + 101
  308. BFFM_SETSELECTIONA = WM_USER + 102
  309. BFFM_SETSELECTIONW = WM_USER + 103
  310. BFFM_SETSTATUSTEXTW = WM_USER + 104
  311. BFFM_SETSTATUSTEXT = BFFM_SETSTATUSTEXTA
  312. BFFM_SETSELECTION = BFFM_SETSELECTIONA
  313. BFFM_VALIDATEFAILED = BFFM_VALIDATEFAILEDA
  314. SFGAO_CANCOPY = DROPEFFECT_COPY
  315. SFGAO_CANMOVE = DROPEFFECT_MOVE
  316. SFGAO_CANLINK = DROPEFFECT_LINK
  317. SFGAO_CANRENAME = 16
  318. SFGAO_CANDELETE = 32
  319. SFGAO_HASPROPSHEET = 64
  320. SFGAO_DROPTARGET = 256
  321. SFGAO_CAPABILITYMASK = 375
  322. SFGAO_LINK = 65536
  323. SFGAO_SHARE = 131072
  324. SFGAO_READONLY = 262144
  325. SFGAO_GHOSTED = 524288
  326. SFGAO_HIDDEN = 524288
  327. SFGAO_DISPLAYATTRMASK = 983040
  328. SFGAO_FILESYSANCESTOR = 268435456
  329. SFGAO_FOLDER = 536870912
  330. SFGAO_FILESYSTEM = 1073741824
  331. SFGAO_HASSUBFOLDER = -2147483648
  332. SFGAO_CONTENTSMASK = -2147483648
  333. SFGAO_VALIDATE = 16777216
  334. SFGAO_REMOVABLE = 33554432
  335. SFGAO_COMPRESSED = 67108864
  336. SFGAO_BROWSABLE = 134217728
  337. SFGAO_NONENUMERATED = 1048576
  338. SFGAO_NEWCONTENT = 2097152
  339. SFGAO_STORAGE = 8
  340. DWFRF_NORMAL = 0
  341. DWFRF_DELETECONFIGDATA = 1
  342. DWFAF_HIDDEN = 1
  343. CFSTR_SHELLIDLIST = "Shell IDList Array"
  344. CFSTR_SHELLIDLISTOFFSET = "Shell Object Offsets"
  345. CFSTR_NETRESOURCES = "Net Resource"
  346. CFSTR_FILEDESCRIPTORA = "FileGroupDescriptor"
  347. CFSTR_FILEDESCRIPTORW = "FileGroupDescriptorW"
  348. CFSTR_FILECONTENTS = "FileContents"
  349. CFSTR_FILENAMEA = "FileName"
  350. CFSTR_FILENAMEW = "FileNameW"
  351. CFSTR_PRINTERGROUP = "PrinterFriendlyName"
  352. CFSTR_FILENAMEMAPA = "FileNameMap"
  353. CFSTR_FILENAMEMAPW = "FileNameMapW"
  354. CFSTR_SHELLURL = "UniformResourceLocator"
  355. CFSTR_INETURLA = CFSTR_SHELLURL
  356. CFSTR_INETURLW = "UniformResourceLocatorW"
  357. CFSTR_PREFERREDDROPEFFECT = "Preferred DropEffect"
  358. CFSTR_PERFORMEDDROPEFFECT = "Performed DropEffect"
  359. CFSTR_PASTESUCCEEDED = "Paste Succeeded"
  360. CFSTR_INDRAGLOOP = "InShellDragLoop"
  361. CFSTR_DRAGCONTEXT = "DragContext"
  362. CFSTR_MOUNTEDVOLUME = "MountedVolume"
  363. CFSTR_PERSISTEDDATAOBJECT = "PersistedDataObject"
  364. CFSTR_TARGETCLSID = "TargetCLSID"
  365. CFSTR_LOGICALPERFORMEDDROPEFFECT = "Logical Performed DropEffect"
  366. CFSTR_AUTOPLAY_SHELLIDLISTS = "Autoplay Enumerated IDList Array"
  367. CFSTR_FILEDESCRIPTOR = CFSTR_FILEDESCRIPTORA
  368. CFSTR_FILENAME = CFSTR_FILENAMEA
  369. CFSTR_FILENAMEMAP = CFSTR_FILENAMEMAPA
  370. DVASPECT_SHORTNAME = 2
  371. SHCNE_RENAMEITEM = 1
  372. SHCNE_CREATE = 2
  373. SHCNE_DELETE = 4
  374. SHCNE_MKDIR = 8
  375. SHCNE_RMDIR = 16
  376. SHCNE_MEDIAINSERTED = 32
  377. SHCNE_MEDIAREMOVED = 64
  378. SHCNE_DRIVEREMOVED = 128
  379. SHCNE_DRIVEADD = 256
  380. SHCNE_NETSHARE = 512
  381. SHCNE_NETUNSHARE = 1024
  382. SHCNE_ATTRIBUTES = 2048
  383. SHCNE_UPDATEDIR = 4096
  384. SHCNE_UPDATEITEM = 8192
  385. SHCNE_SERVERDISCONNECT = 16384
  386. SHCNE_UPDATEIMAGE = 32768
  387. SHCNE_DRIVEADDGUI = 65536
  388. SHCNE_RENAMEFOLDER = 131072
  389. SHCNE_FREESPACE = 262144
  390. SHCNE_EXTENDED_EVENT = 67108864
  391. SHCNE_ASSOCCHANGED = 134217728
  392. SHCNE_DISKEVENTS = 145439
  393. SHCNE_GLOBALEVENTS = 201687520
  394. SHCNE_ALLEVENTS = 2147483647
  395. SHCNE_INTERRUPT = -2147483648
  396. SHCNEE_ORDERCHANGED = 2
  397. SHCNF_IDLIST = 0
  398. SHCNF_PATHA = 1
  399. SHCNF_PRINTERA = 2
  400. SHCNF_DWORD = 3
  401. SHCNF_PATHW = 5
  402. SHCNF_PRINTERW = 6
  403. SHCNF_TYPE = 255
  404. SHCNF_FLUSH = 4096
  405. SHCNF_FLUSHNOWAIT = 8192
  406. SHCNF_PATH = SHCNF_PATHA
  407. SHCNF_PRINTER = SHCNF_PRINTERA
  408. QIF_CACHED = 1
  409. QIF_DONTEXPANDFOLDER = 2
  410. # SHARD enum for SHAddToRecentDocs
  411. SHARD_PIDL = 1
  412. SHARD_PATHA = 2
  413. SHARD_PATHW = 3
  414. SHARD_APPIDINFO = 4
  415. SHARD_APPIDINFOIDLIST = 5
  416. SHARD_LINK = 6
  417. SHARD_APPIDINFOLINK = 7
  418. SHARD_SHELLITEM = 8
  419. ## SHARD_PATH = SHARD_PATHW
  420. SHARD_PATH = SHARD_PATHA
  421. SHGDFIL_FINDDATA = 1
  422. SHGDFIL_NETRESOURCE = 2
  423. SHGDFIL_DESCRIPTIONID = 3
  424. SHDID_ROOT_REGITEM = 1
  425. SHDID_FS_FILE = 2
  426. SHDID_FS_DIRECTORY = 3
  427. SHDID_FS_OTHER = 4
  428. SHDID_COMPUTER_DRIVE35 = 5
  429. SHDID_COMPUTER_DRIVE525 = 6
  430. SHDID_COMPUTER_REMOVABLE = 7
  431. SHDID_COMPUTER_FIXED = 8
  432. SHDID_COMPUTER_NETDRIVE = 9
  433. SHDID_COMPUTER_CDROM = 10
  434. SHDID_COMPUTER_RAMDISK = 11
  435. SHDID_COMPUTER_OTHER = 12
  436. SHDID_NET_DOMAIN = 13
  437. SHDID_NET_SERVER = 14
  438. SHDID_NET_SHARE = 15
  439. SHDID_NET_RESTOFNET = 16
  440. SHDID_NET_OTHER = 17
  441. PID_IS_URL = 2
  442. PID_IS_NAME = 4
  443. PID_IS_WORKINGDIR = 5
  444. PID_IS_HOTKEY = 6
  445. PID_IS_SHOWCMD = 7
  446. PID_IS_ICONINDEX = 8
  447. PID_IS_ICONFILE = 9
  448. PID_IS_WHATSNEW = 10
  449. PID_IS_AUTHOR = 11
  450. PID_IS_DESCRIPTION = 12
  451. PID_IS_COMMENT = 13
  452. PID_INTSITE_WHATSNEW = 2
  453. PID_INTSITE_AUTHOR = 3
  454. PID_INTSITE_LASTVISIT = 4
  455. PID_INTSITE_LASTMOD = 5
  456. PID_INTSITE_VISITCOUNT = 6
  457. PID_INTSITE_DESCRIPTION = 7
  458. PID_INTSITE_COMMENT = 8
  459. PID_INTSITE_FLAGS = 9
  460. PID_INTSITE_CONTENTLEN = 10
  461. PID_INTSITE_CONTENTCODE = 11
  462. PID_INTSITE_RECURSE = 12
  463. PID_INTSITE_WATCH = 13
  464. PID_INTSITE_SUBSCRIPTION = 14
  465. PID_INTSITE_URL = 15
  466. PID_INTSITE_TITLE = 16
  467. PID_INTSITE_CODEPAGE = 18
  468. PID_INTSITE_TRACKING = 19
  469. PIDISF_RECENTLYCHANGED = 1
  470. PIDISF_CACHEDSTICKY = 2
  471. PIDISF_CACHEIMAGES = 16
  472. PIDISF_FOLLOWALLLINKS = 32
  473. PIDISM_GLOBAL = 0
  474. PIDISM_WATCH = 1
  475. PIDISM_DONTWATCH = 2
  476. SSF_SHOWALLOBJECTS = 1
  477. SSF_SHOWEXTENSIONS = 2
  478. SSF_SHOWCOMPCOLOR = 8
  479. SSF_SHOWSYSFILES = 32
  480. SSF_DOUBLECLICKINWEBVIEW = 128
  481. SSF_SHOWATTRIBCOL = 256
  482. SSF_DESKTOPHTML = 512
  483. SSF_WIN95CLASSIC = 1024
  484. SSF_DONTPRETTYPATH = 2048
  485. SSF_SHOWINFOTIP = 8192
  486. SSF_MAPNETDRVBUTTON = 4096
  487. SSF_NOCONFIRMRECYCLE = 32768
  488. SSF_HIDEICONS = 16384
  489. ABM_NEW = 0
  490. ABM_REMOVE = 1
  491. ABM_QUERYPOS = 2
  492. ABM_SETPOS = 3
  493. ABM_GETSTATE = 4
  494. ABM_GETTASKBARPOS = 5
  495. ABM_ACTIVATE = 6
  496. ABM_GETAUTOHIDEBAR = 7
  497. ABM_SETAUTOHIDEBAR = 8
  498. ABM_WINDOWPOSCHANGED = 9
  499. ABN_STATECHANGE = 0
  500. ABN_POSCHANGED = 1
  501. ABN_FULLSCREENAPP = 2
  502. ABN_WINDOWARRANGE = 3
  503. ABS_AUTOHIDE = 1
  504. ABS_ALWAYSONTOP = 2
  505. ABE_LEFT = 0
  506. ABE_TOP = 1
  507. ABE_RIGHT = 2
  508. ABE_BOTTOM = 3
  509. def EIRESID(x):
  510. return -1 * (int)(x)
  511. # Some manually added ones
  512. SHCONTF_FOLDERS = 32 # for shell browser
  513. SHCONTF_NONFOLDERS = 64 # for default view
  514. SHCONTF_INCLUDEHIDDEN = 128 # for hidden/system objects
  515. SHCONTF_INIT_ON_FIRST_NEXT = 256
  516. SHCONTF_NETPRINTERSRCH = 512
  517. SHCONTF_SHAREABLE = 1024
  518. SHCONTF_STORAGE = 2048
  519. SHGDN_NORMAL = 0 # default (display purpose)
  520. SHGDN_INFOLDER = 1 # displayed under a folder (relative)
  521. SHGDN_FOREDITING = 4096 # for in-place editing
  522. SHGDN_INCLUDE_NONFILESYS = 8192 # if not set, display names for shell name space items that are not in the file system will fail.
  523. SHGDN_FORADDRESSBAR = 16384 # for displaying in the address (drives dropdown) bar
  524. SHGDN_FORPARSING = 32768 # for ParseDisplayName or path
  525. BFO_NONE = 0
  526. BFO_BROWSER_PERSIST_SETTINGS = 1
  527. BFO_RENAME_FOLDER_OPTIONS_TOINTERNET = 2
  528. BFO_BOTH_OPTIONS = 4
  529. BIF_PREFER_INTERNET_SHORTCUT = 8
  530. BFO_BROWSE_NO_IN_NEW_PROCESS = 16
  531. BFO_ENABLE_HYPERLINK_TRACKING = 32
  532. BFO_USE_IE_OFFLINE_SUPPORT = 64
  533. BFO_SUBSTITUE_INTERNET_START_PAGE = 128
  534. BFO_USE_IE_LOGOBANDING = 256
  535. BFO_ADD_IE_TOCAPTIONBAR = 512
  536. BFO_USE_DIALUP_REF = 1024
  537. BFO_USE_IE_TOOLBAR = 2048
  538. BFO_NO_PARENT_FOLDER_SUPPORT = 4096
  539. BFO_NO_REOPEN_NEXT_RESTART = 8192
  540. BFO_GO_HOME_PAGE = 16384
  541. BFO_PREFER_IEPROCESS = 32768
  542. BFO_SHOW_NAVIGATION_CANCELLED = 65536
  543. BFO_QUERY_ALL = -1
  544. # From ShlGuid.h
  545. PID_FINDDATA = 0
  546. PID_NETRESOURCE = 1
  547. PID_DESCRIPTIONID = 2
  548. PID_WHICHFOLDER = 3
  549. PID_NETWORKLOCATION = 4
  550. PID_COMPUTERNAME = 5
  551. PID_DISPLACED_FROM = 2
  552. PID_DISPLACED_DATE = 3
  553. PID_SYNC_COPY_IN = 2
  554. PID_MISC_STATUS = 2
  555. PID_MISC_ACCESSCOUNT = 3
  556. PID_MISC_OWNER = 4
  557. PID_HTMLINFOTIPFILE = 5
  558. PID_MISC_PICS = 6
  559. PID_DISPLAY_PROPERTIES = 0
  560. PID_INTROTEXT = 1
  561. PIDSI_ARTIST = 2
  562. PIDSI_SONGTITLE = 3
  563. PIDSI_ALBUM = 4
  564. PIDSI_YEAR = 5
  565. PIDSI_COMMENT = 6
  566. PIDSI_TRACK = 7
  567. PIDSI_GENRE = 11
  568. PIDSI_LYRICS = 12
  569. PIDDRSI_PROTECTED = 2
  570. PIDDRSI_DESCRIPTION = 3
  571. PIDDRSI_PLAYCOUNT = 4
  572. PIDDRSI_PLAYSTARTS = 5
  573. PIDDRSI_PLAYEXPIRES = 6
  574. PIDVSI_STREAM_NAME = 2
  575. PIDVSI_FRAME_WIDTH = 3
  576. PIDVSI_FRAME_HEIGHT = 4
  577. PIDVSI_TIMELENGTH = 7
  578. PIDVSI_FRAME_COUNT = 5
  579. PIDVSI_FRAME_RATE = 6
  580. PIDVSI_DATA_RATE = 8
  581. PIDVSI_SAMPLE_SIZE = 9
  582. PIDVSI_COMPRESSION = 10
  583. PIDVSI_STREAM_NUMBER = 11
  584. PIDASI_FORMAT = 2
  585. PIDASI_TIMELENGTH = 3
  586. PIDASI_AVG_DATA_RATE = 4
  587. PIDASI_SAMPLE_RATE = 5
  588. PIDASI_SAMPLE_SIZE = 6
  589. PIDASI_CHANNEL_COUNT = 7
  590. PIDASI_STREAM_NUMBER = 8
  591. PIDASI_STREAM_NAME = 9
  592. PIDASI_COMPRESSION = 10
  593. PID_CONTROLPANEL_CATEGORY = 2
  594. PID_VOLUME_FREE = 2
  595. PID_VOLUME_CAPACITY = 3
  596. PID_VOLUME_FILESYSTEM = 4
  597. PID_SHARE_CSC_STATUS = 2
  598. PID_LINK_TARGET = 2
  599. PID_QUERY_RANK = 2
  600. # From PropIdl.h
  601. PROPSETFLAG_DEFAULT = 0
  602. PROPSETFLAG_NONSIMPLE = 1
  603. PROPSETFLAG_ANSI = 2
  604. PROPSETFLAG_UNBUFFERED = 4
  605. PROPSETFLAG_CASE_SENSITIVE = 8
  606. PROPSET_BEHAVIOR_CASE_SENSITIVE = 1
  607. PID_DICTIONARY = 0
  608. PID_CODEPAGE = 1
  609. PID_FIRST_USABLE = 2
  610. PID_FIRST_NAME_DEFAULT = 4095
  611. PID_LOCALE = -2147483648
  612. PID_MODIFY_TIME = -2147483647
  613. PID_SECURITY = -2147483646
  614. PID_BEHAVIOR = -2147483645
  615. PID_ILLEGAL = -1
  616. PID_MIN_READONLY = -2147483648
  617. PID_MAX_READONLY = -1073741825
  618. PIDDI_THUMBNAIL = 2
  619. PIDSI_TITLE = 2
  620. PIDSI_SUBJECT = 3
  621. PIDSI_AUTHOR = 4
  622. PIDSI_KEYWORDS = 5
  623. PIDSI_COMMENTS = 6
  624. PIDSI_TEMPLATE = 7
  625. PIDSI_LASTAUTHOR = 8
  626. PIDSI_REVNUMBER = 9
  627. PIDSI_EDITTIME = 10
  628. PIDSI_LASTPRINTED = 11
  629. PIDSI_CREATE_DTM = 12
  630. PIDSI_LASTSAVE_DTM = 13
  631. PIDSI_PAGECOUNT = 14
  632. PIDSI_WORDCOUNT = 15
  633. PIDSI_CHARCOUNT = 16
  634. PIDSI_THUMBNAIL = 17
  635. PIDSI_APPNAME = 18
  636. PIDSI_DOC_SECURITY = 19
  637. PIDDSI_CATEGORY = 2
  638. PIDDSI_PRESFORMAT = 3
  639. PIDDSI_BYTECOUNT = 4
  640. PIDDSI_LINECOUNT = 5
  641. PIDDSI_PARCOUNT = 6
  642. PIDDSI_SLIDECOUNT = 7
  643. PIDDSI_NOTECOUNT = 8
  644. PIDDSI_HIDDENCOUNT = 9
  645. PIDDSI_MMCLIPCOUNT = 10
  646. PIDDSI_SCALE = 11
  647. PIDDSI_HEADINGPAIR = 12
  648. PIDDSI_DOCPARTS = 13
  649. PIDDSI_MANAGER = 14
  650. PIDDSI_COMPANY = 15
  651. PIDDSI_LINKSDIRTY = 16
  652. PIDMSI_EDITOR = 2
  653. PIDMSI_SUPPLIER = 3
  654. PIDMSI_SOURCE = 4
  655. PIDMSI_SEQUENCE_NO = 5
  656. PIDMSI_PROJECT = 6
  657. PIDMSI_STATUS = 7
  658. PIDMSI_OWNER = 8
  659. PIDMSI_RATING = 9
  660. PIDMSI_PRODUCTION = 10
  661. PIDMSI_COPYRIGHT = 11
  662. PRSPEC_INVALID = -1
  663. PRSPEC_LPWSTR = 0
  664. PRSPEC_PROPID = 1
  665. # From ShObjIdl.h
  666. SHCIDS_ALLFIELDS = -2147483648
  667. SHCIDS_CANONICALONLY = 268435456
  668. SHCIDS_BITMASK = -65536
  669. SHCIDS_COLUMNMASK = 65535
  670. SFGAO_CANMONIKER = 4194304
  671. SFGAO_HASSTORAGE = 4194304
  672. SFGAO_STREAM = 4194304
  673. SFGAO_STORAGEANCESTOR = 8388608
  674. SFGAO_STORAGECAPMASK = 1891958792
  675. MAXPROPPAGES = 100
  676. PSP_DEFAULT = 0
  677. PSP_DLGINDIRECT = 1
  678. PSP_USEHICON = 2
  679. PSP_USEICONID = 4
  680. PSP_USETITLE = 8
  681. PSP_RTLREADING = 16
  682. PSP_HASHELP = 32
  683. PSP_USEREFPARENT = 64
  684. PSP_USECALLBACK = 128
  685. PSP_PREMATURE = 1024
  686. PSP_HIDEHEADER = 2048
  687. PSP_USEHEADERTITLE = 4096
  688. PSP_USEHEADERSUBTITLE = 8192
  689. PSP_USEFUSIONCONTEXT = 16384
  690. PSPCB_ADDREF = 0
  691. PSPCB_RELEASE = 1
  692. PSPCB_CREATE = 2
  693. PSH_DEFAULT = 0
  694. PSH_PROPTITLE = 1
  695. PSH_USEHICON = 2
  696. PSH_USEICONID = 4
  697. PSH_PROPSHEETPAGE = 8
  698. PSH_WIZARDHASFINISH = 16
  699. PSH_WIZARD = 32
  700. PSH_USEPSTARTPAGE = 64
  701. PSH_NOAPPLYNOW = 128
  702. PSH_USECALLBACK = 256
  703. PSH_HASHELP = 512
  704. PSH_MODELESS = 1024
  705. PSH_RTLREADING = 2048
  706. PSH_WIZARDCONTEXTHELP = 4096
  707. PSH_WIZARD97 = 16777216
  708. PSH_WATERMARK = 32768
  709. PSH_USEHBMWATERMARK = 65536
  710. PSH_USEHPLWATERMARK = 131072
  711. PSH_STRETCHWATERMARK = 262144
  712. PSH_HEADER = 524288
  713. PSH_USEHBMHEADER = 1048576
  714. PSH_USEPAGELANG = 2097152
  715. PSH_WIZARD_LITE = 4194304
  716. PSH_NOCONTEXTHELP = 33554432
  717. PSCB_INITIALIZED = 1
  718. PSCB_PRECREATE = 2
  719. PSCB_BUTTONPRESSED = 3
  720. PSNRET_NOERROR = 0
  721. PSNRET_INVALID = 1
  722. PSNRET_INVALID_NOCHANGEPAGE = 2
  723. PSNRET_MESSAGEHANDLED = 3
  724. PSWIZB_BACK = 1
  725. PSWIZB_NEXT = 2
  726. PSWIZB_FINISH = 4
  727. PSWIZB_DISABLEDFINISH = 8
  728. PSBTN_BACK = 0
  729. PSBTN_NEXT = 1
  730. PSBTN_FINISH = 2
  731. PSBTN_OK = 3
  732. PSBTN_APPLYNOW = 4
  733. PSBTN_CANCEL = 5
  734. PSBTN_HELP = 6
  735. PSBTN_MAX = 6
  736. ID_PSRESTARTWINDOWS = 2
  737. ID_PSREBOOTSYSTEM = ID_PSRESTARTWINDOWS | 1
  738. WIZ_CXDLG = 276
  739. WIZ_CYDLG = 140
  740. WIZ_CXBMP = 80
  741. WIZ_BODYX = 92
  742. WIZ_BODYCX = 184
  743. PROP_SM_CXDLG = 212
  744. PROP_SM_CYDLG = 188
  745. PROP_MED_CXDLG = 227
  746. PROP_MED_CYDLG = 215
  747. PROP_LG_CXDLG = 252
  748. PROP_LG_CYDLG = 218
  749. ISOLATION_AWARE_USE_STATIC_LIBRARY = 0
  750. ISOLATION_AWARE_BUILD_STATIC_LIBRARY = 0
  751. SHCOLSTATE_TYPE_STR = 1
  752. SHCOLSTATE_TYPE_INT = 2
  753. SHCOLSTATE_TYPE_DATE = 3
  754. SHCOLSTATE_TYPEMASK = 15
  755. SHCOLSTATE_ONBYDEFAULT = 16
  756. SHCOLSTATE_SLOW = 32
  757. SHCOLSTATE_EXTENDED = 64
  758. SHCOLSTATE_SECONDARYUI = 128
  759. SHCOLSTATE_HIDDEN = 256
  760. SHCOLSTATE_PREFER_VARCMP = 512
  761. FWF_AUTOARRANGE = 1
  762. FWF_ABBREVIATEDNAMES = 2
  763. FWF_SNAPTOGRID = 4
  764. FWF_OWNERDATA = 8
  765. FWF_BESTFITWINDOW = 16
  766. FWF_DESKTOP = 32
  767. FWF_SINGLESEL = 64
  768. FWF_NOSUBFOLDERS = 128
  769. FWF_TRANSPARENT = 256
  770. FWF_NOCLIENTEDGE = 512
  771. FWF_NOSCROLL = 1024
  772. FWF_ALIGNLEFT = 2048
  773. FWF_NOICONS = 4096
  774. FWF_SHOWSELALWAYS = 8192
  775. FWF_NOVISIBLE = 16384
  776. FWF_SINGLECLICKACTIVATE = 32768
  777. FWF_NOWEBVIEW = 65536
  778. FWF_HIDEFILENAMES = 131072
  779. FWF_CHECKSELECT = 262144
  780. FVM_FIRST = 1
  781. FVM_ICON = 1
  782. FVM_SMALLICON = 2
  783. FVM_LIST = 3
  784. FVM_DETAILS = 4
  785. FVM_THUMBNAIL = 5
  786. FVM_TILE = 6
  787. FVM_THUMBSTRIP = 7
  788. SVUIA_DEACTIVATE = 0
  789. SVUIA_ACTIVATE_NOFOCUS = 1
  790. SVUIA_ACTIVATE_FOCUS = 2
  791. SVUIA_INPLACEACTIVATE = 3
  792. # SHChangeNotifyRegister flags
  793. SHCNRF_InterruptLevel = 1
  794. SHCNRF_ShellLevel = 2
  795. SHCNRF_RecursiveInterrupt = 4096
  796. SHCNRF_NewDelivery = 32768
  797. FD_CLSID = 0x0001
  798. FD_SIZEPOINT = 0x0002
  799. FD_ATTRIBUTES = 0x0004
  800. FD_CREATETIME = 0x0008
  801. FD_ACCESSTIME = 0x0010
  802. FD_WRITESTIME = 0x0020
  803. FD_FILESIZE = 0x0040
  804. FD_PROGRESSUI = 0x4000
  805. FD_LINKUI = 0x8000
  806. # shlwapi stuff
  807. ASSOCF_INIT_NOREMAPCLSID = 0x00000001 # do not remap clsids to progids
  808. ASSOCF_INIT_BYEXENAME = 0x00000002 # executable is being passed in
  809. ASSOCF_OPEN_BYEXENAME = 0x00000002 # executable is being passed in
  810. ASSOCF_INIT_DEFAULTTOSTAR = 0x00000004 # treat "*" as the BaseClass
  811. ASSOCF_INIT_DEFAULTTOFOLDER = 0x00000008 # treat "Folder" as the BaseClass
  812. ASSOCF_NOUSERSETTINGS = 0x00000010 # dont use HKCU
  813. ASSOCF_NOTRUNCATE = 0x00000020 # dont truncate the return string
  814. ASSOCF_VERIFY = 0x00000040 # verify data is accurate (DISK HITS)
  815. ASSOCF_REMAPRUNDLL = 0x00000080 # actually gets info about rundlls target if applicable
  816. ASSOCF_NOFIXUPS = 0x00000100 # attempt to fix errors if found
  817. ASSOCF_IGNOREBASECLASS = 0x00000200 # dont recurse into the baseclass
  818. ASSOCSTR_COMMAND = 1 # shell\verb\command string
  819. ASSOCSTR_EXECUTABLE = 2 # the executable part of command string
  820. ASSOCSTR_FRIENDLYDOCNAME = 3 # friendly name of the document type
  821. ASSOCSTR_FRIENDLYAPPNAME = 4 # friendly name of executable
  822. ASSOCSTR_NOOPEN = 5 # noopen value
  823. ASSOCSTR_SHELLNEWVALUE = 6 # query values under the shellnew key
  824. ASSOCSTR_DDECOMMAND = 7 # template for DDE commands
  825. ASSOCSTR_DDEIFEXEC = 8 # DDECOMMAND to use if just create a process
  826. ASSOCSTR_DDEAPPLICATION = 9 # Application name in DDE broadcast
  827. ASSOCSTR_DDETOPIC = 10 # Topic Name in DDE broadcast
  828. ASSOCSTR_INFOTIP = (
  829. 11 # info tip for an item, or list of properties to create info tip from
  830. )
  831. ASSOCSTR_QUICKTIP = 12 # same as ASSOCSTR_INFOTIP, except, this list contains only quickly retrievable properties
  832. ASSOCSTR_TILEINFO = (
  833. 13 # similar to ASSOCSTR_INFOTIP - lists important properties for tileview
  834. )
  835. ASSOCSTR_CONTENTTYPE = 14 # MIME Content type
  836. ASSOCSTR_DEFAULTICON = 15 # Default icon source
  837. ASSOCSTR_SHELLEXTENSION = (
  838. 16 # Guid string pointing to the Shellex\Shellextensionhandler value.
  839. )
  840. ASSOCKEY_SHELLEXECCLASS = 1 # the key that should be passed to ShellExec(hkeyClass)
  841. ASSOCKEY_APP = 2 # the "Application" key for the association
  842. ASSOCKEY_CLASS = 3 # the progid or class key
  843. ASSOCKEY_BASECLASS = 4 # the BaseClass key
  844. ASSOCDATA_MSIDESCRIPTOR = 1 # Component Descriptor to pass to MSI APIs
  845. ASSOCDATA_NOACTIVATEHANDLER = 2 # restrict attempts to activate window
  846. ASSOCDATA_QUERYCLASSSTORE = 3 # should check with the NT Class Store
  847. ASSOCDATA_HASPERUSERASSOC = 4 # defaults to user specified association
  848. ASSOCDATA_EDITFLAGS = 5 # Edit flags.
  849. ASSOCDATA_VALUE = 6 # use pszExtra as the Value name
  850. # flags used with SHGetViewStatePropertyBag
  851. SHGVSPB_PERUSER = 1
  852. SHGVSPB_ALLUSERS = 2
  853. SHGVSPB_PERFOLDER = 4
  854. SHGVSPB_ALLFOLDERS = 8
  855. SHGVSPB_INHERIT = 16
  856. SHGVSPB_ROAM = 32
  857. SHGVSPB_NOAUTODEFAULTS = 0x80000000
  858. SHGVSPB_FOLDER = SHGVSPB_PERUSER | SHGVSPB_PERFOLDER
  859. SHGVSPB_FOLDERNODEFAULTS = SHGVSPB_PERUSER | SHGVSPB_PERFOLDER | SHGVSPB_NOAUTODEFAULTS
  860. SHGVSPB_USERDEFAULTS = SHGVSPB_PERUSER | SHGVSPB_ALLFOLDERS
  861. SHGVSPB_GLOBALDEAFAULTS = SHGVSPB_ALLUSERS | SHGVSPB_ALLFOLDERS
  862. # IDeskband and related
  863. DBIM_MINSIZE = 0x0001
  864. DBIM_MAXSIZE = 0x0002
  865. DBIM_INTEGRAL = 0x0004
  866. DBIM_ACTUAL = 0x0008
  867. DBIM_TITLE = 0x0010
  868. DBIM_MODEFLAGS = 0x0020
  869. DBIM_BKCOLOR = 0x0040
  870. DBIMF_NORMAL = 0x0000
  871. DBIMF_VARIABLEHEIGHT = 0x0008
  872. DBIMF_DEBOSSED = 0x0020
  873. DBIMF_BKCOLOR = 0x0040
  874. DBIF_VIEWMODE_NORMAL = 0x0000
  875. DBIF_VIEWMODE_VERTICAL = 0x0001
  876. DBIF_VIEWMODE_FLOATING = 0x0002
  877. DBIF_VIEWMODE_TRANSPARENT = 0x0004
  878. # Message types used with SHShellFolderView_Message
  879. SFVM_REARRANGE = 1
  880. SFVM_ADDOBJECT = 3
  881. SFVM_REMOVEOBJECT = 6
  882. SFVM_UPDATEOBJECT = 7
  883. SFVM_GETSELECTEDOBJECTS = 9
  884. SFVM_SETITEMPOS = 14
  885. SFVM_SETCLIPBOARD = 16
  886. SFVM_SETPOINTS = 23
  887. # SHELL_LINK_DATA_FLAGS enum, used with IShellLinkDatalist
  888. SLDF_HAS_ID_LIST = 1
  889. SLDF_HAS_LINK_INFO = 2
  890. SLDF_HAS_NAME = 4
  891. SLDF_HAS_RELPATH = 8
  892. SLDF_HAS_WORKINGDIR = 16
  893. SLDF_HAS_ARGS = 32
  894. SLDF_HAS_ICONLOCATION = 64
  895. SLDF_UNICODE = 128
  896. SLDF_FORCE_NO_LINKINFO = 256
  897. SLDF_HAS_EXP_SZ = 512
  898. SLDF_RUN_IN_SEPARATE = 1024
  899. SLDF_HAS_LOGO3ID = 2048
  900. SLDF_HAS_DARWINID = 4096
  901. SLDF_RUNAS_USER = 8192
  902. SLDF_NO_PIDL_ALIAS = 32768
  903. SLDF_FORCE_UNCNAME = 65536
  904. SLDF_HAS_EXP_ICON_SZ = 16384
  905. SLDF_RUN_WITH_SHIMLAYER = 131072
  906. SLDF_RESERVED = 2147483648
  907. # IShellLinkDataList data block signatures
  908. EXP_SPECIAL_FOLDER_SIG = 2684354565
  909. NT_CONSOLE_PROPS_SIG = 2684354562
  910. NT_FE_CONSOLE_PROPS_SIG = 2684354564
  911. EXP_DARWIN_ID_SIG = 2684354566
  912. EXP_LOGO3_ID_SIG = 2684354567
  913. EXP_SZ_ICON_SIG = 2684354567
  914. EXP_SZ_LINK_SIG = 2684354561
  915. # IURL_SETURL_FLAGS enum, used with PyIUniformResourceLocator.SetURL
  916. IURL_SETURL_FL_GUESS_PROTOCOL = 1
  917. IURL_SETURL_FL_USE_DEFAULT_PROTOCOL = 2
  918. # IURL_INVOKECOMMAND_FLAGS enum, used with PyIUniformResourceLocator.InvokeCommand
  919. IURL_INVOKECOMMAND_FL_ALLOW_UI = 1
  920. IURL_INVOKECOMMAND_FL_USE_DEFAULT_VERB = 2
  921. IURL_INVOKECOMMAND_FL_DDEWAIT = 4
  922. ## constants used with IActiveDesktop
  923. # COMPONENT.ComponentType
  924. COMP_TYPE_HTMLDOC = 0
  925. COMP_TYPE_PICTURE = 1
  926. COMP_TYPE_WEBSITE = 2
  927. COMP_TYPE_CONTROL = 3
  928. COMP_TYPE_CFHTML = 4
  929. COMP_TYPE_MAX = 4
  930. # COMPONENT.CurItemState
  931. IS_NORMAL = 1
  932. IS_FULLSCREEN = 2
  933. IS_SPLIT = 4
  934. IS_VALIDSIZESTATEBITS = IS_NORMAL | IS_SPLIT | IS_FULLSCREEN
  935. IS_VALIDSTATEBITS = IS_NORMAL | IS_SPLIT | IS_FULLSCREEN | 0x80000000 | 0x40000000
  936. # IActiveDesktop.ApplyChanges Flags
  937. AD_APPLY_SAVE = 1
  938. AD_APPLY_HTMLGEN = 2
  939. AD_APPLY_REFRESH = 4
  940. AD_APPLY_ALL = AD_APPLY_SAVE | AD_APPLY_HTMLGEN | AD_APPLY_REFRESH
  941. AD_APPLY_FORCE = 8
  942. AD_APPLY_BUFFERED_REFRESH = 16
  943. AD_APPLY_DYNAMICREFRESH = 32
  944. # Wallpaper styles used with GetWallpaper and SetWallpaper
  945. WPSTYLE_CENTER = 0
  946. WPSTYLE_TILE = 1
  947. WPSTYLE_STRETCH = 2
  948. WPSTYLE_MAX = 3
  949. # ModifyDesktopItem flags
  950. COMP_ELEM_TYPE = 0x00000001
  951. COMP_ELEM_CHECKED = 0x00000002
  952. COMP_ELEM_DIRTY = 0x00000004
  953. COMP_ELEM_NOSCROLL = 0x00000008
  954. COMP_ELEM_POS_LEFT = 0x00000010
  955. COMP_ELEM_POS_TOP = 0x00000020
  956. COMP_ELEM_SIZE_WIDTH = 0x00000040
  957. COMP_ELEM_SIZE_HEIGHT = 0x00000080
  958. COMP_ELEM_POS_ZINDEX = 0x00000100
  959. COMP_ELEM_SOURCE = 0x00000200
  960. COMP_ELEM_FRIENDLYNAME = 0x00000400
  961. COMP_ELEM_SUBSCRIBEDURL = 0x00000800
  962. COMP_ELEM_ORIGINAL_CSI = 0x00001000
  963. COMP_ELEM_RESTORED_CSI = 0x00002000
  964. COMP_ELEM_CURITEMSTATE = 0x00004000
  965. COMP_ELEM_ALL = (
  966. COMP_ELEM_TYPE
  967. | COMP_ELEM_CHECKED
  968. | COMP_ELEM_DIRTY
  969. | COMP_ELEM_NOSCROLL
  970. | COMP_ELEM_POS_LEFT
  971. | COMP_ELEM_SIZE_WIDTH
  972. | COMP_ELEM_SIZE_HEIGHT
  973. | COMP_ELEM_POS_ZINDEX
  974. | COMP_ELEM_SOURCE
  975. | COMP_ELEM_FRIENDLYNAME
  976. | COMP_ELEM_POS_TOP
  977. | COMP_ELEM_SUBSCRIBEDURL
  978. | COMP_ELEM_ORIGINAL_CSI
  979. | COMP_ELEM_RESTORED_CSI
  980. | COMP_ELEM_CURITEMSTATE
  981. )
  982. DTI_ADDUI_DEFAULT = 0
  983. DTI_ADDUI_DISPSUBWIZARD = 1
  984. DTI_ADDUI_POSITIONITEM = 2
  985. ADDURL_SILENT = 0x0001
  986. COMPONENT_TOP = 0x3FFFFFFF
  987. COMPONENT_DEFAULT_LEFT = 0xFFFF
  988. COMPONENT_DEFAULT_TOP = 0xFFFF
  989. SSM_CLEAR = 0
  990. SSM_SET = 1
  991. SSM_REFRESH = 2
  992. SSM_UPDATE = 4
  993. SCHEME_DISPLAY = 0x0001
  994. SCHEME_EDIT = 0x0002
  995. SCHEME_LOCAL = 0x0004
  996. SCHEME_GLOBAL = 0x0008
  997. SCHEME_REFRESH = 0x0010
  998. SCHEME_UPDATE = 0x0020
  999. SCHEME_DONOTUSE = 0x0040
  1000. SCHEME_CREATE = 0x0080
  1001. GADOF_DIRTY = 1
  1002. # From EmptyVC.h
  1003. EVCF_HASSETTINGS = 0x0001
  1004. EVCF_ENABLEBYDEFAULT = 0x0002
  1005. EVCF_REMOVEFROMLIST = 0x0004
  1006. EVCF_ENABLEBYDEFAULT_AUTO = 0x0008
  1007. EVCF_DONTSHOWIFZERO = 0x0010
  1008. EVCF_SETTINGSMODE = 0x0020
  1009. EVCF_OUTOFDISKSPACE = 0x0040
  1010. EVCCBF_LASTNOTIFICATION = 0x0001
  1011. # ShObjIdl.h IExplorer* related
  1012. EBO_NONE = 0
  1013. EBO_NAVIGATEONCE = 0x1
  1014. EBO_SHOWFRAMES = 0x2
  1015. EBO_ALWAYSNAVIGATE = 0x4
  1016. EBO_NOTRAVELLOG = 0x8
  1017. EBO_NOWRAPPERWINDOW = 0x10
  1018. EBF_NONE = 0
  1019. EBF_SELECTFROMDATAOBJECT = 0x100
  1020. EBF_NODROPTARGET = 0x200
  1021. ECS_ENABLED = 0
  1022. ECS_DISABLED = 0x1
  1023. ECS_HIDDEN = 0x2
  1024. ECS_CHECKBOX = 0x4
  1025. ECS_CHECKED = 0x8
  1026. ECF_HASSUBCOMMANDS = 0x1
  1027. ECF_HASSPLITBUTTON = 0x2
  1028. ECF_HIDELABEL = 0x4
  1029. ECF_ISSEPARATOR = 0x8
  1030. ECF_HASLUASHIELD = 0x10
  1031. SIATTRIBFLAGS_AND = 0x1
  1032. SIATTRIBFLAGS_OR = 0x2
  1033. SIATTRIBFLAGS_APPCOMPAT = 0x3
  1034. SIATTRIBFLAGS_MASK = 0x3
  1035. SIGDN_NORMALDISPLAY = 0
  1036. SIGDN_PARENTRELATIVEPARSING = -2147385343 ## 0x80018001
  1037. SIGDN_DESKTOPABSOLUTEPARSING = -2147319808 ## 0x80028000
  1038. SIGDN_PARENTRELATIVEEDITING = -2147282943 ## 0x80031001
  1039. SIGDN_DESKTOPABSOLUTEEDITING = -2147172352 ## 0x8004c000
  1040. SIGDN_FILESYSPATH = -2147123200 ## 0x80058000
  1041. SIGDN_URL = -2147057664 ## 0x80068000
  1042. SIGDN_PARENTRELATIVEFORADDRESSBAR = -2146975743 ## 0x8007c001,
  1043. SIGDN_PARENTRELATIVE = -2146959359 ## 0x80080001
  1044. SICHINT_DISPLAY = (0,)
  1045. SICHINT_ALLFIELDS = -2147483648 ## 0x80000000
  1046. SICHINT_CANONICAL = 0x10000000
  1047. ASSOCCLASS_SHELL_KEY = 0
  1048. ASSOCCLASS_PROGID_KEY = 1 # hkeyClass
  1049. ASSOCCLASS_PROGID_STR = 2 # pszClass (HKCR\pszClass)
  1050. ASSOCCLASS_CLSID_KEY = 3 # hkeyClass
  1051. ASSOCCLASS_CLSID_STR = 4 # pszClass (HKCR\CLSID\pszClass)
  1052. ASSOCCLASS_APP_KEY = 5 # hkeyClass
  1053. ASSOCCLASS_APP_STR = 6 # pszClass (HKCR\Applications\PathFindFileName(pszClass))
  1054. ASSOCCLASS_SYSTEM_STR = 7 # pszClass
  1055. ASSOCCLASS_FOLDER = 8 # none
  1056. ASSOCCLASS_STAR = 9 # none
  1057. NSTCS_HASEXPANDOS = 0x1
  1058. NSTCS_HASLINES = 0x2
  1059. NSTCS_SINGLECLICKEXPAND = 0x4
  1060. NSTCS_FULLROWSELECT = 0x8
  1061. NSTCS_SPRINGEXPAND = 0x10
  1062. NSTCS_HORIZONTALSCROLL = 0x20
  1063. NSTCS_ROOTHASEXPANDO = 0x40
  1064. NSTCS_SHOWSELECTIONALWAYS = 0x80
  1065. NSTCS_NOINFOTIP = 0x200
  1066. NSTCS_EVENHEIGHT = 0x400
  1067. NSTCS_NOREPLACEOPEN = 0x800
  1068. NSTCS_DISABLEDRAGDROP = 0x1000
  1069. NSTCS_NOORDERSTREAM = 0x2000
  1070. NSTCS_RICHTOOLTIP = 0x4000
  1071. NSTCS_BORDER = 0x8000
  1072. NSTCS_NOEDITLABELS = 0x10000
  1073. NSTCS_TABSTOP = 0x20000
  1074. NSTCS_FAVORITESMODE = 0x80000
  1075. NSTCS_AUTOHSCROLL = 0x100000
  1076. NSTCS_FADEINOUTEXPANDOS = 0x200000
  1077. NSTCS_EMPTYTEXT = 0x400000
  1078. NSTCS_CHECKBOXES = 0x800000
  1079. NSTCS_PARTIALCHECKBOXES = 0x1000000
  1080. NSTCS_EXCLUSIONCHECKBOXES = 0x2000000
  1081. NSTCS_DIMMEDCHECKBOXES = 0x4000000
  1082. NSTCS_NOINDENTCHECKS = 0x8000000
  1083. NSTCS_ALLOWJUNCTIONS = 0x10000000
  1084. NSTCS_SHOWTABSBUTTON = 0x20000000
  1085. NSTCS_SHOWDELETEBUTTON = 0x40000000
  1086. NSTCS_SHOWREFRESHBUTTON = -2147483648 # 0x80000000
  1087. NSTCRS_VISIBLE = 0
  1088. NSTCRS_HIDDEN = 0x1
  1089. NSTCRS_EXPANDED = 0x2
  1090. NSTCIS_NONE = 0
  1091. NSTCIS_SELECTED = 0x1
  1092. NSTCIS_EXPANDED = 0x2
  1093. NSTCIS_BOLD = 0x4
  1094. NSTCIS_DISABLED = 0x8
  1095. NSTCGNI_NEXT = 0
  1096. NSTCGNI_NEXTVISIBLE = 0x1
  1097. NSTCGNI_PREV = 0x2
  1098. NSTCGNI_PREVVISIBLE = 0x3
  1099. NSTCGNI_PARENT = 0x4
  1100. NSTCGNI_CHILD = 0x5
  1101. NSTCGNI_FIRSTVISIBLE = 0x6
  1102. NSTCGNI_LASTVISIBLE = 0x7
  1103. CLSID_ExplorerBrowser = "{71f96385-ddd6-48d3-a0c1-ae06e8b055fb}"
  1104. # Names of the methods of many shell interfaces; used by implementation of
  1105. # the interfaces.
  1106. IBrowserFrame_Methods = ["GetFrameOptions"]
  1107. ICategorizer_Methods = [
  1108. "GetDescription",
  1109. "GetCategory",
  1110. "GetCategoryInfo",
  1111. "CompareCategory",
  1112. ]
  1113. ICategoryProvider_Methods = [
  1114. "CanCategorizeOnSCID",
  1115. "GetDefaultCategory",
  1116. "GetCategoryForSCID",
  1117. "EnumCategories",
  1118. "GetCategoryName",
  1119. "CreateCategory",
  1120. ]
  1121. IContextMenu_Methods = ["QueryContextMenu", "InvokeCommand", "GetCommandString"]
  1122. IExplorerCommand_Methods = [
  1123. "GetTitle",
  1124. "GetIcon",
  1125. "GetToolTip",
  1126. "GetCanonicalName",
  1127. "GetState",
  1128. "Invoke",
  1129. "GetFlags",
  1130. "EnumSubCommands",
  1131. ]
  1132. IExplorerCommandProvider_Methods = ["GetCommand", "GetCommands"]
  1133. IOleWindow_Methods = [
  1134. "GetWindow",
  1135. "ContextSensitiveHelp",
  1136. ] # XXX - this should be somewhere in win32com
  1137. IPersist_Methods = ["GetClassID"]
  1138. IPersistFolder_Methods = IPersist_Methods + ["Initialize"]
  1139. IPersistFolder2_Methods = IPersistFolder_Methods + ["GetCurFolder"]
  1140. IShellExtInit_Methods = ["Initialize"]
  1141. IShellView_Methods = IOleWindow_Methods + [
  1142. "TranslateAccelerator",
  1143. "EnableModeless",
  1144. "UIActivate",
  1145. "Refresh",
  1146. "CreateViewWindow",
  1147. "DestroyViewWindow",
  1148. "GetCurrentInfo",
  1149. "AddPropertySheetPages",
  1150. "SaveViewState",
  1151. "SelectItem",
  1152. "GetItemObject",
  1153. ]
  1154. IShellFolder_Methods = [
  1155. "ParseDisplayName",
  1156. "EnumObjects",
  1157. "BindToObject",
  1158. "BindToStorage",
  1159. "CompareIDs",
  1160. "CreateViewObject",
  1161. "GetAttributesOf",
  1162. "GetUIObjectOf",
  1163. "GetDisplayNameOf",
  1164. "SetNameOf",
  1165. ]
  1166. IShellFolder2_Methods = IShellFolder_Methods + [
  1167. "GetDefaultSearchGUID",
  1168. "EnumSearches",
  1169. "GetDefaultColumn",
  1170. "GetDefaultColumnState",
  1171. "GetDetailsEx",
  1172. "GetDetailsOf",
  1173. "MapColumnToSCID",
  1174. ]
  1175. ## enum GETPROPERTYSTOREFLAGS, used with IShellItem2 methods
  1176. GPS_DEFAULT = 0
  1177. GPS_HANDLERPROPERTIESONLY = 0x1
  1178. GPS_READWRITE = 0x2
  1179. GPS_TEMPORARY = 0x4
  1180. GPS_FASTPROPERTIESONLY = 0x8
  1181. GPS_OPENSLOWITEM = 0x10
  1182. GPS_DELAYCREATION = 0x20
  1183. GPS_BESTEFFORT = 0x40
  1184. GPS_MASK_VALID = 0x7F
  1185. ## Bind context parameter names, used with IBindCtx::RegisterObjectParam
  1186. STR_AVOID_DRIVE_RESTRICTION_POLICY = "Avoid Drive Restriction Policy"
  1187. STR_BIND_DELEGATE_CREATE_OBJECT = "Delegate Object Creation"
  1188. STR_BIND_FOLDERS_READ_ONLY = "Folders As Read Only"
  1189. STR_BIND_FOLDER_ENUM_MODE = "Folder Enum Mode"
  1190. STR_BIND_FORCE_FOLDER_SHORTCUT_RESOLVE = "Force Folder Shortcut Resolve"
  1191. STR_DONT_PARSE_RELATIVE = "Don't Parse Relative"
  1192. STR_DONT_RESOLVE_LINK = "Don't Resolve Link"
  1193. ## STR_ENUM_ITEMS_FLAGS
  1194. STR_FILE_SYS_BIND_DATA = "File System Bind Data"
  1195. STR_GET_ASYNC_HANDLER = "GetAsyncHandler"
  1196. STR_GPS_BESTEFFORT = "GPS_BESTEFFORT"
  1197. STR_GPS_DELAYCREATION = "GPS_DELAYCREATION"
  1198. STR_GPS_FASTPROPERTIESONLY = "GPS_FASTPROPERTIESONLY"
  1199. STR_GPS_HANDLERPROPERTIESONLY = "GPS_HANDLERPROPERTIESONLY"
  1200. STR_GPS_NO_OPLOCK = "GPS_NO_OPLOCK"
  1201. STR_GPS_OPENSLOWITEM = "GPS_OPENSLOWITEM"
  1202. STR_IFILTER_FORCE_TEXT_FILTER_FALLBACK = "Always bind persistent handlers"
  1203. STR_IFILTER_LOAD_DEFINED_FILTER = "Only bind registered persistent handlers"
  1204. STR_INTERNAL_NAVIGATE = "Internal Navigation"
  1205. STR_INTERNETFOLDER_PARSE_ONLY_URLMON_BINDABLE = "Validate URL"
  1206. STR_ITEM_CACHE_CONTEXT = "ItemCacheContext"
  1207. STR_NO_VALIDATE_FILENAME_CHARS = "NoValidateFilenameChars"
  1208. STR_PARSE_ALLOW_INTERNET_SHELL_FOLDERS = "Allow binding to Internet shell folder handlers and negate STR_PARSE_PREFER_WEB_BROWSING"
  1209. STR_PARSE_AND_CREATE_ITEM = "ParseAndCreateItem"
  1210. STR_PARSE_DONT_REQUIRE_VALIDATED_URLS = "Do not require validated URLs"
  1211. STR_PARSE_EXPLICIT_ASSOCIATION_SUCCESSFUL = "ExplicitAssociationSuccessful"
  1212. STR_PARSE_PARTIAL_IDLIST = "ParseOriginalItem"
  1213. STR_PARSE_PREFER_FOLDER_BROWSING = "Parse Prefer Folder Browsing"
  1214. STR_PARSE_PREFER_WEB_BROWSING = "Do not bind to Internet shell folder handlers"
  1215. STR_PARSE_PROPERTYSTORE = "DelegateNamedProperties"
  1216. STR_PARSE_SHELL_PROTOCOL_TO_FILE_OBJECTS = "Parse Shell Protocol To File Objects"
  1217. STR_PARSE_SHOW_NET_DIAGNOSTICS_UI = "Show network diagnostics UI"
  1218. STR_PARSE_SKIP_NET_CACHE = "Skip Net Resource Cache"
  1219. STR_PARSE_TRANSLATE_ALIASES = "Parse Translate Aliases"
  1220. STR_PARSE_WITH_EXPLICIT_ASSOCAPP = "ExplicitAssociationApp"
  1221. STR_PARSE_WITH_EXPLICIT_PROGID = "ExplicitProgid"
  1222. STR_PARSE_WITH_PROPERTIES = "ParseWithProperties"
  1223. ## STR_PROPERTYBAG_PARAM
  1224. STR_SKIP_BINDING_CLSID = "Skip Binding CLSID"
  1225. STR_TRACK_CLSID = "Track the CLSID"
  1226. ## KF_REDIRECTION_CAPABILITIES enum
  1227. KF_REDIRECTION_CAPABILITIES_ALLOW_ALL = 0x000000FF
  1228. KF_REDIRECTION_CAPABILITIES_REDIRECTABLE = 0x00000001
  1229. KF_REDIRECTION_CAPABILITIES_DENY_ALL = 0x000FFF00
  1230. KF_REDIRECTION_CAPABILITIES_DENY_POLICY_REDIRECTED = 0x00000100
  1231. KF_REDIRECTION_CAPABILITIES_DENY_POLICY = 0x00000200
  1232. KF_REDIRECTION_CAPABILITIES_DENY_PERMISSIONS = 0x00000400
  1233. ## KF_REDIRECT_FLAGS enum
  1234. KF_REDIRECT_USER_EXCLUSIVE = 0x00000001
  1235. KF_REDIRECT_COPY_SOURCE_DACL = 0x00000002
  1236. KF_REDIRECT_OWNER_USER = 0x00000004
  1237. KF_REDIRECT_SET_OWNER_EXPLICIT = 0x00000008
  1238. KF_REDIRECT_CHECK_ONLY = 0x00000010
  1239. KF_REDIRECT_WITH_UI = 0x00000020
  1240. KF_REDIRECT_UNPIN = 0x00000040
  1241. KF_REDIRECT_PIN = 0x00000080
  1242. KF_REDIRECT_COPY_CONTENTS = 0x00000200
  1243. KF_REDIRECT_DEL_SOURCE_CONTENTS = 0x00000400
  1244. KF_REDIRECT_EXCLUDE_ALL_KNOWN_SUBFOLDERS = 0x00000800
  1245. ## KF_CATEGORY enum
  1246. KF_CATEGORY_VIRTUAL = 0x00000001
  1247. KF_CATEGORY_FIXED = 0x00000002
  1248. KF_CATEGORY_COMMON = 0x00000003
  1249. KF_CATEGORY_PERUSER = 0x00000004
  1250. ## FFFP_MODE enum
  1251. FFFP_EXACTMATCH = 0
  1252. FFFP_NEARESTPARENTMATCH = 1
  1253. ## APPDOCLISTTYPE, used with IApplicationDocumentLists.GetList
  1254. ADLT_RECENT = 0
  1255. ADLT_FREQUENT = 1
  1256. ## KNOWNDESTCATEGORY used with ICustomDestinationList.AppendKnownCategory
  1257. KDC_FREQUENT = 1
  1258. KDC_RECENT = 2
  1259. ## LIBRARYFOLDERFILTER used with IShellLibrary.GetFolders
  1260. LFF_FORCEFILESYSTEM = 1
  1261. LFF_STORAGEITEMS = 2
  1262. LFF_ALLITEMS = 3
  1263. ## DEFAULTSAVEFOLDERTYPE used with IShellLibrary.Get/SetDefaultSaveFolder
  1264. DSFT_DETECT = 1
  1265. DSFT_PRIVATE = 2
  1266. DSFT_PUBLIC = 3
  1267. ## LIBRARYOPTIONFLAGS used with IShellLibrary.Get/SetOptions
  1268. LOF_DEFAULT = 0
  1269. LOF_PINNEDTONAVPANE = 1
  1270. LOF_MASK_ALL = 1
  1271. ## LIBRARYSAVEFLAGS Used with PyIShellLibrary.Save
  1272. LSF_FAILIFTHERE = 0
  1273. LSF_OVERRIDEEXISTING = 1
  1274. LSF_MAKEUNIQUENAME = 2
  1275. ## TRANSFER_SOURCE_FLAGS, used with IFileOperationProgressSink
  1276. TSF_NORMAL = 0
  1277. TSF_FAIL_EXIST = 0
  1278. TSF_RENAME_EXIST = 0x1
  1279. TSF_OVERWRITE_EXIST = 0x2
  1280. TSF_ALLOW_DECRYPTION = 0x4
  1281. TSF_NO_SECURITY = 0x8
  1282. TSF_COPY_CREATION_TIME = 0x10
  1283. TSF_COPY_WRITE_TIME = 0x20
  1284. TSF_USE_FULL_ACCESS = 0x40
  1285. TSF_DELETE_RECYCLE_IF_POSSIBLE = 0x80
  1286. TSF_COPY_HARD_LINK = 0x100
  1287. TSF_COPY_LOCALIZED_NAME = 0x200
  1288. TSF_MOVE_AS_COPY_DELETE = 0x400
  1289. TSF_SUSPEND_SHELLEVENTS = 0x800
  1290. ## TRANSFER_ADVISE_STATE, used with ITransferAdviseSink
  1291. TS_NONE = 0
  1292. TS_PERFORMING = 1
  1293. TS_PREPARING = 2
  1294. TS_INDETERMINATE = 4
  1295. ## Success HRESULTs returned by ITransfer* interface operations
  1296. COPYENGINE_S_YES = 0x00270001
  1297. COPYENGINE_S_NOT_HANDLED = 0x00270003
  1298. COPYENGINE_S_USER_RETRY = 0x00270004
  1299. COPYENGINE_S_USER_IGNORED = 0x00270005
  1300. COPYENGINE_S_MERGE = 0x00270006
  1301. COPYENGINE_S_DONT_PROCESS_CHILDREN = 0x00270008
  1302. COPYENGINE_S_ALREADY_DONE = 0x0027000A
  1303. COPYENGINE_S_PENDING = 0x0027000B
  1304. COPYENGINE_S_KEEP_BOTH = 0x0027000C
  1305. COPYENGINE_S_CLOSE_PROGRAM = 0x0027000D
  1306. COPYENGINE_S_COLLISIONRESOLVED = 0x0027000E
  1307. ## Error HRESULTS
  1308. COPYENGINE_E_USER_CANCELLED = 0x80270000
  1309. COPYENGINE_E_CANCELLED = 0x80270001
  1310. COPYENGINE_E_REQUIRES_ELEVATION = 0x80270002
  1311. COPYENGINE_E_SAME_FILE = 0x80270003
  1312. COPYENGINE_E_DIFF_DIR = 0x80270004
  1313. COPYENGINE_E_MANY_SRC_1_DEST = 0x80270005
  1314. COPYENGINE_E_DEST_SUBTREE = 0x80270009
  1315. COPYENGINE_E_DEST_SAME_TREE = 0x8027000A
  1316. COPYENGINE_E_FLD_IS_FILE_DEST = 0x8027000B
  1317. COPYENGINE_E_FILE_IS_FLD_DEST = 0x8027000C
  1318. COPYENGINE_E_FILE_TOO_LARGE = 0x8027000D
  1319. COPYENGINE_E_REMOVABLE_FULL = 0x8027000E
  1320. COPYENGINE_E_DEST_IS_RO_CD = 0x8027000F
  1321. COPYENGINE_E_DEST_IS_RW_CD = 0x80270010
  1322. COPYENGINE_E_DEST_IS_R_CD = 0x80270011
  1323. COPYENGINE_E_DEST_IS_RO_DVD = 0x80270012
  1324. COPYENGINE_E_DEST_IS_RW_DVD = 0x80270013
  1325. COPYENGINE_E_DEST_IS_R_DVD = 0x80270014
  1326. COPYENGINE_E_SRC_IS_RO_CD = 0x80270015
  1327. COPYENGINE_E_SRC_IS_RW_CD = 0x80270016
  1328. COPYENGINE_E_SRC_IS_R_CD = 0x80270017
  1329. COPYENGINE_E_SRC_IS_RO_DVD = 0x80270018
  1330. COPYENGINE_E_SRC_IS_RW_DVD = 0x80270019
  1331. COPYENGINE_E_SRC_IS_R_DVD = 0x8027001A
  1332. COPYENGINE_E_INVALID_FILES_SRC = 0x8027001B
  1333. COPYENGINE_E_INVALID_FILES_DEST = 0x8027001C
  1334. COPYENGINE_E_PATH_TOO_DEEP_SRC = 0x8027001D
  1335. COPYENGINE_E_PATH_TOO_DEEP_DEST = 0x8027001E
  1336. COPYENGINE_E_ROOT_DIR_SRC = 0x8027001F
  1337. COPYENGINE_E_ROOT_DIR_DEST = 0x80270020
  1338. COPYENGINE_E_ACCESS_DENIED_SRC = 0x80270021
  1339. COPYENGINE_E_ACCESS_DENIED_DEST = 0x80270022
  1340. COPYENGINE_E_PATH_NOT_FOUND_SRC = 0x80270023
  1341. COPYENGINE_E_PATH_NOT_FOUND_DEST = 0x80270024
  1342. COPYENGINE_E_NET_DISCONNECT_SRC = 0x80270025
  1343. COPYENGINE_E_NET_DISCONNECT_DEST = 0x80270026
  1344. COPYENGINE_E_SHARING_VIOLATION_SRC = 0x80270027
  1345. COPYENGINE_E_SHARING_VIOLATION_DEST = 0x80270028
  1346. COPYENGINE_E_ALREADY_EXISTS_NORMAL = 0x80270029
  1347. COPYENGINE_E_ALREADY_EXISTS_READONLY = 0x8027002A
  1348. COPYENGINE_E_ALREADY_EXISTS_SYSTEM = 0x8027002B
  1349. COPYENGINE_E_ALREADY_EXISTS_FOLDER = 0x8027002C
  1350. COPYENGINE_E_STREAM_LOSS = 0x8027002D
  1351. COPYENGINE_E_EA_LOSS = 0x8027002E
  1352. COPYENGINE_E_PROPERTY_LOSS = 0x8027002F
  1353. COPYENGINE_E_PROPERTIES_LOSS = 0x80270030
  1354. COPYENGINE_E_ENCRYPTION_LOSS = 0x80270031
  1355. COPYENGINE_E_DISK_FULL = 0x80270032
  1356. COPYENGINE_E_DISK_FULL_CLEAN = 0x80270033
  1357. COPYENGINE_E_EA_NOT_SUPPORTED = 0x80270034
  1358. COPYENGINE_E_CANT_REACH_SOURCE = 0x80270035
  1359. COPYENGINE_E_RECYCLE_UNKNOWN_ERROR = 0x80270035
  1360. COPYENGINE_E_RECYCLE_FORCE_NUKE = 0x80270036
  1361. COPYENGINE_E_RECYCLE_SIZE_TOO_BIG = 0x80270037
  1362. COPYENGINE_E_RECYCLE_PATH_TOO_LONG = 0x80270038
  1363. COPYENGINE_E_RECYCLE_BIN_NOT_FOUND = 0x8027003A
  1364. COPYENGINE_E_NEWFILE_NAME_TOO_LONG = 0x8027003B
  1365. COPYENGINE_E_NEWFOLDER_NAME_TOO_LONG = 0x8027003C
  1366. COPYENGINE_E_DIR_NOT_EMPTY = 0x8027003D
  1367. COPYENGINE_E_FAT_MAX_IN_ROOT = 0x8027003E
  1368. COPYENGINE_E_ACCESSDENIED_READONLY = 0x8027003F
  1369. COPYENGINE_E_REDIRECTED_TO_WEBPAGE = 0x80270040
  1370. COPYENGINE_E_SERVER_BAD_FILE_TYPE = 0x80270041
  1371. FOLDERID_NetworkFolder = "{D20BEEC4-5CA8-4905-AE3B-BF251EA09B53}"
  1372. FOLDERID_ComputerFolder = "{0AC0837C-BBF8-452A-850D-79D08E667CA7}"
  1373. FOLDERID_InternetFolder = "{4D9F7874-4E0C-4904-967B-40B0D20C3E4B}"
  1374. FOLDERID_ControlPanelFolder = "{82A74AEB-AEB4-465C-A014-D097EE346D63}"
  1375. FOLDERID_PrintersFolder = "{76FC4E2D-D6AD-4519-A663-37BD56068185}"
  1376. FOLDERID_SyncManagerFolder = "{43668BF8-C14E-49B2-97C9-747784D784B7}"
  1377. FOLDERID_SyncSetupFolder = "{0F214138-B1D3-4a90-BBA9-27CBC0C5389A}"
  1378. FOLDERID_ConflictFolder = "{4bfefb45-347d-4006-a5be-ac0cb0567192}"
  1379. FOLDERID_SyncResultsFolder = "{289a9a43-be44-4057-a41b-587a76d7e7f9}"
  1380. FOLDERID_RecycleBinFolder = "{B7534046-3ECB-4C18-BE4E-64CD4CB7D6AC}"
  1381. FOLDERID_ConnectionsFolder = "{6F0CD92B-2E97-45D1-88FF-B0D186B8DEDD}"
  1382. FOLDERID_Fonts = "{FD228CB7-AE11-4AE3-864C-16F3910AB8FE}"
  1383. FOLDERID_Desktop = "{B4BFCC3A-DB2C-424C-B029-7FE99A87C641}"
  1384. FOLDERID_Startup = "{B97D20BB-F46A-4C97-BA10-5E3608430854}"
  1385. FOLDERID_Programs = "{A77F5D77-2E2B-44C3-A6A2-ABA601054A51}"
  1386. FOLDERID_StartMenu = "{625B53C3-AB48-4EC1-BA1F-A1EF4146FC19}"
  1387. FOLDERID_Recent = "{AE50C081-EBD2-438A-8655-8A092E34987A}"
  1388. FOLDERID_SendTo = "{8983036C-27C0-404B-8F08-102D10DCFD74}"
  1389. FOLDERID_Documents = "{FDD39AD0-238F-46AF-ADB4-6C85480369C7}"
  1390. FOLDERID_Favorites = "{1777F761-68AD-4D8A-87BD-30B759FA33DD}"
  1391. FOLDERID_NetHood = "{C5ABBF53-E17F-4121-8900-86626FC2C973}"
  1392. FOLDERID_PrintHood = "{9274BD8D-CFD1-41C3-B35E-B13F55A758F4}"
  1393. FOLDERID_Templates = "{A63293E8-664E-48DB-A079-DF759E0509F7}"
  1394. FOLDERID_CommonStartup = "{82A5EA35-D9CD-47C5-9629-E15D2F714E6E}"
  1395. FOLDERID_CommonPrograms = "{0139D44E-6AFE-49F2-8690-3DAFCAE6FFB8}"
  1396. FOLDERID_CommonStartMenu = "{A4115719-D62E-491D-AA7C-E74B8BE3B067}"
  1397. FOLDERID_PublicDesktop = "{C4AA340D-F20F-4863-AFEF-F87EF2E6BA25}"
  1398. FOLDERID_ProgramData = "{62AB5D82-FDC1-4DC3-A9DD-070D1D495D97}"
  1399. FOLDERID_CommonTemplates = "{B94237E7-57AC-4347-9151-B08C6C32D1F7}"
  1400. FOLDERID_PublicDocuments = "{ED4824AF-DCE4-45A8-81E2-FC7965083634}"
  1401. FOLDERID_RoamingAppData = "{3EB685DB-65F9-4CF6-A03A-E3EF65729F3D}"
  1402. FOLDERID_LocalAppData = "{F1B32785-6FBA-4FCF-9D55-7B8E7F157091}"
  1403. FOLDERID_LocalAppDataLow = "{A520A1A4-1780-4FF6-BD18-167343C5AF16}"
  1404. FOLDERID_InternetCache = "{352481E8-33BE-4251-BA85-6007CAEDCF9D}"
  1405. FOLDERID_Cookies = "{2B0F765D-C0E9-4171-908E-08A611B84FF6}"
  1406. FOLDERID_History = "{D9DC8A3B-B784-432E-A781-5A1130A75963}"
  1407. FOLDERID_System = "{1AC14E77-02E7-4E5D-B744-2EB1AE5198B7}"
  1408. FOLDERID_SystemX86 = "{D65231B0-B2F1-4857-A4CE-A8E7C6EA7D27}"
  1409. FOLDERID_Windows = "{F38BF404-1D43-42F2-9305-67DE0B28FC23}"
  1410. FOLDERID_Profile = "{5E6C858F-0E22-4760-9AFE-EA3317B67173}"
  1411. FOLDERID_Pictures = "{33E28130-4E1E-4676-835A-98395C3BC3BB}"
  1412. FOLDERID_ProgramFilesX86 = "{7C5A40EF-A0FB-4BFC-874A-C0F2E0B9FA8E}"
  1413. FOLDERID_ProgramFilesCommonX86 = "{DE974D24-D9C6-4D3E-BF91-F4455120B917}"
  1414. FOLDERID_ProgramFilesX64 = "{6D809377-6AF0-444b-8957-A3773F02200E}"
  1415. FOLDERID_ProgramFilesCommonX64 = "{6365D5A7-0F0D-45e5-87F6-0DA56B6A4F7D}"
  1416. FOLDERID_ProgramFiles = "{905e63b6-c1bf-494e-b29c-65b732d3d21a}"
  1417. FOLDERID_ProgramFilesCommon = "{F7F1ED05-9F6D-47A2-AAAE-29D317C6F066}"
  1418. FOLDERID_UserProgramFiles = "{5cd7aee2-2219-4a67-b85d-6c9ce15660cb}"
  1419. FOLDERID_UserProgramFilesCommon = "{bcbd3057-ca5c-4622-b42d-bc56db0ae516}"
  1420. FOLDERID_AdminTools = "{724EF170-A42D-4FEF-9F26-B60E846FBA4F}"
  1421. FOLDERID_CommonAdminTools = "{D0384E7D-BAC3-4797-8F14-CBA229B392B5}"
  1422. FOLDERID_Music = "{4BD8D571-6D19-48D3-BE97-422220080E43}"
  1423. FOLDERID_Videos = "{18989B1D-99B5-455B-841C-AB7C74E4DDFC}"
  1424. FOLDERID_Ringtones = "{C870044B-F49E-4126-A9C3-B52A1FF411E8}"
  1425. FOLDERID_PublicPictures = "{B6EBFB86-6907-413C-9AF7-4FC2ABF07CC5}"
  1426. FOLDERID_PublicMusic = "{3214FAB5-9757-4298-BB61-92A9DEAA44FF}"
  1427. FOLDERID_PublicVideos = "{2400183A-6185-49FB-A2D8-4A392A602BA3}"
  1428. FOLDERID_PublicRingtones = "{E555AB60-153B-4D17-9F04-A5FE99FC15EC}"
  1429. FOLDERID_ResourceDir = "{8AD10C31-2ADB-4296-A8F7-E4701232C972}"
  1430. FOLDERID_LocalizedResourcesDir = "{2A00375E-224C-49DE-B8D1-440DF7EF3DDC}"
  1431. FOLDERID_CommonOEMLinks = "{C1BAE2D0-10DF-4334-BEDD-7AA20B227A9D}"
  1432. FOLDERID_CDBurning = "{9E52AB10-F80D-49DF-ACB8-4330F5687855}"
  1433. FOLDERID_UserProfiles = "{0762D272-C50A-4BB0-A382-697DCD729B80}"
  1434. FOLDERID_Playlists = "{DE92C1C7-837F-4F69-A3BB-86E631204A23}"
  1435. FOLDERID_SamplePlaylists = "{15CA69B3-30EE-49C1-ACE1-6B5EC372AFB5}"
  1436. FOLDERID_SampleMusic = "{B250C668-F57D-4EE1-A63C-290EE7D1AA1F}"
  1437. FOLDERID_SamplePictures = "{C4900540-2379-4C75-844B-64E6FAF8716B}"
  1438. FOLDERID_SampleVideos = "{859EAD94-2E85-48AD-A71A-0969CB56A6CD}"
  1439. FOLDERID_PhotoAlbums = "{69D2CF90-FC33-4FB7-9A0C-EBB0F0FCB43C}"
  1440. FOLDERID_Public = "{DFDF76A2-C82A-4D63-906A-5644AC457385}"
  1441. FOLDERID_ChangeRemovePrograms = "{df7266ac-9274-4867-8d55-3bd661de872d}"
  1442. FOLDERID_AppUpdates = "{a305ce99-f527-492b-8b1a-7e76fa98d6e4}"
  1443. FOLDERID_AddNewPrograms = "{de61d971-5ebc-4f02-a3a9-6c82895e5c04}"
  1444. FOLDERID_Downloads = "{374DE290-123F-4565-9164-39C4925E467B}"
  1445. FOLDERID_PublicDownloads = "{3D644C9B-1FB8-4f30-9B45-F670235F79C0}"
  1446. FOLDERID_SavedSearches = "{7d1d3a04-debb-4115-95cf-2f29da2920da}"
  1447. FOLDERID_QuickLaunch = "{52a4f021-7b75-48a9-9f6b-4b87a210bc8f}"
  1448. FOLDERID_Contacts = "{56784854-C6CB-462b-8169-88E350ACB882}"
  1449. FOLDERID_SidebarParts = "{A75D362E-50FC-4fb7-AC2C-A8BEAA314493}"
  1450. FOLDERID_SidebarDefaultParts = "{7B396E54-9EC5-4300-BE0A-2482EBAE1A26}"
  1451. FOLDERID_PublicGameTasks = "{DEBF2536-E1A8-4c59-B6A2-414586476AEA}"
  1452. FOLDERID_GameTasks = "{054FAE61-4DD8-4787-80B6-090220C4B700}"
  1453. FOLDERID_SavedGames = "{4C5C32FF-BB9D-43b0-B5B4-2D72E54EAAA4}"
  1454. FOLDERID_Games = "{CAC52C1A-B53D-4edc-92D7-6B2E8AC19434}"
  1455. FOLDERID_SEARCH_MAPI = "{98ec0e18-2098-4d44-8644-66979315a281}"
  1456. FOLDERID_SEARCH_CSC = "{ee32e446-31ca-4aba-814f-a5ebd2fd6d5e}"
  1457. FOLDERID_Links = "{bfb9d5e0-c6a9-404c-b2b2-ae6db6af4968}"
  1458. FOLDERID_UsersFiles = "{f3ce0f7c-4901-4acc-8648-d5d44b04ef8f}"
  1459. FOLDERID_UsersLibraries = "{A302545D-DEFF-464b-ABE8-61C8648D939B}"
  1460. FOLDERID_SearchHome = "{190337d1-b8ca-4121-a639-6d472d16972a}"
  1461. FOLDERID_OriginalImages = "{2C36C0AA-5812-4b87-BFD0-4CD0DFB19B39}"
  1462. FOLDERID_DocumentsLibrary = "{7b0db17d-9cd2-4a93-9733-46cc89022e7c}"
  1463. FOLDERID_MusicLibrary = "{2112AB0A-C86A-4ffe-A368-0DE96E47012E}"
  1464. FOLDERID_PicturesLibrary = "{A990AE9F-A03B-4e80-94BC-9912D7504104}"
  1465. FOLDERID_VideosLibrary = "{491E922F-5643-4af4-A7EB-4E7A138D8174}"
  1466. FOLDERID_RecordedTVLibrary = "{1A6FDBA2-F42D-4358-A798-B74D745926C5}"
  1467. FOLDERID_HomeGroup = "{52528A6B-B9E3-4add-B60D-588C2DBA842D}"
  1468. FOLDERID_HomeGroupCurrentUser = "{9B74B6A3-0DFD-4f11-9E78-5F7800F2E772}"
  1469. FOLDERID_DeviceMetadataStore = "{5CE4A5E9-E4EB-479D-B89F-130C02886155}"
  1470. FOLDERID_Libraries = "{1B3EA5DC-B587-4786-B4EF-BD1DC332AEAE}"
  1471. FOLDERID_PublicLibraries = "{48daf80b-e6cf-4f4e-b800-0e69d84ee384}"
  1472. FOLDERID_UserPinned = "{9e3995ab-1f9c-4f13-b827-48b24b6c7174}"
  1473. FOLDERID_ImplicitAppShortcuts = "{bcb5256f-79f6-4cee-b725-dc34e402fd46}"
  1474. FOLDERID_AccountPictures = "{008ca0b1-55b4-4c56-b8a8-4de4b299d3be}"
  1475. FOLDERID_PublicUserTiles = "{0482af6c-08f1-4c34-8c90-e17ec98b1e17}"
  1476. FOLDERID_AppsFolder = "{1e87508d-89c2-42f0-8a7e-645a0f50ca58}"
  1477. FOLDERID_StartMenuAllPrograms = "{F26305EF-6948-40B9-B255-81453D09C785}"
  1478. FOLDERID_CommonStartMenuPlaces = "{A440879F-87A0-4F7D-B700-0207B966194A}"
  1479. FOLDERID_ApplicationShortcuts = "{A3918781-E5F2-4890-B3D9-A7E54332328C}"
  1480. FOLDERID_RoamingTiles = "{00BCFC5A-ED94-4e48-96A1-3F6217F21990}"
  1481. FOLDERID_RoamedTileImages = "{AAA8D5A5-F1D6-4259-BAA8-78E7EF60835E}"
  1482. FOLDERID_Screenshots = "{b7bede81-df94-4682-a7d8-57a52620b86f}"
  1483. FOLDERID_CameraRoll = "{AB5FB87B-7CE2-4F83-915D-550846C9537B}"
  1484. FOLDERID_SkyDrive = "{A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}"
  1485. FOLDERID_OneDrive = "{A52BBA46-E9E1-435f-B3D9-28DAA648C0F6}"
  1486. FOLDERID_SkyDriveDocuments = "{24D89E24-2F19-4534-9DDE-6A6671FBB8FE}"
  1487. FOLDERID_SkyDrivePictures = "{339719B5-8C47-4894-94C2-D8F77ADD44A6}"
  1488. FOLDERID_SkyDriveMusic = "{C3F2459E-80D6-45DC-BFEF-1F769F2BE730}"
  1489. FOLDERID_SkyDriveCameraRoll = "{767E6811-49CB-4273-87C2-20F355E1085B}"
  1490. FOLDERID_SearchHistory = "{0D4C3DB6-03A3-462F-A0E6-08924C41B5D4}"
  1491. FOLDERID_SearchTemplates = "{7E636BFE-DFA9-4D5E-B456-D7B39851D8A9}"
  1492. FOLDERID_CameraRollLibrary = "{2B20DF75-1EDA-4039-8097-38798227D5B7}"
  1493. FOLDERID_SavedPictures = "{3B193882-D3AD-4eab-965A-69829D1FB59F}"
  1494. FOLDERID_SavedPicturesLibrary = "{E25B5812-BE88-4bd9-94B0-29233477B6C3}"
  1495. FOLDERID_RetailDemo = "{12D4C69E-24AD-4923-BE19-31321C43A767}"
  1496. FOLDERID_Device = "{1C2AC1DC-4358-4B6C-9733-AF21156576F0}"
  1497. FOLDERID_DevelopmentFiles = "{DBE8E08E-3053-4BBC-B183-2A7B2B191E59}"
  1498. FOLDERID_Objects3D = "{31C0DD25-9439-4F12-BF41-7FF4EDA38722}"
  1499. FOLDERID_AppCaptures = "{EDC0FE71-98D8-4F4A-B920-C8DC133CB165}"
  1500. FOLDERID_LocalDocuments = "{f42ee2d3-909f-4907-8871-4c22fc0bf756}"
  1501. FOLDERID_LocalPictures = "{0ddd015d-b06c-45d5-8c4c-f59713854639 }"
  1502. FOLDERID_LocalVideos = "{35286a68-3c57-41a1-bbb1-0eae73d76c95}"
  1503. FOLDERID_LocalMusic = "{a0c69a99-21c8-4671-8703-7934162fcf1d}"
  1504. FOLDERID_LocalDownloads = "{7d83ee9b-2244-4e70-b1f5-5393042af1e4}"
  1505. FOLDERID_RecordedCalls = "{2f8b40c2-83ed-48ee-b383-a1f157ec6f9a}"
  1506. KF_FLAG_DEFAULT = 0x00000000
  1507. KF_FLAG_FORCE_APP_DATA_REDIRECTION = 0x00080000
  1508. KF_FLAG_RETURN_FILTER_REDIRECTION_TARGET = 0x00040000
  1509. KF_FLAG_FORCE_PACKAGE_REDIRECTION = 0x00020000
  1510. KF_FLAG_NO_PACKAGE_REDIRECTION = 0x00010000
  1511. KF_FLAG_FORCE_APPCONTAINER_REDIRECTION = 0x00020000
  1512. KF_FLAG_NO_APPCONTAINER_REDIRECTION = 0x00010000
  1513. KF_FLAG_CREATE = 0x00008000
  1514. KF_FLAG_DONT_VERIFY = 0x00004000
  1515. KF_FLAG_DONT_UNEXPAND = 0x00002000
  1516. KF_FLAG_NO_ALIAS = 0x00001000
  1517. KF_FLAG_INIT = 0x00000800
  1518. KF_FLAG_DEFAULT_PATH = 0x00000400
  1519. KF_FLAG_NOT_PARENT_RELATIVE = 0x00000200
  1520. KF_FLAG_SIMPLE_IDLIST = 0x00000100
  1521. KF_FLAG_ALIAS_ONLY = 0x80000000