ReactOS 0.4.16-dev-338-g34e76ad
shlobj.h
Go to the documentation of this file.
1/*
2 * Copyright (C) the Wine project
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19#ifndef __WINE_SHLOBJ_H
20#define __WINE_SHLOBJ_H
21
22#include <ole2.h>
23#include <commctrl.h>
24#include <prsht.h>
25
26#ifndef INITGUID
27#include <shlguid.h>
28#endif
29
30#ifdef WINE_NO_UNICODE_MACROS
31#undef GetObject
32#endif
33
34#ifdef __cplusplus
35extern "C" {
36#endif /* defined(__cplusplus) */
37
38/* Except for specific structs, this header is byte packed */
39#include <pshpack1.h>
40
41#include <shtypes.h>
42#include <shobjidl.h>
43
44#include <pshpack8.h>
45
46typedef struct
47{
50 SHELLVIEWID* pvid;
64
65typedef struct
66{
69 SHELLVIEWID* pvid;
83
84#include <poppack.h>
85
86#define FCS_READ 0x00000001
87#define FCS_FORCEWRITE 0x00000002
88
89#define FCSM_ICONFILE 0x00000010
90
91#ifndef HPSXA_DEFINED
92#define HPSXA_DEFINED
94#endif
95
96typedef enum
97{
98 KF_FLAG_DEFAULT = 0x00000000,
102 KF_FLAG_INIT = 0x00000800,
103 KF_FLAG_NO_ALIAS = 0x00001000,
106 KF_FLAG_CREATE = 0x00008000,
108 KF_FLAG_ALIAS_ONLY = 0x80000000
110
111typedef int GPFIDL_FLAGS;
112
114{
119
120UINT
121WINAPI
123 _In_ HPSXA,
125 LPARAM);
126
128
130WINAPI
133 _In_opt_ const CLSID*,
135 _In_ REFIID,
137
141
143WINAPI
149
152#define SHCLSIDFromString WINELIB_NAME_AW(SHCLSIDFromString)
153
155WINAPI
157 _In_ UINT cfmt,
158 _In_reads_(cfmt) const FORMATETC *,
160
165
166BOOL
167WINAPI
170 _Inout_updates_(cchFilePath) LPWSTR,
171 UINT cchFilePath,
176
178
180
182WINAPI
185 _In_ int,
187 _In_ DWORD,
189
191WINAPI
194 _In_ int,
196 _In_ DWORD,
199
200#define SHGetFolderPathAndSubDir WINELIB_NAME_AW(SHGetFolderPathAndSubDir)
201
204 _In_ INT csidl,
205 _In_ HANDLE hToken,
207 _In_ LPCSTR pszPath);
208
211 _In_ INT csidl,
212 _In_ HANDLE hToken,
214 _In_ LPCWSTR pszPath);
215
216#define SHSetFolderPath WINELIB_NAME_AW(SHSetFolderPath)
217
220 _In_ LPCSTR pszFile,
221 _In_ DWORD dwAttr);
222
225 _In_ LPCWSTR pszFile,
226 _In_ DWORD dwAttr);
227
228#define PathIsSlow WINELIB_NAME_AW(PathIsSlow)
229
230_Success_(return != 0)
231BOOL
232WINAPI
236
237_Success_(return != 0)
238BOOL
239WINAPI
243
244#define SHGetPathFromIDList WINELIB_NAME_AW(SHGetPathFromIDList)
245
247
249WINAPI
251 _In_ PCWSTR,
254
256
258WINAPI
260 _In_ PCWSTR pszName,
261 _In_opt_ IBindCtx* pbc,
263 _In_ SFGAOF sfgaoIn,
264 _Out_opt_ SFGAOF* psfgaoOut);
265
267WINAPI
271 _In_ LPCSTR, DWORD);
272
274WINAPI
279
280#define SHPathPrepareForWrite WINELIB_NAME_AW(SHPathPrepareForWrite)
281
282UINT
283WINAPI
285 _In_ HPSXA,
286 UINT,
288 LPARAM);
289
291
292int
293WINAPI
297 _Out_opt_ int*);
298
302#define SHUpdateImage WINELIB_NAME_AW(SHUpdateImage)
303
304INT
305WINAPI
308 _Inout_updates_(cchIconPath) LPWSTR,
309 UINT cchIconPath,
310 _Inout_opt_ int *);
311
313WINAPI
315 _In_ HWND hwnd,
317
320int WINAPI DriveType(int);
322int WINAPI IsNetDrive(int);
324
325#define KF_FLAG_DEFAULT_PATH 0x00000400
326
327#define SHFMT_ERROR 0xFFFFFFFFL /* Error on last format, drive may be formattable */
328#define SHFMT_CANCEL 0xFFFFFFFEL /* Last format was cancelled */
329#define SHFMT_NOFORMAT 0xFFFFFFFDL /* Drive is not formattable */
330
331/* SHFormatDrive flags */
332#define SHFMT_ID_DEFAULT 0xFFFF
333#define SHFMT_OPT_FULL 1
334#define SHFMT_OPT_SYSONLY 2
335
336/* SHPathPrepareForWrite flags */
337#define SHPPFW_NONE 0x00000000
338#define SHPPFW_DIRCREATE 0x00000001
339#define SHPPFW_DEFAULT SHPPFW_DIRCREATE
340#define SHPPFW_ASKDIRCREATE 0x00000002
341#define SHPPFW_IGNOREFILENAME 0x00000004
342#define SHPPFW_NOWRITECHECK 0x00000008
343#define SHPPFW_MEDIACHECKONLY 0x00000010
344
345/* SHObjectProperties flags */
346#define SHOP_PRINTERNAME 0x01
347#define SHOP_FILEPATH 0x02
348#define SHOP_VOLUMEGUID 0x04
349
350BOOL
351WINAPI
354 _In_ DWORD,
357
359WINAPI
361 _In_ PCIDLIST_ABSOLUTE pidlFolder,
362 _In_ UINT cidl,
364 _In_ DWORD);
365
366#define PCS_FATAL 0x80000000
367#define PCS_REPLACEDCHAR 0x00000001
368#define PCS_REMOVEDCHAR 0x00000002
369#define PCS_TRUNCATED 0x00000004
370#define PCS_PATHTOOLONG 0x00000008
371
373
374#if (_WIN32_WINNT >= _WIN32_WINNT_WINXP) && (_WIN32_WINNT <= _WIN32_WINNT_WS03)
376#endif
377
380 _In_opt_ LPCSTR pszCaption,
381 _In_opt_ HKEY *ahKeys,
382 _In_ UINT cKeys,
383 _In_ const CLSID *pclsidDefault,
384 _In_ IDataObject *pDataObject,
385 _In_opt_ IShellBrowser *pShellBrowser,
386 _In_opt_ LPCSTR pszStartPage);
387
390 _In_opt_ LPCWSTR pszCaption,
391 _In_opt_ HKEY *ahKeys,
392 _In_ UINT cKeys,
393 _In_ const CLSID *pclsidDefault,
394 _In_ IDataObject *pDataObject,
395 _In_opt_ IShellBrowser *pShellBrowser,
396 _In_opt_ LPCWSTR pszStartPage);
397
398#define SHOpenPropSheet WINELIB_NAME_AW(SHOpenPropSheet)
399
402 _In_ HWND hwnd,
403 _In_ LPCSTR pszRemoteName,
404 _In_ DWORD dwType);
405
408 _In_ HWND hwnd,
409 _In_ LPCWSTR pszRemoteName,
410 _In_ DWORD dwType);
411
412/*****************************************************************************
413 * IContextMenu interface
414 */
415
416
417/* DATAOBJECT_InitShellIDList*/
418#define CFSTR_SHELLIDLISTA "Shell IDList Array" /* CF_IDLIST */
419#define CFSTR_SHELLIDLISTOFFSETA "Shell Object Offsets" /* CF_OBJECTPOSITIONS */
420#define CFSTR_NETRESOURCESA "Net Resource" /* CF_NETRESOURCE */
421/* DATAOBJECT_InitFileGroupDesc */
422#define CFSTR_FILEDESCRIPTORA "FileGroupDescriptor" /* CF_FILEGROUPDESCRIPTORA */
423/* DATAOBJECT_InitFileContents*/
424#define CFSTR_FILECONTENTSA "FileContents" /* CF_FILECONTENTS */
425#define CFSTR_FILENAMEA "FileName" /* CF_FILENAMEA */
426#define CFSTR_FILENAMEMAPA "FileNameMap" /* CF_FILENAMEMAPA */
427#define CFSTR_PRINTERGROUPA "PrinterFriendlyName" /* CF_PRINTERS */
428#define CFSTR_SHELLURLA "UniformResourceLocator"
429#define CFSTR_INETURLA CFSTR_SHELLURLA
430#define CFSTR_PREFERREDDROPEFFECTA "Preferred DropEffect"
431#define CFSTR_PERFORMEDDROPEFFECTA "Performed DropEffect"
432#define CFSTR_PASTESUCCEEDEDA "Paste Succeeded"
433#define CFSTR_INDRAGLOOPA "InShellDragLoop"
434#define CFSTR_DRAGCONTEXTA "DragContext"
435#define CFSTR_MOUNTEDVOLUMEA "MountedVolume"
436#define CFSTR_PERSISTEDDATAOBJECTA "PersistedDataObject"
437#define CFSTR_TARGETCLSIDA "TargetCLSID"
438#define CFSTR_AUTOPLAY_SHELLIDLISTSA "Autoplay Enumerated IDList Array"
439#define CFSTR_LOGICALPERFORMEDDROPEFFECTA "Logical Performed DropEffect"
440
441#if defined(__GNUC__)
442# define CFSTR_SHELLIDLISTW \
443 (const WCHAR []){ 'S','h','e','l','l',' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 }
444# define CFSTR_SHELLIDLISTOFFSETW \
445 (const WCHAR []){ 'S','h','e','l','l',' ','O','b','j','e','c','t',' ','O','f','f','s','e','t','s',0 }
446# define CFSTR_NETRESOURCESW \
447 (const WCHAR []){ 'N','e','t',' ','R','e','s','o','u','r','c','e',0 }
448# define CFSTR_FILEDESCRIPTORW \
449 (const WCHAR []){ 'F','i','l','e','G','r','o','u','p','D','e','s','c','r','i','p','t','o','r','W',0 }
450# define CFSTR_FILECONTENTSW \
451 (const WCHAR []){ 'F','i','l','e','C','o','n','t','e','n','t','s',0 }
452# define CFSTR_FILENAMEW \
453 (const WCHAR []){ 'F','i','l','e','N','a','m','e','W',0 }
454# define CFSTR_FILENAMEMAPW \
455 (const WCHAR []){ 'F','i','l','e','N','a','m','e','M','a','p','W',0 }
456# define CFSTR_PRINTERGROUPW \
457 (const WCHAR []){ 'P','r','i','n','t','e','r','F','r','i','e','n','d','l','y','N','a','m','e',0 }
458# define CFSTR_SHELLURLW \
459 (const WCHAR []){ 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r',0 }
460# define CFSTR_INETURLW \
461 (const WCHAR []){ 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r','W',0 }
462# define CFSTR_PREFERREDDROPEFFECTW \
463 (const WCHAR []){ 'P','r','e','f','e','r','r','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 }
464# define CFSTR_PERFORMEDDROPEFFECTW \
465 (const WCHAR []){ 'P','e','r','f','o','r','m','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 }
466# define CFSTR_PASTESUCCEEDEDW \
467 (const WCHAR []){ 'P','a','s','t','e',' ','S','u','c','c','e','e','d','e','d',0 }
468# define CFSTR_INDRAGLOOPW \
469 (const WCHAR []){ 'I','n','S','h','e','l','l','D','r','a','g','L','o','o','p',0 }
470# define CFSTR_DRAGCONTEXTW \
471 (const WCHAR []){ 'D','r','a','g','C','o','n','t','e','x','t',0 }
472# define CFSTR_MOUNTEDVOLUMEW \
473 (const WCHAR []){ 'M','o','u','n','t','e','d','V','o','l','u','m','e',0 }
474# define CFSTR_PERSISTEDDATAOBJECTW \
475 (const WCHAR []){ 'P','e','r','s','i','s','t','e','d','D','a','t','a','O','b','j','e','c','t',0 }
476# define CFSTR_TARGETCLSIDW \
477 (const WCHAR []){ 'T','a','r','g','e','t','C','L','S','I','D',0 }
478# define CFSTR_AUTOPLAY_SHELLIDLISTSW \
479 (const WCHAR []){ 'A','u','t','o','p','l','a','y',' ','E','n','u','m','e','r','a','t','e','d',\
480 ' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 }
481# define CFSTR_LOGICALPERFORMEDDROPEFFECTW \
482 (const WCHAR []){ 'L','o','g','i','c','a','l',' ','P','e','r','f','o','r','m','e','d',\
483 ' ','D','r','o','p','E','f','f','e','c','t',0 }
484#elif defined(_MSC_VER)
485# define CFSTR_SHELLIDLISTW L"Shell IDList Array"
486# define CFSTR_SHELLIDLISTOFFSETW L"Shell Object Offsets"
487# define CFSTR_NETRESOURCESW L"Net Resource"
488# define CFSTR_FILEDESCRIPTORW L"FileGroupDescriptorW"
489# define CFSTR_FILECONTENTSW L"FileContents"
490# define CFSTR_FILENAMEW L"FileNameW"
491# define CFSTR_FILENAMEMAPW L"FileNameMapW"
492# define CFSTR_PRINTERGROUPW L"PrinterFriendlyName"
493# define CFSTR_SHELLURLW L"UniformResourceLocator"
494# define CFSTR_INETURLW L"UniformResourceLocatorW"
495# define CFSTR_PREFERREDDROPEFFECTW L"Preferred DropEffect"
496# define CFSTR_PERFORMEDDROPEFFECTW L"Performed DropEffect"
497# define CFSTR_PASTESUCCEEDEDW L"Paste Succeeded"
498# define CFSTR_INDRAGLOOPW L"InShellDragLoop"
499# define CFSTR_DRAGCONTEXTW L"DragContext"
500# define CFSTR_MOUNTEDVOLUMEW L"MountedVolume"
501# define CFSTR_PERSISTEDDATAOBJECTW L"PersistedDataObject"
502# define CFSTR_TARGETCLSIDW L"TargetCLSID"
503# define CFSTR_AUTOPLAY_SHELLIDLISTSW L"Autoplay Enumerated IDList Array"
504# define CFSTR_LOGICALPERFORMEDDROPEFFECTW L"Logical Performed DropEffect"
505#else
506static const WCHAR CFSTR_SHELLIDLISTW[] =
507 { 'S','h','e','l','l',' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 };
509 { 'S','h','e','l','l',' ','O','b','j','e','c','t',' ','O','f','f','s','e','t','s',0 };
511 { 'N','e','t',' ','R','e','s','o','u','r','c','e',0 };
513 { 'F','i','l','e','G','r','o','u','p','D','e','s','c','r','i','p','t','o','r','W',0 };
515 { 'F','i','l','e','C','o','n','t','e','n','t','s',0 };
516static const WCHAR CFSTR_FILENAMEW[] =
517 { 'F','i','l','e','N','a','m','e','W',0 };
518static const WCHAR CFSTR_FILENAMEMAPW[] =
519 { 'F','i','l','e','N','a','m','e','M','a','p','W',0 };
521 { 'P','r','i','n','t','e','r','F','r','i','e','n','d','l','y','N','a','m','e',0 };
522static const WCHAR CFSTR_SHELLURLW[] =
523 { 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r',0 };
524static const WCHAR CFSTR_INETURLW[] =
525 { 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r','W',0 };
527 { 'P','r','e','f','e','r','r','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 };
529 { 'P','e','r','f','o','r','m','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 };
531 { 'P','a','s','t','e',' ','S','u','c','c','e','e','d','e','d',0 };
532static const WCHAR CFSTR_INDRAGLOOPW[] =
533 { 'I','n','S','h','e','l','l','D','r','a','g','L','o','o','p',0 };
534static const WCHAR CFSTR_DRAGCONTEXTW[] =
535 { 'D','r','a','g','C','o','n','t','e','x','t',0 };
537 { 'M','o','u','n','t','e','d','V','o','l','u','m','e',0 };
539 { 'P','e','r','s','i','s','t','e','d','D','a','t','a','O','b','j','e','c','t',0 };
540static const WCHAR CFSTR_TARGETCLSIDW[] =
541 { 'T','a','r','g','e','t','C','L','S','I','D',0 };
543 { 'A','u','t','o','p','l','a','y',' ','E','n','u','m','e','r','a','t','e','d',
544 ' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 };
546 { 'L','o','g','i','c','a','l',' ','P','e','r','f','o','r','m','e','d',
547 ' ','D','r','o','p','E','f','f','e','c','t',0 };
548#endif
549
550#define CFSTR_SHELLIDLIST WINELIB_NAME_AW(CFSTR_SHELLIDLIST)
551#define CFSTR_SHELLIDLISTOFFSET WINELIB_NAME_AW(CFSTR_SHELLIDLISTOFFSET)
552#define CFSTR_NETRESOURCES WINELIB_NAME_AW(CFSTR_NETRESOURCES)
553#define CFSTR_FILEDESCRIPTOR WINELIB_NAME_AW(CFSTR_FILEDESCRIPTOR)
554#define CFSTR_FILECONTENTS WINELIB_NAME_AW(CFSTR_FILECONTENTS)
555#define CFSTR_FILENAME WINELIB_NAME_AW(CFSTR_FILENAME)
556#define CFSTR_FILENAMEMAP WINELIB_NAME_AW(CFSTR_FILENAMEMAP)
557#define CFSTR_PRINTERGROUP WINELIB_NAME_AW(CFSTR_PRINTERGROUP)
558#define CFSTR_SHELLURL WINELIB_NAME_AW(CFSTR_SHELLURL)
559#define CFSTR_INETURL WINELIB_NAME_AW(CFSTR_INETURL)
560#define CFSTR_PREFERREDDROPEFFECT WINELIB_NAME_AW(CFSTR_PREFERREDDROPEFFECT)
561#define CFSTR_PERFORMEDDROPEFFECT WINELIB_NAME_AW(CFSTR_PERFORMEDDROPEFFECT)
562#define CFSTR_PASTESUCCEEDED WINELIB_NAME_AW(CFSTR_PASTESUCCEEDED)
563#define CFSTR_INDRAGLOOP WINELIB_NAME_AW(CFSTR_INDRAGLOOP)
564#define CFSTR_DRAGCONTEXT WINELIB_NAME_AW(CFSTR_DRAGCONTEXT)
565#define CFSTR_MOUNTEDVOLUME WINELIB_NAME_AW(CFSTR_MOUNTEDVOLUME)
566#define CFSTR_PERSISTEDDATAOBJECT WINELIB_NAME_AW(CFSTR_PERSISTEDDATAOBJECT)
567#define CFSTR_TARGETCLSID WINELIB_NAME_AW(CFSTR_TARGETCLSID)
568#define CFSTR_AUTOPLAY_SHELLIDLISTS WINELIB_NAME_AW(CFSTR_AUTOPLAY_SHELLIDLISTS)
569#define CFSTR_LOGICALPERFORMEDDROPEFFECT WINELIB_NAME_AW(CFSTR_LOGICALPERFORMEDDROPEFFECT)
570
571typedef struct
573 UINT aoffset[1];
575
576/************************************************************************
577* IShellView interface
578*/
579
580#define FCIDM_SHVIEWFIRST 0x0000
581/* undocumented */
582#define FCIDM_SHVIEW_ARRANGE 0x7001
583#define FCIDM_SHVIEW_DELETE 0x7011
584#define FCIDM_SHVIEW_PROPERTIES 0x7013
585#define FCIDM_SHVIEW_CUT 0x7018
586#define FCIDM_SHVIEW_COPY 0x7019
587#define FCIDM_SHVIEW_INSERT 0x701A
588#define FCIDM_SHVIEW_UNDO 0x701B
589#define FCIDM_SHVIEW_INSERTLINK 0x701C
590#define FCIDM_SHVIEW_COPYTO 0x701E
591#define FCIDM_SHVIEW_MOVETO 0x701F
592#define FCIDM_SHVIEW_SELECTALL 0x7021
593#define FCIDM_SHVIEW_INVERTSELECTION 0x7022
594
595#define FCIDM_SHVIEW_BIGICON 0x7029
596#define FCIDM_SHVIEW_SMALLICON 0x702A
597#define FCIDM_SHVIEW_LISTVIEW 0x702B
598#define FCIDM_SHVIEW_REPORTVIEW 0x702C
599/* 0x7030-0x703f are used by the shellbrowser */
600#define FCIDM_SHVIEW_AUTOARRANGE 0x7031
601#define FCIDM_SHVIEW_SNAPTOGRID 0x7032
602#define FCIDM_SHVIEW_ALIGNTOGRID 0x7033
603
604#define FCIDM_SHVIEW_HELP 0x7041
605#define FCIDM_SHVIEW_RENAME 0x7050
606#define FCIDM_SHVIEW_CREATELINK 0x7051
607#define FCIDM_SHVIEW_NEWLINK 0x7052
608#define FCIDM_SHVIEW_NEWFOLDER 0x7053
609
610#define FCIDM_SHVIEW_REFRESH 0x7100 /* FIXME */
611#define FCIDM_SHVIEW_EXPLORE 0x7101 /* FIXME */
612#define FCIDM_SHVIEW_OPEN 0x7102 /* FIXME */
613
614#define FCIDM_SHVIEWLAST 0x7fff
615#define FCIDM_BROWSERFIRST 0xA000
616/* undocumented toolbar items from stddlg's*/
617#define FCIDM_TB_UPFOLDER 0xA001
618#define FCIDM_TB_NEWFOLDER 0xA002
619#define FCIDM_TB_SMALLICON 0xA003
620#define FCIDM_TB_REPORTVIEW 0xA004
621#define FCIDM_TB_DESKTOP 0xA005 /* FIXME */
622
623#define FCIDM_BROWSERLAST 0xbf00
624#define FCIDM_GLOBALFIRST 0x8000
625#define FCIDM_GLOBALLAST 0x9fff
626
627/*
628* Global submenu IDs and separator IDs
629*/
630#define FCIDM_MENU_FILE (FCIDM_GLOBALFIRST+0x0000)
631#define FCIDM_MENU_EDIT (FCIDM_GLOBALFIRST+0x0040)
632#define FCIDM_MENU_VIEW (FCIDM_GLOBALFIRST+0x0080)
633#define FCIDM_MENU_VIEW_SEP_OPTIONS (FCIDM_GLOBALFIRST+0x0081)
634#define FCIDM_MENU_TOOLS (FCIDM_GLOBALFIRST+0x00c0)
635#define FCIDM_MENU_TOOLS_SEP_GOTO (FCIDM_GLOBALFIRST+0x00c1)
636#define FCIDM_MENU_HELP (FCIDM_GLOBALFIRST+0x0100)
637#define FCIDM_MENU_FIND (FCIDM_GLOBALFIRST+0x0140)
638#define FCIDM_MENU_EXPLORE (FCIDM_GLOBALFIRST+0x0150)
639#define FCIDM_MENU_FAVORITES (FCIDM_GLOBALFIRST+0x0170)
640
641/* control IDs known to the view */
642#define FCIDM_TOOLBAR (FCIDM_BROWSERFIRST + 0)
643#define FCIDM_STATUS (FCIDM_BROWSERFIRST + 1)
644
645#define INTERFACE IShellDetails
647{
648 /*** IUnknown methods ***/
652 /*** IShellDetails methods ***/
654 STDMETHOD(ColumnClick)(THIS_ UINT iColumn) PURE;
655};
656#undef INTERFACE
657
658#if !defined(__cplusplus) || defined(CINTERFACE)
659/*** IUnknown methods ***/
660#define IShellDetails_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
661#define IShellDetails_AddRef(p) (p)->lpVtbl->AddRef(p)
662#define IShellDetails_Release(p) (p)->lpVtbl->Release(p)
663/*** IShellDetails methods ***/
664#define IShellDetails_GetDetailsOf(p,a,b,c) (p)->lpVtbl->GetDetailsOf(p,a,b,c)
665#define IShellDetails_ColumnClick(p,a) (p)->lpVtbl->ColumnClick(p,a)
666#endif
667
668/* IQueryInfo interface */
669#define INTERFACE IQueryInfo
671{
672 /*** IUnknown methods ***/
676 /*** IQueryInfo methods ***/
678 STDMETHOD(GetInfoFlags)(THIS_ _Out_ DWORD* lpFlags) PURE;
679};
680#undef INTERFACE
681
682#if !defined(__cplusplus) || defined(CINTERFACE)
683/*** IUnknown methods ***/
684#define IQueryInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
685#define IQueryInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
686#define IQueryInfo_Release(p) (p)->lpVtbl->Release(p)
687/*** IQueryInfo methods ***/
688#define IQueryInfo_GetInfoTip(p,a,b) (p)->lpVtbl->GetInfoTip(p,a,b)
689#define IQueryInfo_GetInfoFlags(p,a) (p)->lpVtbl->GetInfoFlags(p,a)
690#endif
691
692/* IInputObject interface */
693#define INTERFACE IInputObject
695{
696 /*** IUnknown methods ***/
700 /*** IInputObject methods ***/
701 STDMETHOD(UIActivateIO)(THIS_ BOOL bActivating, LPMSG lpMsg) PURE;
702 STDMETHOD(HasFocusIO)(THIS) PURE;
703 STDMETHOD(TranslateAcceleratorIO)(THIS_ LPMSG lpMsg) PURE;
704};
705#undef INTERFACE
706
707#if !defined(__cplusplus) || defined(CINTERFACE)
708/*** IUnknown methods ***/
709#define IInputObject_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
710#define IInputObject_AddRef(p) (p)->lpVtbl->AddRef(p)
711#define IInputObject_Release(p) (p)->lpVtbl->Release(p)
712/*** IInputObject methods ***/
713#define IInputObject_UIActivateIO(p,a,b) (p)->lpVtbl->UIActivateIO(p,a,b)
714#define IInputObject_HasFocusIO(p) (p)->lpVtbl->HasFocusIO(p)
715#define IInputObject_TranslateAcceleratorIO(p,a) (p)->lpVtbl->TranslateAcceleratorIO(p,a)
716#endif
717
718/* IInputObjectSite interface */
719#define INTERFACE IInputObjectSite
721{
722 /*** IUnknown methods ***/
726 /*** IInputObjectSite methods ***/
727 STDMETHOD(OnFocusChangeIS)(THIS_ LPUNKNOWN lpUnknown, BOOL bFocus) PURE;
728};
729#undef INTERFACE
730
731#if !defined(__cplusplus) || defined(CINTERFACE)
732/*** IUnknown methods ***/
733#define IInputObjectSite_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
734#define IInputObjectSite_AddRef(p) (p)->lpVtbl->AddRef(p)
735#define IInputObjectSite_Release(p) (p)->lpVtbl->Release(p)
736/*** IInputObject methods ***/
737#define IInputObjectSite_OnFocusChangeIS(p,a,b) (p)->lpVtbl->OnFocusChangeIS(p,a,b)
738#endif
739
740/* IObjMgr interface */
741#define INTERFACE IObjMgr
743{
744 /*** IUnknown methods ***/
748 /*** IObjMgr methods ***/
749 STDMETHOD(Append)(THIS_ _In_ LPUNKNOWN punk) PURE;
751};
752#undef INTERFACE
753
754#if !defined(__cplusplus) || defined(CINTERFACE)
755/*** IUnknown methods ***/
756#define IObjMgr_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
757#define IObjMgr_AddRef(p) (p)->lpVtbl->AddRef(p)
758#define IObjMgr_Release(p) (p)->lpVtbl->Release(p)
759/*** IObjMgr methods ***/
760#define IObjMgr_Append(p,a) (p)->lpVtbl->Append(p,a)
761#define IObjMgr_Remove(p,a) (p)->lpVtbl->Remove(p,a)
762#endif
763
764/* ICurrentWorkingDirectory interface */
765#define INTERFACE ICurrentWorkingDirectory
766DECLARE_INTERFACE_(ICurrentWorkingDirectory,IUnknown)
767{
768 /*** IUnknown methods ***/
772 /*** ICurrentWorkingDirectory methods ***/
773 STDMETHOD(GetDirectory)(THIS_ _Out_writes_(cchSize) PWSTR pwzPath, DWORD cchSize) PURE;
774 STDMETHOD(SetDirectory)(THIS_ _In_ PCWSTR pwzPath) PURE;
775};
776#undef INTERFACE
777
778#if !defined(__cplusplus) || defined(CINTERFACE)
779/*** IUnknown methods ***/
780#define ICurrentWorkingDirectory_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
781#define ICurrentWorkingDirectory_AddRef(p) (p)->lpVtbl->AddRef(p)
782#define ICurrentWorkingDirectory_Release(p) (p)->lpVtbl->Release(p)
783/*** ICurrentWorkingDirectory methods ***/
784#define ICurrentWorkingDirectory_GetDirectory(p,a,b) (p)->lpVtbl->GetDirectory(p,a,b)
785#define ICurrentWorkingDirectory_SetDirectory(p,a) (p)->lpVtbl->SetDirectory(p,a)
786#endif
787
788/* IACList interface */
789#define INTERFACE IACList
791{
792 /*** IUnknown methods ***/
796 /*** IACList methods ***/
797 STDMETHOD(Expand)(THIS_ _In_ LPCOLESTR str) PURE;
798};
799#undef INTERFACE
800
801#if !defined(__cplusplus) || defined(CINTERFACE)
802/*** IUnknown methods ***/
803#define IACList_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
804#define IACList_AddRef(p) (p)->lpVtbl->AddRef(p)
805#define IACList_Release(p) (p)->lpVtbl->Release(p)
806/*** IACList methods ***/
807#define IACList_Expand(p,a) (p)->lpVtbl->Expand(p,a)
808#endif
809
810/* IACList2 interface */
811
812#define ACLO_NONE 0x00000000
813#define ACLO_CURRENTDIR 0x00000001
814#define ACLO_MYCOMPUTER 0x00000002
815#define ACLO_DESKTOP 0x00000004
816#define ACLO_FAVORITES 0x00000008
817#define ACLO_FILESYSONLY 0x00000010
818#define ACLO_FILESYSDIRS 0x00000020
819
820#define INTERFACE IACList2
821DECLARE_INTERFACE_(IACList2,IACList)
822{
823 /*** IUnknown methods ***/
827 /*** IACList methods ***/
828 STDMETHOD(Expand)(THIS_ LPCOLESTR str) PURE;
829 /*** IACList2 methods ***/
830 STDMETHOD(SetOptions)(THIS_ DWORD dwFlag) PURE;
831 STDMETHOD(GetOptions)(THIS_ _Out_ DWORD* pdwFlag) PURE;
832};
833#undef INTERFACE
834
835#if !defined(__cplusplus) || defined(CINTERFACE)
836/*** IUnknown methods ***/
837#define IACList2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
838#define IACList2_AddRef(p) (p)->lpVtbl->AddRef(p)
839#define IACList2_Release(p) (p)->lpVtbl->Release(p)
840/*** IACList2 methods ***/
841#define IACList2_GetOptions(p,a) (p)->lpVtbl->GetOptions(p,a)
842#define IACList2_SetOptions(p,a) (p)->lpVtbl->SetOptions(p,a)
843#endif
844
845/****************************************************************************
846 * IShellFolderViewCB interface
847 */
848
849#define INTERFACE IShellFolderViewCB
850DECLARE_INTERFACE_(IShellFolderViewCB,IUnknown)
851{
852 /*** IUnknown methods ***/
856 /*** IShellFolderViewCB methods ***/
857 STDMETHOD(MessageSFVCB)(THIS_ UINT uMsg, WPARAM wParam, LPARAM lParam) PURE;
858};
859#undef INTERFACE
860
861#if !defined(__cplusplus) || defined(CINTERFACE)
862/*** IUnknown methods ***/
863#define IShellFolderViewCB_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
864#define IShellFolderViewCB_AddRef(p) (p)->lpVtbl->AddRef(p)
865#define IShellFolderViewCB_Release(p) (p)->lpVtbl->Release(p)
866/*** IShellFolderViewCB methods ***/
867#define IShellFolderViewCB_MessageSFVCB(p,a,b,c) (p)->lpVtbl->MessageSFVCB(p,a,b,c)
868#endif
869
870/****************************************************************************
871 * IShellFolderView interface
872 */
873
874#include <pshpack8.h>
875
876typedef struct _ITEMSPACING
877{
883
884#include <poppack.h>
885
886#define INTERFACE IShellFolderView
887DEFINE_GUID(IID_IShellFolderView,0x37a378c0,0xf82d,0x11ce,0xae,0x65,0x08,0x00,0x2b,0x2e,0x12,0x62);
888DECLARE_INTERFACE_(IShellFolderView, IUnknown)
889{
890 /*** IUnknown methods ***/
894
895 /*** IShellFolderView methods ***/
896 STDMETHOD(Rearrange) (THIS_ LPARAM lParamSort) PURE;
897 STDMETHOD(GetArrangeParam) (THIS_ _Out_ LPARAM *plParamSort) PURE;
898 STDMETHOD(ArrangeGrid) (THIS) PURE;
899 STDMETHOD(AutoArrange) (THIS) PURE;
900 STDMETHOD(GetAutoArrange) (THIS) PURE;
901 STDMETHOD(AddObject) (THIS_ _In_ PITEMID_CHILD pidl, _Out_ UINT *puItem) PURE;
903 STDMETHOD(RemoveObject) (THIS_ _In_opt_ PITEMID_CHILD pidl, _Out_ UINT *puItem) PURE;
904 STDMETHOD(GetObjectCount) (THIS_ _Out_ UINT *puCount) PURE;
905 STDMETHOD(SetObjectCount) (THIS_ UINT uCount, UINT dwFlags) PURE;
906 STDMETHOD(UpdateObject) (THIS_ _In_ PITEMID_CHILD pidlOld, _In_ PITEMID_CHILD pidlNew, _Out_ UINT *puItem) PURE;
907 STDMETHOD(RefreshObject) (THIS_ _In_ PITEMID_CHILD pidl, _Out_ UINT *puItem) PURE;
908 STDMETHOD(SetRedraw) (THIS_ BOOL bRedraw) PURE;
909 STDMETHOD(GetSelectedCount) (THIS_ _Out_ UINT *puSelected) PURE;
910 STDMETHOD(GetSelectedObjects) (THIS_ _Outptr_result_buffer_(*puItems) PCUITEMID_CHILD **pppidl, _Out_ UINT *puItems) PURE;
911 STDMETHOD(IsDropOnSource) (THIS_ _In_opt_ IDropTarget *pDropTarget) PURE;
912 STDMETHOD(GetDragPoint) (THIS_ _Out_ POINT *ppt) PURE;
913 STDMETHOD(GetDropPoint) (THIS_ _Out_ POINT *ppt) PURE;
914 STDMETHOD(MoveIcons) (THIS_ _In_ IDataObject *pDataObject) PURE;
915 STDMETHOD(SetItemPos) (THIS_ _In_ PCUITEMID_CHILD pidl, _In_ POINT *ppt) PURE;
916 STDMETHOD(IsBkDropTarget) (THIS_ _In_opt_ IDropTarget *pDropTarget) PURE;
918 STDMETHOD(SetPoints) (THIS_ _In_ IDataObject *pDataObject) PURE;
919 STDMETHOD(GetItemSpacing) (THIS_ _Out_ ITEMSPACING *pSpacing) PURE;
920 STDMETHOD(SetCallback) (THIS_ _In_opt_ IShellFolderViewCB* pNewCB, _Outptr_result_maybenull_ IShellFolderViewCB** ppOldCB) PURE;
921 STDMETHOD(Select) ( THIS_ UINT dwFlags ) PURE;
922 STDMETHOD(QuerySupport) (THIS_ _Inout_ UINT * pdwSupport) PURE;
923 STDMETHOD(SetAutomationObject)(THIS_ _In_opt_ IDispatch* pdisp) PURE;
924};
925#undef INTERFACE
926
927#if !defined(__cplusplus) || defined(CINTERFACE)
928/*** IUnknown methods ***/
929#define IShellFolderView_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
930#define IShellFolderView_AddRef(p) (p)->lpVtbl->AddRef(p)
931#define IShellFolderView_Release(p) (p)->lpVtbl->Release(p)
932/*** IShellFolderView methods ***/
933#define IShellFolderView_Rearrange(p,a) (p)->lpVtbl->Rearrange(p,a)
934#define IShellFolderView_GetArrangeParam(p,a) (p)->lpVtbl->GetArrangeParam(p,a)
935#define IShellFolderView_ArrangeGrid(p) (p)->lpVtbl->ArrangeGrid(p)
936#define IShellFolderView_AutoArrange(p) (p)->lpVtbl->AutoArrange(p)
937#define IShellFolderView_GetAutoArrange(p) (p)->lpVtbl->GetAutoArrange(p)
938#define IShellFolderView_AddObject(p,a,b) (p)->lpVtbl->AddObject(p,a,b)
939#define IShellFolderView_GetObject(p,a,b) (p)->lpVtbl->GetObject(p,a,b)
940#define IShellFolderView_RemoveObject(p,a,b) (p)->lpVtbl->RemoveObject(p,a,b)
941#define IShellFolderView_GetObjectCount(p,a) (p)->lpVtbl->GetObjectCount(p,a)
942#define IShellFolderView_SetObjectCount(p,a,b) (p)->lpVtbl->SetObjectCount(p,a,b)
943#define IShellFolderView_UpdateObject(p,a,b,c) (p)->lpVtbl->UpdateObject(p,a,b,c)
944#define IShellFolderView_RefreshObject(p,a,b) (p)->lpVtbl->RefreshObject(p,a,b)
945#define IShellFolderView_SetRedraw(p,a) (p)->lpVtbl->SetRedraw(p,a)
946#define IShellFolderView_GetSelectedCount(p,a) (p)->lpVtbl->GetSelectedCount(p,a)
947#define IShellFolderView_GetSelectedObjects(p,a,b) (p)->lpVtbl->GetSelectedObjects(p,a,b)
948#define IShellFolderView_IsDropOnSource(p,a) (p)->lpVtbl->IsDropOnSource(p,a)
949#define IShellFolderView_GetDragPoint(p,a) (p)->lpVtbl->GetDragPoint(p,a)
950#define IShellFolderView_GetDropPoint(p,a) (p)->lpVtbl->GetDropPoint(p,a)
951#define IShellFolderView_MoveIcons(p,a) (p)->lpVtbl->MoveIcons(p,a)
952#define IShellFolderView_SetItemPos(p,a,b) (p)->lpVtbl->SetItemPos(p,a,b)
953#define IShellFolderView_DropTarget(p,a) (p)->lpVtbl->DropTarget(p,a)
954#define IShellFolderView_SetClipboard(p,a) (p)->lpVtbl->SetClipboard(p,a)
955#define IShellFolderView_SetPoints(p,a) (p)->lpVtbl->SetPoints(p,a)
956#define IShellFolderView_GetItemSpacing(p,a) (p)->lpVtbl->GetItemSpacing(p,a)
957#define IShellFolderView_SetCallback(p,a) (p)->lpVtbl->SetCallback(p,a)
958#define IShellFolderView_Select(p,a) (p)->lpVtbl->Select(p,a)
959#define IShellFolderView_QuerySupport(p,a) (p)->lpVtbl->QuerySupport(p,a)
960#define IShellFolderView_SetAutomationObject(p,a) (p)->lpVtbl->SetAutomationObject(p,a)
961#endif
962
963/* IProgressDialog interface */
964#define PROGDLG_NORMAL 0x00000000
965#define PROGDLG_MODAL 0x00000001
966#define PROGDLG_AUTOTIME 0x00000002
967#define PROGDLG_NOTIME 0x00000004
968#define PROGDLG_NOMINIMIZE 0x00000008
969#define PROGDLG_NOPROGRESSBAR 0x00000010
970#define PROGDLG_MARQUEEPROGRESS 0x00000020
971#define PROGDLG_NOCANCEL 0x00000040
972
973#define PDTIMER_RESET 0x00000001
974#define PDTIMER_PAUSE 0x00000002
975#define PDTIMER_RESUME 0x00000003
976
977#define INTERFACE IProgressDialog
979{
980 /*** IUnknown methods ***/
984 /*** IProgressDialog methods ***/
985 STDMETHOD(StartProgressDialog)(THIS_ _In_opt_ HWND hwndParent, _In_opt_ IUnknown *punkEnableModeless, DWORD dwFlags, _Reserved_ LPCVOID reserved) PURE;
986 STDMETHOD(StopProgressDialog)(THIS) PURE;
987 STDMETHOD(SetTitle)(THIS_ _In_ LPCWSTR pwzTitle) PURE;
988 STDMETHOD(SetAnimation)(THIS_ _In_opt_ HINSTANCE hInstance, UINT uiResourceId) PURE;
989 STDMETHOD_(BOOL,HasUserCancelled)(THIS) PURE;
990 STDMETHOD(SetProgress)(THIS_ DWORD dwCompleted, DWORD dwTotal) PURE;
991 STDMETHOD(SetProgress64)(THIS_ ULONGLONG ullCompleted, ULONGLONG ullTotal) PURE;
992 STDMETHOD(SetLine)(THIS_ DWORD dwLineNum, _In_ LPCWSTR pwzString, BOOL bPath, _Reserved_ LPCVOID reserved) PURE;
993 STDMETHOD(SetCancelMsg)(THIS_ _In_ LPCWSTR pwzCancelMsg, _Reserved_ LPCVOID reserved) PURE;
995};
996#undef INTERFACE
997
998#if !defined(__cplusplus) || defined(CINTERFACE)
999/*** IUnknown methods ***/
1000#define IProgressDialog_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1001#define IProgressDialog_AddRef(p) (p)->lpVtbl->AddRef(p)
1002#define IProgressDialog_Release(p) (p)->lpVtbl->Release(p)
1003/*** IProgressDialog methods ***/
1004#define IProgressDialog_StartProgressDialog(p,a,b,c,d) (p)->lpVtbl->StartProgressDialog(p,a,b,c,d)
1005#define IProgressDialog_StopProgressDialog(p) (p)->lpVtbl->StopProgressDialog(p)
1006#define IProgressDialog_SetTitle(p,a) (p)->lpVtbl->SetTitle(p,a)
1007#define IProgressDialog_SetAnimation(p,a,b) (p)->lpVtbl->SetAnimation(p,a,b)
1008#define IProgressDialog_HasUserCancelled(p) (p)->lpVtbl->HasUserCancelled(p)
1009#define IProgressDialog_SetProgress(p,a,b) (p)->lpVtbl->SetProgress(p,a,b)
1010#define IProgressDialog_SetProgress64(p,a,b) (p)->lpVtbl->SetProgress64(p,a,b)
1011#define IProgressDialog_SetLine(p,a,b,c,d) (p)->lpVtbl->SetLine(p,a,b,c,d)
1012#define IProgressDialog_SetCancelMsg(p,a,b) (p)->lpVtbl->SetCancelMsg(p,a,b)
1013#define IProgressDialog_Timer(p,a,b) (p)->lpVtbl->Timer(p,a,b)
1014#endif
1015
1016
1017/* IDeskBarClient interface */
1018#define INTERFACE IDeskBarClient
1020{
1021 /*** IUnknown methods ***/
1025 /*** IOleWindow methods ***/
1027 STDMETHOD_(HRESULT,ContextSensitiveHelp)(THIS_ BOOL) PURE;
1028 /*** IDeskBarClient methods ***/
1029 STDMETHOD_(HRESULT,SetDeskBarSite)(THIS_ _In_opt_ IUnknown*) PURE;
1030 STDMETHOD_(HRESULT,SetModeDBC)(THIS_ DWORD) PURE;
1031 STDMETHOD_(HRESULT,UIActivateDBC)(THIS_ DWORD) PURE;
1033};
1034#undef INTERFACE
1035
1036#if !defined(__cplusplus) || defined(CINTERFACE)
1037/*** IUnknown methods ***/
1038#define IDeskBarClient_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1039#define IDeskBarClient_AddRef(p) (p)->lpVtbl->AddRef(p)
1040#define IDeskBarClient_Release(p) (p)->lpVtbl->Release(p)
1041/*** IOleWindow methods ***/
1042#define IDeskBarClient_GetWindow(p,a) (p)->lpVtbl->GetWindow(p,a)
1043#define IDeskBarClient_ContextSensitiveHelp(p,a) (p)->lpVtbl->ContextSensitiveHelp(p,a)
1044/*** IOleWindow IDeskBarClient ***/
1045#define IDeskBarClient_SetDeskBarSite(p,a) (p)->lpVtbl->SetDeskBarSite(p,a)
1046#define IDeskBarClient_SetModeDBC(p,a) (p)->lpVtbl->SetModeDBC(p,a)
1047#define IDeskBarClient_UIActivateDBC(p,a) (p)->lpVtbl->UIActivateDBC(p,a)
1048#define IDeskBarClient_GetSize(p,a,b) (p)->lpVtbl->GetSize(p,a,b)
1049#endif
1050
1051#define DBC_GS_IDEAL 0
1052#define DBC_GS_SIZEDOWN 1
1053
1054#define DBC_HIDE 0
1055#define DBC_SHOW 1
1056#define DBC_SHOWOBSCURE 2
1057
1058
1059/* As indicated by the documentation for IActiveDesktop,
1060 you must include wininet.h before shlobj.h */
1061#ifdef _WINE_WININET_H_
1062
1063
1064/* Structs are taken from msdn, and not verified!
1065 Only stuff needed to make it compile are here, no flags or anything */
1066
1067typedef struct _tagWALLPAPEROPT
1068{
1069 DWORD dwSize;
1070 DWORD dwStyle;
1071} WALLPAPEROPT;
1072
1073typedef WALLPAPEROPT *LPWALLPAPEROPT;
1074typedef const WALLPAPEROPT *LPCWALLPAPEROPT;
1075
1076typedef struct _tagCOMPONENTSOPT
1077{
1078 DWORD dwSize;
1079 BOOL fEnableComponents;
1080 BOOL fActiveDesktop;
1081} COMPONENTSOPT;
1082
1083typedef COMPONENTSOPT *LPCOMPONENTSOPT;
1084typedef const COMPONENTSOPT *LPCCOMPONENTSOPT;
1085
1086
1087typedef struct _tagCOMPPOS
1088{
1089 DWORD dwSize;
1090 int iLeft;
1091 int iTop;
1092 DWORD dwWidth;
1094 int izIndex;
1095 BOOL fCanResize;
1096 BOOL fCanResizeX;
1097 BOOL fCanResizeY;
1098 int iPreferredLeftPercent;
1099 int iPreferredTopPercent;
1100} COMPPOS;
1101
1102typedef struct _tagCOMPSTATEINFO
1103{
1104 DWORD dwSize;
1105 int iLeft;
1106 int iTop;
1107 DWORD dwWidth;
1109 DWORD dwItemState;
1110} COMPSTATEINFO;
1111
1112typedef struct _tagCOMPONENT
1113{
1114 DWORD dwSize;
1115 DWORD dwID;
1116 int iComponentType;
1117 BOOL fChecked;
1118 BOOL fDirty;
1119 BOOL fNoScroll;
1120 COMPPOS cpPos;
1122 WCHAR wszSource[INTERNET_MAX_URL_LENGTH];
1123 WCHAR wszSubscribedURL[INTERNET_MAX_URL_LENGTH];
1124 DWORD dwCurItemState;
1125 COMPSTATEINFO csiOriginal;
1126 COMPSTATEINFO csiRestored;
1127} COMPONENT;
1128
1129typedef COMPONENT *LPCOMPONENT;
1130typedef const COMPONENT *LPCCOMPONENT;
1131
1132#pragma push_macro("AddDesktopItem")
1133#undef AddDesktopItem
1134
1135/* IDeskBarClient interface */
1136#define INTERFACE IActiveDesktop
1137DECLARE_INTERFACE_(IActiveDesktop, IUnknown)
1138{
1139 /*** IUnknown methods ***/
1143
1144 /*** IActiveDesktop methods ***/
1146 STDMETHOD(GetWallpaper)(THIS_ PWSTR pwszWallpaper, UINT cchWallpaper, DWORD dwFlags) PURE;
1148 STDMETHOD(GetWallpaperOptions)(THIS_ LPWALLPAPEROPT pwpo, DWORD dwReserved) PURE;
1149 STDMETHOD(SetWallpaperOptions)(THIS_ LPCWALLPAPEROPT pwpo, DWORD dwReserved) PURE;
1150 STDMETHOD(GetPattern)(THIS_ PWSTR pwszPattern, UINT cchPattern, DWORD dwReserved) PURE;
1151 STDMETHOD(SetPattern)(THIS_ PCWSTR pwszPattern, DWORD dwReserved) PURE;
1152 STDMETHOD(GetDesktopItemOptions)(THIS_ LPCOMPONENTSOPT pco, DWORD dwReserved) PURE;
1153 STDMETHOD(SetDesktopItemOptions)(THIS_ LPCCOMPONENTSOPT pco, DWORD dwReserved) PURE;
1154 STDMETHOD(AddDesktopItem)(THIS_ LPCCOMPONENT pcomp, DWORD dwReserved) PURE;
1155 STDMETHOD(AddDesktopItemWithUI)(THIS_ HWND hwnd, LPCOMPONENT pcomp, DWORD dwReserved) PURE;
1156 STDMETHOD(ModifyDesktopItem)(THIS_ LPCCOMPONENT pcomp, DWORD dwFlags) PURE;
1157 STDMETHOD(RemoveDesktopItem)(THIS_ LPCCOMPONENT pcomp, DWORD dwReserved) PURE;
1158 STDMETHOD(GetDesktopItemCount)(THIS_ int *pcItems, DWORD dwReserved) PURE;
1159 STDMETHOD(GetDesktopItem)(THIS_ int nComponent, LPCOMPONENT pcomp, DWORD dwReserved) PURE;
1160 STDMETHOD(GetDesktopItemByID)(THIS_ ULONG_PTR dwID, LPCOMPONENT pcomp, DWORD dwReserved) PURE;
1161 STDMETHOD(GenerateDesktopItemHtml)(THIS_ PCWSTR pwszFileName, LPCOMPONENT pcomp, DWORD dwReserved) PURE;
1162 STDMETHOD(AddUrl)(THIS_ HWND hwnd, PCWSTR pszSource, LPCOMPONENT pcomp, DWORD dwFlags) PURE;
1163 STDMETHOD(GetDesktopItemBySource)(THIS_ PCWSTR pwszSource, LPCOMPONENT pcomp, DWORD dwReserved) PURE;
1164};
1165#undef INTERFACE
1166
1167#pragma pop_macro("AddDesktopItem")
1168
1169#endif
1170
1171/****************************************************************************
1172* SHAddToRecentDocs API
1173*/
1174#define SHARD_PIDL 0x00000001L
1175#define SHARD_PATHA 0x00000002L
1176#define SHARD_PATHW 0x00000003L
1177#define SHARD_PATH WINELIB_NAME_AW(SHARD_PATH)
1178
1180
1181/****************************************************************************
1182 * SHBrowseForFolder API
1183 */
1185
1186#include <pshpack8.h>
1187
1188typedef struct tagBROWSEINFOA {
1198
1199typedef struct tagBROWSEINFOW {
1209
1210#define BROWSEINFO WINELIB_NAME_AW(BROWSEINFO)
1211#define PBROWSEINFO WINELIB_NAME_AW(PBROWSEINFO)
1212#define LPBROWSEINFO WINELIB_NAME_AW(LPBROWSEINFO)
1213
1214#include <poppack.h>
1215
1216/* Browsing for directory. */
1217#define BIF_RETURNONLYFSDIRS 0x0001
1218#define BIF_DONTGOBELOWDOMAIN 0x0002
1219#define BIF_STATUSTEXT 0x0004
1220#define BIF_RETURNFSANCESTORS 0x0008
1221#define BIF_EDITBOX 0x0010
1222#define BIF_VALIDATE 0x0020
1223#define BIF_NEWDIALOGSTYLE 0x0040
1224#define BIF_USENEWUI (BIF_NEWDIALOGSTYLE | BIF_EDITBOX)
1225#define BIF_BROWSEINCLUDEURLS 0x0080
1226#define BIF_UAHINT 0x0100
1227#define BIF_NONEWFOLDERBUTTON 0x0200
1228#define BIF_NOTRANSLATETARGETS 0x0400
1229
1230#define BIF_BROWSEFORCOMPUTER 0x1000
1231#define BIF_BROWSEFORPRINTER 0x2000
1232#define BIF_BROWSEINCLUDEFILES 0x4000
1233#define BIF_SHAREABLE 0x8000
1234
1235/* message from browser */
1236#define BFFM_INITIALIZED 1
1237#define BFFM_SELCHANGED 2
1238#define BFFM_VALIDATEFAILEDA 3
1239#define BFFM_VALIDATEFAILEDW 4
1240#define BFFM_IUNKNOWN 5
1241
1242/* messages to browser */
1243#define BFFM_SETSTATUSTEXTA (WM_USER+100)
1244#define BFFM_ENABLEOK (WM_USER+101)
1245#define BFFM_SETSELECTIONA (WM_USER+102)
1246#define BFFM_SETSELECTIONW (WM_USER+103)
1247#define BFFM_SETSTATUSTEXTW (WM_USER+104)
1248#define BFFM_SETOKTEXT (WM_USER+105)
1249#define BFFM_SETEXPANDED (WM_USER+106)
1250
1253#define SHBrowseForFolder WINELIB_NAME_AW(SHBrowseForFolder)
1254
1255#define BFFM_SETSTATUSTEXT WINELIB_NAME_AW(BFFM_SETSTATUSTEXT)
1256#define BFFM_SETSELECTION WINELIB_NAME_AW(BFFM_SETSELECTION)
1257#define BFFM_VALIDATEFAILED WINELIB_NAME_AW(BFFM_VALIDATEFAILED)
1258
1259/**********************************************************************
1260 * SHCreateShellFolderViewEx API
1261 */
1262
1263typedef HRESULT
1265 _In_ IShellView* dwUser,
1266 _In_ IShellFolder* pshf,
1267 _In_ HWND hWnd,
1268 UINT uMsg,
1269 WPARAM wParam,
1270 LPARAM lParam);
1271
1272#include <pshpack8.h>
1273
1274typedef struct _CSFV
1275{
1284
1285#include <poppack.h>
1286
1287HRESULT
1288WINAPI
1290 _In_ LPCSFV pshfvi,
1291 _Outptr_ IShellView **ppshv);
1292
1293/* SHCreateShellFolderViewEx callback messages */
1294#define SFVM_MERGEMENU 1
1295#define SFVM_INVOKECOMMAND 2
1296#define SFVM_GETHELPTEXT 3
1297#define SFVM_GETTOOLTIPTEXT 4
1298#define SFVM_GETBUTTONINFO 5
1299#define SFVM_GETBUTTONS 6
1300#define SFVM_INITMENUPOPUP 7
1301#define SFVM_SELECTIONCHANGED 8 /* undocumented */
1302#define SFVM_DRAWMENUITEM 9 /* undocumented */
1303#define SFVM_MEASUREMENUITEM 10 /* undocumented */
1304#define SFVM_EXITMENULOOP 11 /* undocumented */
1305#define SFVM_VIEWRELEASE 12 /* undocumented */
1306#define SFVM_GETNAMELENGTH 13 /* undocumented */
1307#define SFVM_FSNOTIFY 14
1308#define SFVM_WINDOWCREATED 15
1309#define SFVM_WINDOWCLOSING 16 /* undocumented */
1310#define SFVM_LISTREFRESHED 17 /* undocumented */
1311#define SFVM_WINDOWFOCUSED 18 /* undocumented */
1312#define SFVM_REGISTERCOPYHOOK 20 /* undocumented */
1313#define SFVM_COPYHOOKCALLBACK 21 /* undocumented */
1314#define SFVM_GETDETAILSOF 23
1315#define SFVM_COLUMNCLICK 24
1316#define SFVM_QUERYFSNOTIFY 25
1317#define SFVM_DEFITEMCOUNT 26
1318#define SFVM_DEFVIEWMODE 27
1319#define SFVM_UNMERGEFROMMENU 28
1320#define SFVM_ADDINGOBJECT 29 /* undocumented */
1321#define SFVM_REMOVINGOBJECT 30 /* undocumented */
1322#define SFVM_UPDATESTATUSBAR 31
1323#define SFVM_BACKGROUNDENUM 32
1324#define SFVM_GETCOMMANDDIR 33 /* undocumented */
1325#define SFVM_GETCOLUMNSTREAM 34 /* undocumented */
1326#define SFVM_CANSELECTALL 35 /* undocumented */
1327#define SFVM_DIDDRAGDROP 36
1328#define SFVM_ISSTRICTREFRESH 37 /* undocumented */
1329#define SFVM_ISCHILDOBJECT 38 /* undocumented */
1330#define SFVM_SETISFV 39
1331#define SFVM_GETEXTVIEWS 40 /* undocumented */
1332#define SFVM_THISIDLIST 41
1333#define SFVM_UPDATINGOBJECT 43 /* undocumented */
1334#define SFVM_HWNDMAIN 46 /* undocumented */
1335#define SFVM_ADDPROPERTYPAGES 47
1336#define SFVM_BACKGROUNDENUMDONE 48
1337#define SFVM_GETNOTIFY 49
1338#define SFVM_GETSORTDEFAULTS 53
1339#define SFVM_SIZE 57
1340#define SFVM_GETZONE 58
1341#define SFVM_GETPANE 59
1342#define SFVM_GETHELPTOPIC 63
1343#define SFVM_GETANIMATION 68
1344#define SFVM_GET_CUSTOMVIEWINFO 77 /* undocumented */
1345#define SFVM_ENUMERATEDITEMS 79 /* undocumented */
1346#define SFVM_GET_VIEW_DATA 80 /* undocumented */
1347#define SFVM_GET_WEBVIEW_LAYOUT 82 /* undocumented */
1348#define SFVM_GET_WEBVIEW_CONTENT 83 /* undocumented */
1349#define SFVM_GET_WEBVIEW_TASKS 84 /* undocumented */
1350#define SFVM_GET_WEBVIEW_THEME 86 /* undocumented */
1351#define SFVM_GETDEFERREDVIEWSETTINGS 92 /* undocumented */
1352
1353#include <pshpack8.h>
1354
1355typedef struct _SFV_CREATE
1356{
1360 IShellFolderViewCB *psfvcb;
1362
1363#include <poppack.h>
1364
1365HRESULT
1366WINAPI
1368 _In_ const SFV_CREATE *pscfv,
1369 _Outptr_ IShellView **ppsv);
1370
1371/* Types and definitions for the SFM_* parameters */
1372#include <pshpack8.h>
1373
1374#define QCMINFO_PLACE_BEFORE 0
1375#define QCMINFO_PLACE_AFTER 1
1377{
1381
1382typedef struct _QCMINFO_IDMAP
1383{
1387
1388typedef struct _QCMINFO
1389{
1396
1397#define TBIF_DEFAULT 0x00000000
1398#define TBIF_APPEND 0x00000000
1399#define TBIF_PREPEND 0x00000001
1400#define TBIF_REPLACE 0x00000002
1401#define TBIF_INTERNETBAR 0x00010000
1402#define TBIF_STANDARDTOOLBAR 0x00020000
1403#define TBIF_NOTOOLBAR 0x00030000
1404
1405typedef struct _TBINFO
1406{
1410
1411#include <poppack.h>
1412
1413/****************************************************************************
1414* SHShellFolderView_Message API
1415*/
1416
1417LRESULT
1418WINAPI
1420 _In_ HWND hwndCabinet,
1421 UINT uMessage,
1422 LPARAM lParam);
1423
1424/* SHShellFolderView_Message messages */
1425#define SFVM_REARRANGE 0x0001
1426#define SFVM_GETARRANGECOLUMN 0x0002 /* undocumented */
1427#define SFVM_ADDOBJECT 0x0003
1428#define SFVM_GETITEMCOUNT 0x0004 /* undocumented */
1429#define SFVM_GETITEMPIDL 0x0005 /* undocumented */
1430#define SFVM_REMOVEOBJECT 0x0006
1431#define SFVM_UPDATEOBJECT 0x0007
1432#define SFVM_SETREDRAW 0x0008 /* undocumented */
1433#define SFVM_GETSELECTEDOBJECTS 0x0009
1434#define SFVM_ISDROPONSOURCE 0x000A /* undocumented */
1435#define SFVM_MOVEICONS 0x000B /* undocumented */
1436#define SFVM_GETDRAGPOINT 0x000C /* undocumented */
1437#define SFVM_GETDROPPOINT 0x000D /* undocumented */
1438#define SFVM_SETITEMPOS 0x000E
1439#define SFVM_ISDROPONBACKGROUND 0x000F /* undocumented */
1440#define SFVM_SETCLIPBOARD 0x0010
1441#define SFVM_TOGGLEAUTOARRANGE 0x0011 /* undocumented */
1442#define SFVM_LINEUPICONS 0x0012 /* undocumented */
1443#define SFVM_GETAUTOARRANGE 0x0013 /* undocumented */
1444#define SFVM_GETSELECTEDCOUNT 0x0014 /* undocumented */
1445#define SFVM_GETITEMSPACING 0x0015 /* undocumented */
1446#define SFVM_REFRESHOBJECT 0x0016 /* undocumented */
1447#define SFVM_SETPOINTS 0x0017
1448
1449/****************************************************************************
1450* SHGetDataFromIDList API
1451*/
1452#define SHGDFIL_FINDDATA 1
1453#define SHGDFIL_NETRESOURCE 2
1454#define SHGDFIL_DESCRIPTIONID 3
1455
1456#define SHDID_ROOT_REGITEM 1
1457#define SHDID_FS_FILE 2
1458#define SHDID_FS_DIRECTORY 3
1459#define SHDID_FS_OTHER 4
1460#define SHDID_COMPUTER_DRIVE35 5
1461#define SHDID_COMPUTER_DRIVE525 6
1462#define SHDID_COMPUTER_REMOVABLE 7
1463#define SHDID_COMPUTER_FIXED 8
1464#define SHDID_COMPUTER_NETDRIVE 9
1465#define SHDID_COMPUTER_CDROM 10
1466#define SHDID_COMPUTER_RAMDISK 11
1467#define SHDID_COMPUTER_OTHER 12
1468#define SHDID_NET_DOMAIN 13
1469#define SHDID_NET_SERVER 14
1470#define SHDID_NET_SHARE 15
1471#define SHDID_NET_RESTOFNET 16
1472#define SHDID_NET_OTHER 17
1473#define SHDID_COMPUTER_IMAGING 18
1474#define SHDID_COMPUTER_AUDIO 19
1475#define SHDID_COMPUTER_SHAREDDOCS 20
1476
1477#include <pshpack8.h>
1478
1479typedef struct _SHDESCRIPTIONID
1483
1484#include <poppack.h>
1485
1486HRESULT
1487WINAPI
1489 _In_ LPSHELLFOLDER psf,
1490 _In_ PCUITEMID_CHILD pidl,
1491 int nFormat,
1493 int cb);
1494
1495HRESULT
1496WINAPI
1498 _In_ LPSHELLFOLDER psf,
1499 _In_ PCUITEMID_CHILD pidl,
1500 int nFormat,
1502 int cb);
1503
1504#define SHGetDataFromIDList WINELIB_NAME_AW(SHGetDataFromIDList)
1505
1507WINAPI
1510 _In_ int csidl,
1511 _In_ BOOL fCreate);
1512
1513_Success_(return != 0)
1514BOOL
1515WINAPI
1517 _Reserved_ HWND hwndOwner,
1521
1522_Success_(return != 0)
1523BOOL
1524WINAPI
1526 _Reserved_ HWND hwndOwner,
1528 _In_ int nFolder,
1529 _In_ BOOL bCreate);
1530
1531#define SHGetSpecialFolderPath WINELIB_NAME_AW(SHGetSpecialFolderPath)
1532
1534
1535/**********************************************************************
1536 * SHGetSetSettings ()
1537 */
1538
1539typedef struct
1540{
1544
1559
1560 UINT :15; /* Required for proper binary layout with gcc */
1570 BOOL fAutoCheckSelect : 1; // Vista+
1575 UINT :15; /* Required for proper binary layout with gcc */
1577
1579
1580/**********************************************************************
1581 * SHGetSettings ()
1582 */
1583typedef struct
1600 UINT :15; /* Required for proper binary layout with gcc */
1602
1604
1605#define SSF_SHOWALLOBJECTS 0x00000001
1606#define SSF_SHOWEXTENSIONS 0x00000002
1607#define SSF_SHOWCOMPCOLOR 0x00000008
1608#define SSF_SORTCOLUMNS 0x00000010
1609#define SSF_SHOWSYSFILES 0x00000020
1610#define SSF_DOUBLECLICKINWEBVIEW 0x00000080
1611#define SSF_SHOWATTRIBCOL 0x00000100
1612#define SSF_DESKTOPHTML 0x00000200
1613#define SSF_WIN95CLASSIC 0x00000400
1614#define SSF_DONTPRETTYPATH 0x00000800
1615#define SSF_MAPNETDRVBUTTON 0x00001000
1616#define SSF_SHOWINFOTIP 0x00002000
1617#define SSF_HIDEICONS 0x00004000
1618#define SSF_NOCONFIRMRECYCLE 0x00008000
1619#define SSF_FILTER 0x00010000
1620#define SSF_WEBVIEW 0x00020000
1621#define SSF_SHOWSUPERHIDDEN 0x00040000
1622#define SSF_SEPPROCESS 0x00080000
1623#if (NTDDI_VERSION >= NTDDI_WINXP)
1624#define SSF_NONETCRAWLING 0x00100000
1625#define SSF_STARTPANELON 0x00200000
1626#define SSF_SHOWSTARTPAGE 0x00400000
1627#endif
1628#if (NTDDI_VERSION >= NTDDI_VISTA)
1629#define SSF_AUTOCHECKSELECT 0x00800000
1630#define SSF_ICONSONLY 0x01000000
1631#define SSF_SHOWTYPEOVERLAY 0x02000000
1632#endif
1633#if (NTDDI_VERSION >= NTDDI_WIN8)
1634#define SSF_SHOWSTATUSBAR 0x04000000
1635#endif
1636
1637/****************************************************************************
1638* SHRestricted API
1639*/
1640typedef enum RESTRICTIONS
1641{
1642 REST_NONE = 0x00000000,
1643 REST_NORUN = 0x00000001,
1644 REST_NOCLOSE = 0x00000002,
1645 REST_NOSAVESET = 0x00000004,
1646 REST_NOFILEMENU = 0x00000008,
1647 REST_NOSETFOLDERS = 0x00000010,
1648 REST_NOSETTASKBAR = 0x00000020,
1649 REST_NODESKTOP = 0x00000040,
1650 REST_NOFIND = 0x00000080,
1651 REST_NODRIVES = 0x00000100,
1654 REST_NONETHOOD = 0x00000800,
1655 REST_STARTBANNER = 0x00001000,
1656 REST_RESTRICTRUN = 0x00002000,
1659 REST_NOPRINTERADD = 0x00010000,
1661 REST_MYDOCSONNET = 0x00040000,
1662 REST_NOEXITTODOS = 0x00080000,
1667 REST_NOWEB = 0x01000000,
1682
1695#if (NTDDI_VERSION < NTDDI_VISTA)
1696 REST_NOLOGO3CHANNELNOTIFY = 0x4000001C,
1697#endif
1701 REST_NOCHANGESTARMENU, /* 0x40000020 */
1717 REST_MaxRecentDocs, /* 0x40000030 */
1723#if (NTDDI_VERSION < NTDDI_VISTA)
1724 REST_ALLOWFRENCHENCRYPTION = 0x40000036, /* not documented */
1725#endif
1732#if (NTDDI_VERSION < NTDDI_VISTA)
1733 REST_NORECENTDOCSNETHOOD = 0x4000003D, /* not documented */
1734#endif
1735 REST_DISALLOWRUN = 0x4000003E,
1737 REST_RESTRICTCPL, /* 0x40000040 */
1748#if (NTDDI_VERSION < NTDDI_VISTA)
1749 REST_NOCOMPUTERSNEARME = 0x4000004B, /* not documented */
1750#endif
1752#if (NTDDI_VERSION >= NTDDI_WINXP) || defined(IE_BACKCOMPAT_VERSION)
1753 REST_NONETCRAWL = 0x4000004D,
1755#endif
1756 REST_NOSMMYDOCS = 0x4000004F,
1757#if (NTDDI_VERSION >= NTDDI_WINXP)
1758 REST_NOSMMYPICS = 0x40000050,
1766#endif
1767#if (NTDDI_VERSION >= NTDDI_WIN2KSP3)
1768 REST_MYCOMPNOPROP = 0x40000058,
1770#endif
1771#if (NTDDI_VERSION >= NTDDI_WINXP)
1772 REST_NOSTARTPANEL = 0x4000005A,
1778 REST_SETVISUALSTYLE, /* 0x40000060 */
1779#endif
1780#if (NTDDI_VERSION >= NTDDI_WIN2KSP3)
1782#endif
1783#if (NTDDI_VERSION >= NTDDI_WINXP)
1794#endif
1795 /* 0x4000006C
1796 0x4000006D
1797 0x4000006E */
1798#if (NTDDI_VERSION >= NTDDI_WIN2KSP3)
1800#endif
1801#if (NTDDI_VERSION >= NTDDI_WINXP)
1802 REST_HIDECLOCK = 0x40000070,
1804#endif
1806#if (NTDDI_VERSION >= NTDDI_WINXP)
1818#endif
1819#if (NTDDI_VERSION >= NTDDI_WINXPSP1) || defined(IE_BACKCOMPAT_VERSION)
1824#endif
1825#if (NTDDI_VERSION >= NTDDI_WIN2KSP3)
1827#endif
1829#if (NTDDI_VERSION >= NTDDI_WIN2KSP3)
1831#endif
1832 /* 0x40000085 */
1834#if (NTDDI_VERSION < NTDDI_VISTA)
1835 REST_SORTMAXITEMCOUNT = 0x40000087,
1836#endif
1837 /* 0x40000088 */
1839 /* 0x4000008A - 0x40000090 */
1840#if (NTDDI_VERSION >= NTDDI_WINXPSP2)
1842#if (NTDDI_VERSION < NTDDI_VISTA)
1843 REST_NOSIMPLENETIDLIST = 0x40000092,
1844#endif
1846#if (NTDDI_VERSION < NTDDI_VISTA)
1847 REST_NODETAILSTHUMBNAILONNETWORK = 0x40000094,
1848#endif
1850#endif
1851#if (NTDDI_VERSION >= NTDDI_WINXPSP2)
1852#if (NTDDI_VERSION < NTDDI_VISTA)
1853 REST_ALLOWLEGACYLMZBEHAVIOR = 0x4000009A, /* not documented */
1854#endif
1858#endif
1859 /* 0x4000009E - "NormalizeLinkNetPidls" */
1860
1863
1864 /* 0x400000FF - "AllowCLSIDPROGIDMapping" */
1865
1866 REST_NODISCONNECT = 0x41000001,
1868 REST_NOFILEASSOCIATE, /* 0x41000003 */
1869
1870#if (NTDDI_VERSION >= NTDDI_WINXPSP2)
1872#if (NTDDI_VERSION < NTDDI_VISTA)
1873 REST_USEDESKTOPINICACHE = 0x41000005,
1874 /* 0x41000006 - "NoNetFolderInfoTip" */
1875#endif
1876#endif
1878
1880
1881/****************************************************************************
1882* SHChangeNotify API
1883*/
1885{
1889
1890#define SHCNE_RENAMEITEM 0x00000001
1891#define SHCNE_CREATE 0x00000002
1892#define SHCNE_DELETE 0x00000004
1893#define SHCNE_MKDIR 0x00000008
1894#define SHCNE_RMDIR 0x00000010
1895#define SHCNE_MEDIAINSERTED 0x00000020
1896#define SHCNE_MEDIAREMOVED 0x00000040
1897#define SHCNE_DRIVEREMOVED 0x00000080
1898#define SHCNE_DRIVEADD 0x00000100
1899#define SHCNE_NETSHARE 0x00000200
1900#define SHCNE_NETUNSHARE 0x00000400
1901#define SHCNE_ATTRIBUTES 0x00000800
1902#define SHCNE_UPDATEDIR 0x00001000
1903#define SHCNE_UPDATEITEM 0x00002000
1904#define SHCNE_SERVERDISCONNECT 0x00004000
1905#define SHCNE_UPDATEIMAGE 0x00008000
1906#define SHCNE_DRIVEADDGUI 0x00010000
1907#define SHCNE_RENAMEFOLDER 0x00020000
1908#define SHCNE_FREESPACE 0x00040000
1909
1910#define SHCNE_EXTENDED_EVENT 0x04000000
1911#define SHCNE_ASSOCCHANGED 0x08000000
1912#define SHCNE_DISKEVENTS 0x0002381F
1913#define SHCNE_GLOBALEVENTS 0x0C0581E0
1914#define SHCNE_ALLEVENTS 0x7FFFFFFF
1915#define SHCNE_INTERRUPT 0x80000000
1916
1917#define SHCNEE_ORDERCHANGED 0x0002L
1918#define SHCNEE_MSI_CHANGE 0x0004L
1919#define SHCNEE_MSI_UNINSTALL 0x0005L
1920
1921#define SHCNF_IDLIST 0x0000
1922#define SHCNF_PATHA 0x0001
1923#define SHCNF_PRINTERA 0x0002
1924#define SHCNF_DWORD 0x0003
1925#define SHCNF_PATHW 0x0005
1926#define SHCNF_PRINTERW 0x0006
1927#define SHCNF_TYPE 0x00FF
1928#define SHCNF_FLUSH 0x1000
1929#define SHCNF_FLUSHNOWAIT 0x3000
1930#define SHCNF_NOTIFYRECURSIVE 0x10000
1931
1932#define SHCNF_PATH WINELIB_NAME_AW(SHCNF_PATH)
1933#define SHCNF_PRINTER WINELIB_NAME_AW(SHCNF_PRINTER)
1934
1935#define SHCNRF_InterruptLevel 0x0001
1936#define SHCNRF_ShellLevel 0x0002
1937#define SHCNRF_RecursiveInterrupt 0x1000
1938#define SHCNRF_NewDelivery 0x8000
1939
1940void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID dwItem2);
1941
1942typedef enum {
1943 SLDF_DEFAULT = 0x00000000,
1944 SLDF_HAS_ID_LIST = 0x00000001,
1946 SLDF_HAS_NAME = 0x00000004,
1947 SLDF_HAS_RELPATH = 0x00000008,
1949 SLDF_HAS_ARGS = 0x00000020,
1951 SLDF_UNICODE = 0x00000080,
1953 SLDF_HAS_EXP_SZ = 0x00000200,
1955#if (NTDDI_VERSION < NTDDI_LONGHORN)
1956 SLDF_HAS_LOGO3ID = 0x00000800,
1957#endif
1958 SLDF_HAS_DARWINID = 0x00001000,
1959 SLDF_RUNAS_USER = 0x00002000,
1964#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1969#if (NTDDI_VERSION >= NTDDI_WIN7)
1970 SLDF_NO_KF_ALIAS = 0x00400000,
1975#if (NTDDI_VERSION >= NTDDI_WIN8)
1977 SLDF_VALID = 0x0ffff7ff, /* Windows 8 */
1978#else
1979 SLDF_VALID = 0x07fff7ff, /* Windows 7 */
1980#endif
1981#else
1982 SLDF_VALID = 0x003ff7ff, /* Windows Vista */
1983#endif
1984#endif
1985 SLDF_RESERVED = 0x80000000,
1987
1989{
1993
1994#ifdef LF_FACESIZE
1995typedef struct {
1996 DATABLOCK_HEADER dbh;
1997 WORD wFillAttribute;
1998 WORD wPopupFillAttribute;
1999 COORD dwScreenBufferSize;
2000 COORD dwWindowSize;
2001 COORD dwWindowOrigin;
2002 DWORD nFont;
2003 DWORD nInputBufferSize;
2004 COORD dwFontSize;
2005 UINT uFontFamily;
2006 UINT uFontWeight;
2007 WCHAR FaceName[LF_FACESIZE];
2008 UINT uCursorSize;
2009 BOOL bFullScreen;
2010 BOOL bQuickEdit;
2011 BOOL bInsertMode;
2012 BOOL bAutoPosition;
2013 UINT uHistoryBufferSize;
2014 UINT uNumberOfHistoryBuffers;
2015 BOOL bHistoryNoDup;
2016 COLORREF ColorTable[16];
2017} NT_CONSOLE_PROPS, *LPNT_CONSOLE_PROPS;
2018#endif
2019
2020typedef struct {
2024
2025typedef struct {
2028 CHAR szTarget[MAX_PATH];
2029 WCHAR szwTarget[MAX_PATH];
2031
2032typedef struct {
2034 CHAR szDarwinID[MAX_PATH];
2035 WCHAR szwDarwinID[MAX_PATH];
2037
2038typedef struct {
2044
2045typedef struct {
2048 BYTE abPropertyStorage[1];
2050
2051#define EXP_SZ_LINK_SIG 0xA0000001 /* EXP_SZ_LINK */
2052#define NT_CONSOLE_PROPS_SIG 0xA0000002 /* NT_CONSOLE_PROPS */
2053#define NT_FE_CONSOLE_PROPS_SIG 0xA0000004 /* NT_FE_CONSOLE_PROPS */
2054#define EXP_SPECIAL_FOLDER_SIG 0xA0000005 /* EXP_SPECIAL_FOLDER */
2055#define EXP_DARWIN_ID_SIG 0xA0000006 /* EXP_DARWIN_LINK */
2056#if (NTDDI_VERSION < NTDDI_LONGHORN)
2057#define EXP_LOGO3_ID_SIG 0xA0000007 /* EXP_DARWIN_LINK, for Logo3 / MS Internet Component Download (MSICD) shortcuts; old SDKs only (deprecated) */
2058#endif
2059#define EXP_SZ_ICON_SIG 0xA0000007 /* EXP_SZ_LINK */
2060#define EXP_PROPERTYSTORAGE_SIG 0xA0000009 /* EXP_PROPERTYSTORAGE */
2061
2068
2074
2075ULONG
2076WINAPI
2078 _In_ HWND hwnd,
2079 int fSources,
2080 LONG fEvents,
2081 UINT wMsg,
2082 int cEntries,
2083 _In_ SHChangeNotifyEntry *pshcne);
2084
2086
2087HANDLE
2088WINAPI
2090 _In_ HANDLE hChangeNotification,
2091 DWORD dwProcessId,
2093 _Out_opt_ LONG *plEvent);
2094
2096
2097HRESULT
2098WINAPI
2100 _In_ IShellFolder *psf,
2101 _In_ PCUITEMID_CHILD pidlSimple,
2102 _Outptr_ PITEMID_CHILD * ppidlReal);
2103
2104/****************************************************************************
2105* SHCreateDirectory API
2106*/
2108
2109int
2110WINAPI
2112 _In_opt_ HWND,
2113 _In_ LPCSTR,
2115
2116int
2117WINAPI
2119 _In_opt_ HWND,
2120 _In_ LPCWSTR,
2122
2123#define SHCreateDirectoryEx WINELIB_NAME_AW(SHCreateDirectoryEx)
2124
2125/****************************************************************************
2126* SHGetSpecialFolderLocation API
2127*/
2129HRESULT
2130WINAPI
2132 _Reserved_ HWND hwndOwner,
2133 _In_ int nFolder,
2134 _Outptr_ PIDLIST_ABSOLUTE *ppidl);
2135
2136HRESULT
2137WINAPI
2139 _Reserved_ HWND hwndOwner,
2140 _In_ int nFolder,
2141 _In_opt_ HANDLE hToken,
2143 _Outptr_ PIDLIST_ABSOLUTE *ppidl);
2144
2145/****************************************************************************
2146* SHGetFolderPath API
2147*/
2148typedef enum {
2152
2153HRESULT
2154WINAPI
2157 _In_ int nFolder,
2158 _In_opt_ HANDLE hToken,
2160 _Out_writes_(MAX_PATH) LPSTR pszPath);
2161
2162HRESULT
2163WINAPI
2166 _In_ int nFolder,
2167 _In_opt_ HANDLE hToken,
2169 _Out_writes_(MAX_PATH) LPWSTR pszPath);
2170
2171#define SHGetFolderPath WINELIB_NAME_AW(SHGetFolderPath)
2172
2173#define CSIDL_DESKTOP 0x0000
2174#define CSIDL_INTERNET 0x0001
2175#define CSIDL_PROGRAMS 0x0002
2176#define CSIDL_CONTROLS 0x0003
2177#define CSIDL_PRINTERS 0x0004
2178#define CSIDL_PERSONAL 0x0005
2179#define CSIDL_FAVORITES 0x0006
2180#define CSIDL_STARTUP 0x0007
2181#define CSIDL_RECENT 0x0008
2182#define CSIDL_SENDTO 0x0009
2183#define CSIDL_BITBUCKET 0x000a
2184#define CSIDL_STARTMENU 0x000b
2185#define CSIDL_MYDOCUMENTS CSIDL_PERSONAL
2186#define CSIDL_MYMUSIC 0x000d
2187#define CSIDL_MYVIDEO 0x000e
2188#define CSIDL_DESKTOPDIRECTORY 0x0010
2189#define CSIDL_DRIVES 0x0011
2190#define CSIDL_NETWORK 0x0012
2191#define CSIDL_NETHOOD 0x0013
2192#define CSIDL_FONTS 0x0014
2193#define CSIDL_TEMPLATES 0x0015
2194#define CSIDL_COMMON_STARTMENU 0x0016
2195#define CSIDL_COMMON_PROGRAMS 0X0017
2196#define CSIDL_COMMON_STARTUP 0x0018
2197#define CSIDL_COMMON_DESKTOPDIRECTORY 0x0019
2198#define CSIDL_APPDATA 0x001a
2199#define CSIDL_PRINTHOOD 0x001b
2200#define CSIDL_LOCAL_APPDATA 0x001c
2201#define CSIDL_ALTSTARTUP 0x001d
2202#define CSIDL_COMMON_ALTSTARTUP 0x001e
2203#define CSIDL_COMMON_FAVORITES 0x001f
2204#define CSIDL_INTERNET_CACHE 0x0020
2205#define CSIDL_COOKIES 0x0021
2206#define CSIDL_HISTORY 0x0022
2207#define CSIDL_COMMON_APPDATA 0x0023
2208#define CSIDL_WINDOWS 0x0024
2209#define CSIDL_SYSTEM 0x0025
2210#define CSIDL_PROGRAM_FILES 0x0026
2211#define CSIDL_MYPICTURES 0x0027
2212#define CSIDL_PROFILE 0x0028
2213#define CSIDL_SYSTEMX86 0x0029
2214#define CSIDL_PROGRAM_FILESX86 0x002a
2215#define CSIDL_PROGRAM_FILES_COMMON 0x002b
2216#define CSIDL_PROGRAM_FILES_COMMONX86 0x002c
2217#define CSIDL_COMMON_TEMPLATES 0x002d
2218#define CSIDL_COMMON_DOCUMENTS 0x002e
2219#define CSIDL_COMMON_ADMINTOOLS 0x002f
2220#define CSIDL_ADMINTOOLS 0x0030
2221#define CSIDL_CONNECTIONS 0x0031
2222#define CSIDL_COMMON_MUSIC 0x0035
2223#define CSIDL_COMMON_PICTURES 0x0036
2224#define CSIDL_COMMON_VIDEO 0x0037
2225#define CSIDL_RESOURCES 0x0038
2226#define CSIDL_RESOURCES_LOCALIZED 0x0039
2227#define CSIDL_COMMON_OEM_LINKS 0x003a
2228#define CSIDL_CDBURN_AREA 0x003b
2229#define CSIDL_COMPUTERSNEARME 0x003d
2230#define CSIDL_PROFILES 0x003e
2231#define CSIDL_FOLDER_MASK 0x00ff
2232#define CSIDL_FLAG_PER_USER_INIT 0x0800
2233#define CSIDL_FLAG_NO_ALIAS 0x1000
2234#define CSIDL_FLAG_DONT_VERIFY 0x4000
2235#define CSIDL_FLAG_CREATE 0x8000
2236
2237#define CSIDL_FLAG_MASK 0xff00
2238
2239/****************************************************************************
2240 * SHGetDesktopFolder API
2241 */
2243
2244/****************************************************************************
2245 * SHBindToParent API
2246 */
2247HRESULT
2248WINAPI
2253 _Outptr_opt_ PCUITEMID_CHILD *ppidlLast);
2254
2255/****************************************************************************
2256 * SHCreateFileExtractIcon API
2257 */
2258#if (NTDDI_VERSION >= NTDDI_WINXP)
2259
2260// NOTE: Even if documented on MSDN, the SHCreateFileExtractIconA()
2261// ANSI function never existed on Windows!
2262
2263HRESULT
2264WINAPI
2266 _In_ LPCWSTR pszFile,
2269 _Outptr_ void **ppv);
2270
2271#ifdef UNICODE
2272#define SHCreateFileExtractIcon SHCreateFileExtractIconW
2273#endif
2274
2275#endif /* (NTDDI_VERSION >= NTDDI_WINXP) */
2276
2277/****************************************************************************
2278* SHDefExtractIcon API
2279*/
2280HRESULT
2281WINAPI
2283 _In_ LPCSTR pszIconFile,
2284 int iIndex,
2285 UINT uFlags,
2286 _Out_opt_ HICON* phiconLarge,
2287 _Out_opt_ HICON* phiconSmall,
2288 UINT nIconSize);
2289
2290HRESULT
2291WINAPI
2293 _In_ LPCWSTR pszIconFile,
2294 int iIndex,
2295 UINT uFlags,
2296 _Out_opt_ HICON* phiconLarge,
2297 _Out_opt_ HICON* phiconSmall,
2298 UINT nIconSize);
2299
2300#define SHDefExtractIcon WINELIB_NAME_AW(SHDefExtractIcon)
2301
2302/*
2303 * DROPFILES for CF_HDROP and CF_PRINTERS
2304 */
2305typedef struct _DROPFILES
2306{
2312
2313
2314/*
2315 * FILEDESCRIPTOR[A|W].dwFlags
2316 */
2317#define FD_CLSID 0x00000001
2318#define FD_SIZEPOINT 0x00000002
2319#define FD_ATTRIBUTES 0x00000004
2320#define FD_CREATETIME 0x00000008
2321#define FD_ACCESSTIME 0x00000010
2322#define FD_WRITESTIME 0x00000020
2323#define FD_FILESIZE 0x00000040
2324#define FD_PROGRESSUI 0x00004000
2325#define FD_LINKUI 0x00008000
2326#if (NTDDI_VERSION >= NTDDI_VISTA)
2327#define FD_UNICODE 0x80000000
2328#endif
2329
2330/*
2331 * Properties of a file in the clipboard
2332 */
2333typedef struct _FILEDESCRIPTORA {
2346
2347typedef struct _FILEDESCRIPTORW {
2360
2361DECL_WINELIB_TYPE_AW(FILEDESCRIPTOR)
2362DECL_WINELIB_TYPE_AW(LPFILEDESCRIPTOR)
2363
2364/*
2365 * CF_FILEGROUPDESCRIPTOR clipboard format
2366 */
2371
2376
2377DECL_WINELIB_TYPE_AW(FILEGROUPDESCRIPTOR)
2378DECL_WINELIB_TYPE_AW(LPFILEGROUPDESCRIPTOR)
2379
2380/****************************************************************************
2381 * Cabinet functions
2382 */
2383
2384typedef struct {
2397 UINT :15; /* Required for proper binary layout with gcc */
2400
2401#define CABINETSTATE_VERSION 2
2402
2403BOOL
2404WINAPI
2407 int cLength);
2408
2410
2411/****************************************************************************
2412 * Path Manipulation Routines
2413 */
2414
2415/* PathProcessCommand flags */
2416#define PPCF_ADDQUOTES 0x01
2417#define PPCF_INCLUDEARGS 0x02
2418#define PPCF_ADDARGUMENTS 0x03
2419#define PPCF_NODIRECTORIES 0x10
2420#define PPCF_DONTRESOLVE 0x20
2421#define PPCF_FORCEQUALIFY 0x40
2422#define PPCF_LONGESTPOSSIBLE 0x80
2423
2424/* PathResolve flags */
2425#define PRF_VERIFYEXISTS 0x01
2426#define PRF_EXECUTABLE 0x02
2427#define PRF_TRYPROGRAMEXTENSIONS (PRF_EXECUTABLE | PRF_VERIFYEXISTS)
2428#define PRF_FIRSTDIRDEF 0x04
2429#define PRF_DONTFINDLNK 0x08 // Used when PRF_TRYPROGRAMEXTENSIONS is specified
2430#if (NTDDI_VERSION >= NTDDI_WINXPSP2)
2431#define PRF_REQUIREABSOLUTE 0x10
2432#endif
2433
2435
2436LONG
2437WINAPI
2439 _In_ LPCWSTR,
2440 _Out_writes_(cchDest) LPWSTR,
2441 int cchDest,
2442 DWORD);
2443
2444_Success_(return != 0)
2445BOOL
2446WINAPI
2452
2453/****************************************************************************
2454 * Drag And Drop Routines
2455 */
2456
2457/* DAD_AutoScroll sample structure */
2458#define NUM_POINTS 3
2459typedef struct
2460{
2467
2474
2475HRESULT
2476WINAPI
2478 _In_opt_ HWND,
2481 _In_ DWORD,
2482 _Out_ LPDWORD);
2483
2484/****************************************************************************
2485 * Internet shortcut properties
2486 */
2487
2488#define PID_IS_URL 2
2489#define PID_IS_NAME 4
2490#define PID_IS_WORKINGDIR 5
2491#define PID_IS_HOTKEY 6
2492#define PID_IS_SHOWCMD 7
2493#define PID_IS_ICONINDEX 8
2494#define PID_IS_ICONFILE 9
2495#define PID_IS_WHATSNEW 10
2496#define PID_IS_AUTHOR 11
2497#define PID_IS_DESCRIPTION 12
2498#define PID_IS_COMMENT 13
2499
2500
2506#define ILCreateFromPath WINELIB_NAME_AW(ILCreateFromPath)
2518
2520{
2521 return !(pidl && pidl->mkid.cb);
2522}
2523
2524#include <poppack.h>
2525
2526
2527/* menu merging */
2528#define MM_ADDSEPARATOR 0x00000001L
2529#define MM_SUBMENUSHAVEIDS 0x00000002L
2530#define MM_DONTREMOVESEPS 0x00000004L
2531
2532UINT
2533WINAPI
2535 _In_ HMENU hmDst,
2536 _In_ HMENU hmSrc,
2537 UINT uInsert,
2538 UINT uIDAdjust,
2539 UINT uIDAdjustMax,
2540 ULONG uFlags);
2541
2542
2543/****************************************************************************
2544 * SHCreateDefaultContextMenu API
2545 */
2546
2547typedef struct
2548{
2557 const HKEY *aKeys;
2559
2560HRESULT
2561WINAPI
2563 _In_ const DEFCONTEXTMENU *,
2564 _In_ REFIID,
2565 _Outptr_ void **ppv);
2566
2567typedef HRESULT
2570 _In_opt_ HWND,
2572 UINT,
2573 WPARAM,
2574 LPARAM);
2575
2576HRESULT
2577WINAPI
2580 _In_opt_ HWND,
2581 UINT cidl,
2585 UINT nKeys,
2586 _In_reads_opt_(nKeys) const HKEY *,
2588
2589#define DFM_MERGECONTEXTMENU 1
2590#define DFM_INVOKECOMMAND 2
2591#define DFM_INVOKECOMMANDEX 12
2592#define DFM_GETDEFSTATICID 14
2593
2594#define DFM_GETHELPTEXT 5
2595#define DFM_WM_MEASUREITEM 6
2596#define DFM_WM_DRAWITEM 7
2597#define DFM_WM_INITMENUPOPUP 8
2598#define DFM_VALIDATECMD 9
2599#define DFM_MERGECONTEXTMENU_TOP 10
2600#define DFM_GETHELPTEXTW 11
2601#define DFM_MAPCOMMANDNAME 13
2602#define DFM_GETVERBW 15
2603#define DFM_GETVERBA 16
2604#define DFM_MERGECONTEXTMENU_BOTTOM 17
2605#define DFM_MODIFYQCMFLAGS 18
2606
2607
2608#define DFM_CMD_DELETE ((UINT)-1)
2609#define DFM_CMD_MOVE ((UINT)-2)
2610#define DFM_CMD_COPY ((UINT)-3)
2611#define DFM_CMD_LINK ((UINT)-4)
2612#define DFM_CMD_PROPERTIES ((UINT)-5)
2613#define DFM_CMD_NEWFOLDER ((UINT)-6)
2614#define DFM_CMD_PASTE ((UINT)-7)
2615#define DFM_CMD_VIEWLIST ((UINT)-8)
2616#define DFM_CMD_VIEWDETAILS ((UINT)-9)
2617#define DFM_CMD_PASTELINK ((UINT)-10)
2618#define DFM_CMD_PASTESPECIAL ((UINT)-11)
2619#define DFM_CMD_MODALPROP ((UINT)-12)
2620#define DFM_CMD_RENAME ((UINT)-13)
2621
2622/****************************************************************************
2623 * SHCreateDefaultExtractIcon API
2624 */
2625
2628 REFIID riid,
2629 void **ppv);
2630/****************************************************************************
2631 * SHCreateDataObject API
2632 */
2633
2635 _In_opt_ PCIDLIST_ABSOLUTE pidlFolder,
2636 _In_ UINT cidl,
2638 _In_opt_ IDataObject *pdtInner,
2640 _Outptr_ void **ppv);
2641
2642/****************************************************************************
2643 * CIDLData_CreateFromIDArray API
2644 */
2645
2647 _In_ PCIDLIST_ABSOLUTE pidlFolder,
2648 _In_ UINT cidl,
2650 _Outptr_ IDataObject **ppdtobj);
2651
2652/****************************************************************************
2653 * SHRunControlPanel
2654 */
2655
2656BOOL
2657WINAPI
2659 _In_ LPCWSTR commandLine,
2661
2662/****************************************************************************
2663 * SHGetAttributesFromDataObject
2664 */
2665
2666HRESULT
2667WINAPI
2669 _In_opt_ IDataObject* pdo,
2670 DWORD dwAttributeMask,
2671 _Out_opt_ DWORD* pdwAttributes,
2673
2674/****************************************************************************
2675 * SHOpenWithDialog
2676 */
2677
2679{
2684#if (NTDDI_VERSION >= NTDDI_VISTA)
2687#endif
2688};
2690
2691
2692typedef struct tagOPENASINFO {
2697
2698HRESULT
2699WINAPI
2702 _In_ const OPENASINFO *poainfo);
2703
2704#define INTERFACE IShellIconOverlayIdentifier
2705
2706DECLARE_INTERFACE_(IShellIconOverlayIdentifier, IUnknown)
2707{
2711
2712 STDMETHOD (IsMemberOf)(THIS_ _In_ LPCWSTR pwszPath, DWORD dwAttrib) PURE;
2713 STDMETHOD (GetOverlayInfo)(THIS_ _Out_writes_(cchMax) LPWSTR pwszIconFile, int cchMax, _Out_ int * pIndex, _Out_ DWORD * pdwFlags) PURE;
2714 STDMETHOD (GetPriority)(THIS_ _Out_ int * pIPriority) PURE;
2715};
2716
2717#if !defined(__cplusplus) || defined(CINTERFACE)
2718/*** IUnknown methods ***/
2719#define IShellIconOverlayIdentifier_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
2720#define IShellIconOverlayIdentifier_AddRef(p) (p)->lpVtbl->AddRef(p)
2721#define IShellIconOverlayIdentifier_Release(p) (p)->lpVtbl->Release(p)
2722/*** IShellIconOverlayIdentifier methods ***/
2723#define IShellIconOverlayIdentifier_IsMemberOf(p,a,b) (p)->lpVtbl->IsMemberOf(p,a,b)
2724#define IShellIconOverlayIdentifier_GetOverlayInfo(p,a,b,c,d) (p)->lpVtbl->GetOverlayInfo(p,a,b,c,d)
2725#define IShellIconOverlayIdentifier_GetPriority(p,a) (p)->lpVtbl->GetPriority(p,a)
2726#endif
2727
2728#define ISIOI_ICONFILE 0x00000001
2729#define ISIOI_ICONINDEX 0x00000002
2730
2731#undef INTERFACE
2732
2733/****************************************************************************
2734 * Travel log
2735 */
2736
2737#define TLOG_BACK -1
2738#define TLOG_FORE 1
2739
2740#define TLMENUF_INCLUDECURRENT 0x00000001
2741#define TLMENUF_CHECKCURRENT (TLMENUF_INCLUDECURRENT | 0x00000002)
2742#define TLMENUF_BACK 0x00000010 // Default
2743#define TLMENUF_FORE 0x00000020
2744#define TLMENUF_BACKANDFORTH (TLMENUF_BACK | TLMENUF_FORE | TLMENUF_INCLUDECURRENT)
2745
2746/*****************************************************************************
2747 * IDockingWindowSite interface
2748 */
2749#define INTERFACE IDockingWindowSite
2750DECLARE_INTERFACE_(IDockingWindowSite, IOleWindow)
2751{
2752 // *** IUnknown methods ***
2756
2757 // *** IOleWindow methods ***
2758 STDMETHOD(GetWindow)(THIS_ HWND *lphwnd) PURE;
2759 STDMETHOD(ContextSensitiveHelp)(THIS_ BOOL fEnterMode) PURE;
2760
2761 // *** IDockingWindowSite methods ***
2762 STDMETHOD(GetBorderDW)(THIS_ _In_ IUnknown *punkObj, _Out_ LPRECT prcBorder) PURE;
2763 STDMETHOD(RequestBorderSpaceDW)(THIS_ _In_ IUnknown *punkObj, _In_ LPCBORDERWIDTHS pbw) PURE;
2764 STDMETHOD(SetBorderSpaceDW)(THIS_ _In_ IUnknown *punkObj, _In_ LPCBORDERWIDTHS pbw) PURE;
2765};
2766#undef INTERFACE
2767
2768#if !defined(__cplusplus) || defined(CINTERFACE)
2769/*** IUnknown methods ***/
2770#define IDockingWindowSite_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
2771#define IDockingWindowSite_AddRef(p) (p)->lpVtbl->AddRef(p)
2772#define IDockingWindowSite_Release(p) (p)->lpVtbl->Release(p)
2773/*** IOleWindow methods ***/
2774#define IDockingWindowSite_GetWindow(p,a) (p)->lpVtbl->GetWindow(p,a)
2775#define IDockingWindowSite_ContextSensitiveHelp(p,a) (p)->lpVtbl->ContextSensitiveHelp(p,a)
2776/*** IDockingWindowSite methods ***/
2777#define IDockingWindowSite_GetBorderDW(p,a,b) (p)->lpVtbl->GetBorderDW(p,a,b)
2778#define IDockingWindowSite_RequestBorderSpaceDW(p,a,b) (p)->lpVtbl->RequestBorderSpaceDW(p,a,b)
2779#define IDockingWindowSite_SetBorderSpaceDW(p,a,b) (p)->lpVtbl->SetBorderSpaceDW(p,a,b)
2780#endif
2781
2782typedef void (CALLBACK *PFNASYNCICONTASKBALLBACK)(LPCITEMIDLIST pidl, LPVOID pvData, LPVOID pvHint, INT iIconIndex, INT iOpenIconIndex);
2783
2784#define ISFB_MASK_STATE 0x00000001
2785#define ISFB_MASK_IDLIST 0x00000010
2786
2787#define ISFB_STATE_QLINKSMODE 0x00000020
2788#define ISFB_STATE_NOSHOWTEXT 0x00000004
2789
2790#include <pshpack8.h>
2791
2792typedef struct {
2804
2805#include <poppack.h>
2806
2807#undef INTERFACE
2808#define INTERFACE IShellFolderBand
2809
2811{
2812 // *** IUnknown methods ***
2816
2817 // *** IShellFolderBand Methods ***
2818 STDMETHOD(InitializeSFB)(THIS_ IShellFolder *psf, PCIDLIST_ABSOLUTE pidl) PURE;
2819 STDMETHOD(SetBandInfoSFB)(THIS_ PBANDINFOSFB pbi) PURE;
2820 STDMETHOD(GetBandInfoSFB)(THIS_ PBANDINFOSFB pbi) PURE;
2821};
2822#undef INTERFACE
2823
2824#if (NTDDI_VERSION >= NTDDI_WIN2K) && (NTDDI_VERSION <= NTDDI_WINXPSP2)
2825/*****************************************************************************
2826 * Control Panel functions
2827 */
2830#endif
2831
2832#ifdef __cplusplus
2833} /* extern "C" */
2834#endif /* defined(__cplusplus) */
2835
2836#endif /* __WINE_SHLOBJ_H */
static DWORD SetClipboard(UINT cf, const void *data, SIZE_T size)
UINT DriveType
DWORD dwFileAttributes
UINT cchMax
static VOID SetWallpaper(PBACKGROUND_DATA pData)
Definition: background.c:989
HWND hWnd
Definition: settings.c:17
void GetDirectory(LPTSTR wholepath, LPTSTR directory, BOOL CheckExisting)
Definition: move.c:65
#define DECLARE_INTERFACE_(i, b)
Definition: basetyps.h:78
#define PURE
Definition: basetyps.h:64
#define THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define STDMETHOD_(t, m)
Definition: basetyps.h:63
#define STDMETHOD(m)
Definition: basetyps.h:62
HRESULT WINAPI GetInfoTip(IUnknown *param8, long paramC, LPTSTR *param10, long cchMax)
return
Definition: dirsup.c:529
_In_ BOOLEAN Release
Definition: cdrom.h:920
HINSTANCE hInstance
Definition: charmap.c:19
WPARAM wParam
Definition: combotst.c:138
LPARAM lParam
Definition: combotst.c:139
DWORD WINAPI GetSize(LPVOID)
static const WCHAR wszFriendlyName[]
Definition: createdevenum.c:51
static HWND hwndParent
Definition: cryptui.c:300
#define LF_FACESIZE
Definition: dimm.idl:39
static const WCHAR dwWidth[]
Definition: provider.c:62
static const WCHAR dwHeight[]
Definition: provider.c:63
HRESULT GetDetailsOf(IShellFolder2 &Folder, PCUITEMID_CHILD pidl, UINT Column, PWSTR &String)
Definition: util.h:88
UINT uFlags
Definition: api.c:59
HANDLE HWND
Definition: compat.h:19
#define MAX_PATH
Definition: compat.h:34
#define CALLBACK
Definition: compat.h:35
BOOL WINAPI SHGetSpecialFolderPathA(HWND hwndOwner, LPSTR szPath, int nFolder, BOOL bCreate)
Definition: shellpath.c:3079
BOOL WINAPI PathYetAnotherMakeUniqueName(LPWSTR buffer, LPCWSTR path, LPCWSTR shortname, LPCWSTR longname)
Definition: shellpath.c:699
BOOL WINAPI SHGetSpecialFolderPathW(HWND hwndOwner, LPWSTR szPath, int nFolder, BOOL bCreate)
Definition: shellpath.c:3092
#define INTERNET_MAX_URL_LENGTH
Definition: session.c:1418
r parent
Definition: btrfs.c:3010
r reserved
Definition: btrfs.c:3006
static IShellFolder IShellItem **static IBindCtx LPITEMIDLIST SFGAOF
Definition: ebrowser.c:83
unsigned int BOOL
Definition: ntddk_ex.h:94
unsigned long DWORD
Definition: ntddk_ex.h:95
unsigned short WORD
Definition: ntddk_ex.h:93
REFIID riid
Definition: atlbase.h:39
REFIID LPVOID * ppv
Definition: atlbase.h:39
#define DECLARE_HANDLE(name)
Definition: mimeole.idl:23
LPCWSTR szPath
Definition: env.c:37
PSDBQUERYRESULT_VISTA PVOID DWORD * dwSize
Definition: env.c:56
static HICON
Definition: imagelist.c:80
static HMODULE MODULEINFO DWORD cb
Definition: module.c:33
static HRESULT QueryInterface(REFIID, void **)
Definition: events.c:2587
static ULONG WINAPI AddRef(IStream *iface)
Definition: clist.c:90
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
Definition: ordinal.c:63
static int int const SCRIPT_CONTROL const SCRIPT_STATE SCRIPT_ITEM ULONG int * pcItems
Definition: usp10.c:62
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
Definition: mswsock.h:95
_Out_ PULONG _Out_ PULONG pIndex
Definition: ndis.h:4565
unsigned int UINT
Definition: ndis.h:50
static LPUNKNOWN
Definition: ndr_ole.c:49
#define _In_reads_(s)
Definition: no_sal2.h:168
#define _Out_opt_
Definition: no_sal2.h:214
#define _Inout_updates_(s)
Definition: no_sal2.h:182
#define _Inout_
Definition: no_sal2.h:162
#define _Success_(c)
Definition: no_sal2.h:84
#define _Outptr_result_maybenull_
Definition: no_sal2.h:266
#define _Check_return_
Definition: no_sal2.h:60
#define _Outptr_opt_
Definition: no_sal2.h:264
#define _Outptr_
Definition: no_sal2.h:262
#define _Outptr_result_buffer_(s)
Definition: no_sal2.h:286
#define _Outptr_opt_result_buffer_(s)
Definition: no_sal2.h:290
#define _Inout_opt_
Definition: no_sal2.h:216
#define _Out_writes_(s)
Definition: no_sal2.h:176
#define _Out_
Definition: no_sal2.h:160
#define _In_reads_opt_(s)
Definition: no_sal2.h:222
#define _In_
Definition: no_sal2.h:158
#define _In_opt_
Definition: no_sal2.h:212
#define _Reserved_
Definition: no_sal2.h:504
#define _Out_writes_bytes_(s)
Definition: no_sal2.h:178
#define BOOL
Definition: nt_native.h:43
#define DWORD
Definition: nt_native.h:44
interface IMalloc * LPMALLOC
Definition: objfwd.h:12
interface IStream * LPSTREAM
Definition: objfwd.h:10
long LONG
Definition: pedump.c:60
unsigned short USHORT
Definition: pedump.c:61
BOOL WINAPI SHGetPathFromIDListA(LPCITEMIDLIST pidl, LPSTR pszPath)
Definition: pidl.c:1390
BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST pidl, LPWSTR pszPath)
Definition: pidl.c:1452
#define INT
Definition: polytest.cpp:20
BOOL(CALLBACK * LPFNADDPROPSHEETPAGE)(HPROPSHEETPAGE, LPARAM)
Definition: prsht.h:327
#define DEFINE_GUID(name, l, w1, w2, b1, b2, b3, b4, b5, b6, b7, b8)
Definition: guiddef.h:68
#define REFIID
Definition: guiddef.h:118
const WCHAR * str
#define ILGetSize
Definition: shellclasses.h:638
struct _CSFV CSFV
struct _SHChangeDWORDAsIDList SHChangeDWORDAsIDList
struct _FILEGROUPDESCRIPTORW FILEGROUPDESCRIPTORW
int WINAPI PathCleanupSpec(_In_opt_ LPCWSTR, _Inout_ LPWSTR)
struct _FILEGROUPDESCRIPTORA * LPFILEGROUPDESCRIPTORA
LPVOID WINAPI SHAlloc(SIZE_T) __WINE_ALLOC_SIZE(1)
Definition: shellole.c:304
struct tagBROWSEINFOA * LPBROWSEINFOA
struct _SHDESCRIPTIONID * LPSHDESCRIPTIONID
struct tagDATABLOCKHEADER * LPDATABLOCK_HEADER
int WINAPI SHCreateDirectory(_In_opt_ HWND, _In_ LPCWSTR)
struct _FILEDESCRIPTORW * LPFILEDESCRIPTORW
HRESULT WINAPI SHILCreateFromPath(_In_ PCWSTR, _Outptr_ PIDLIST_ABSOLUTE *, _Inout_opt_ DWORD *)
HRESULT WINAPI SHCreateDefaultContextMenu(_In_ const DEFCONTEXTMENU *, _In_ REFIID, _Outptr_ void **ppv)
_In_ int _In_ BOOL bCreate
Definition: shlobj.h:1520
BOOL WINAPI SHObjectProperties(_In_opt_ HWND, _In_ DWORD, _In_ LPCWSTR, _In_opt_ LPCWSTR)
struct tagBROWSEINFOA * PBROWSEINFOA
struct tagBROWSEINFOA BROWSEINFOA
UINT WINAPI SHAddFromPropSheetExtArray(_In_ HPSXA, _In_ LPFNADDPROPSHEETPAGE, LPARAM)
PIDLIST_ABSOLUTE WINAPI ILCombine(_In_opt_ PCIDLIST_ABSOLUTE, _In_opt_ PCUIDLIST_RELATIVE)
PUIDLIST_RELATIVE WINAPI ILGetNext(_In_opt_ PCUIDLIST_RELATIVE)
_Check_return_ HRESULT WINAPI SHGetMalloc(_Outptr_ LPMALLOC *lpmal)
static const WCHAR CFSTR_PREFERREDDROPEFFECTW[]
Definition: shlobj.h:526
struct _FILEGROUPDESCRIPTORA FILEGROUPDESCRIPTORA
HRESULT WINAPI SHPathPrepareForWriteW(_In_opt_ HWND, _In_opt_ IUnknown *, _In_ LPCWSTR, DWORD)
struct _FILEDESCRIPTORA * LPFILEDESCRIPTORA
#define NUM_POINTS
Definition: shlobj.h:2458
int WINAPI SHMapPIDLToSystemImageListIndex(_In_ IShellFolder *, _In_ PCUITEMID_CHILD, _Out_opt_ int *)
HRESULT WINAPI SHOpenFolderAndSelectItems(_In_ PCIDLIST_ABSOLUTE pidlFolder, _In_ UINT cidl, _In_reads_opt_(cidl) PCUITEMID_CHILD_ARRAY, _In_ DWORD)
static const WCHAR CFSTR_FILECONTENTSW[]
Definition: shlobj.h:514
PIDLIST_ABSOLUTE WINAPI SHBrowseForFolderW(_In_ LPBROWSEINFOW lpbi)
struct _SHChangeDWORDAsIDList * LPSHChangeDWORDAsIDList
struct tagBROWSEINFOW * PBROWSEINFOW
DWORD WINAPI SHCLSIDFromStringW(_In_ LPCWSTR, _Out_ CLSID *)
SHGFP_TYPE
Definition: shlobj.h:2148
@ SHGFP_TYPE_DEFAULT
Definition: shlobj.h:2150
@ SHGFP_TYPE_CURRENT
Definition: shlobj.h:2149
struct SHFOLDERCUSTOMSETTINGSA * LPSHFOLDERCUSTOMSETTINGSA
struct _FILEDESCRIPTORW FILEDESCRIPTORW
void(CALLBACK * PFNASYNCICONTASKBALLBACK)(LPCITEMIDLIST pidl, LPVOID pvData, LPVOID pvHint, INT iIconIndex, INT iOpenIconIndex)
Definition: shlobj.h:2782
DWORD WINAPI SHCLSIDFromStringA(_In_ LPCSTR, _Out_ CLSID *)
struct BANDINFOSFB * PBANDINFOSFB
struct _SHDESCRIPTIONID SHDESCRIPTIONID
BOOL WINAPI SHFindFiles(_In_opt_ PCIDLIST_ABSOLUTE, _In_opt_ PCIDLIST_ABSOLUTE)
UINT WINAPI SHReplaceFromPropSheetExtArray(_In_ HPSXA, UINT, _In_ LPFNADDPROPSHEETPAGE, LPARAM)
struct _DROPFILES DROPFILES
HRESULT WINAPI SHStartNetConnectionDialogA(_In_ HWND hwnd, _In_ LPCSTR pszRemoteName, _In_ DWORD dwType)
Definition: utils.cpp:1165
struct _QCMINFO QCMINFO
BOOL WINAPI SHOpenPropSheetA(_In_opt_ LPCSTR pszCaption, _In_opt_ HKEY *ahKeys, _In_ UINT cKeys, _In_ const CLSID *pclsidDefault, _In_ IDataObject *pDataObject, _In_opt_ IShellBrowser *pShellBrowser, _In_opt_ LPCSTR pszStartPage)
Definition: utils.cpp:1100
struct _QCMINFO * LPQCMINFO
struct tagDATABLOCKHEADER DATABLOCK_HEADER
struct tagOPENASINFO OPENASINFO
HRESULT WINAPI SHCreateDefaultExtractIcon(REFIID riid, void **ppv)
BOOL WINAPI DAD_DragEnterEx2(_In_ HWND, POINT, _In_opt_ IDataObject *)
BOOL WINAPI PathIsSlowW(_In_ LPCWSTR pszFile, _In_ DWORD dwAttr)
Definition: stubs.cpp:915
struct CIDA * LPIDA
HRESULT WINAPI SHBindToParent(_In_ PCIDLIST_ABSOLUTE pidl, _In_ REFIID riid, _Outptr_ LPVOID *ppv, _Outptr_opt_ PCUITEMID_CHILD *ppidlLast)
struct EXP_DARWIN_LINK * LPEXP_DARWIN_LINK
struct CABINETSTATE * LPCABINETSTATE
BOOL WINAPI GetFileNameFromBrowse(_In_opt_ HWND, _Inout_updates_(cchFilePath) LPWSTR, UINT cchFilePath, _In_opt_ LPCWSTR, _In_ LPCWSTR, _In_opt_ LPCWSTR, _In_opt_ LPCWSTR)
struct SHELLFLAGSTATE * LPSHELLFLAGSTATE
int WINAPI RestartDialogEx(_In_opt_ HWND, _In_opt_ LPCWSTR, DWORD, DWORD)
HRESULT WINAPI SHGetDataFromIDListA(_In_ LPSHELLFOLDER psf, _In_ PCUITEMID_CHILD pidl, int nFormat, _Out_writes_bytes_(cb) LPVOID pv, int cb)
INT WINAPI SHHandleUpdateImage(_In_ PCIDLIST_ABSOLUTE)
static const WCHAR CFSTR_PASTESUCCEEDEDW[]
Definition: shlobj.h:530
HRESULT WINAPI SHCreateStdEnumFmtEtc(_In_ UINT cfmt, _In_reads_(cfmt) const FORMATETC *, _Outptr_ IEnumFORMATETC **)
struct _TBINFO * LPTBINFO
HRESULT WINAPI SHGetFolderPathAndSubDirA(_Reserved_ HWND, _In_ int, _In_opt_ HANDLE, _In_ DWORD, _In_opt_ LPCSTR, _Out_writes_(MAX_PATH) LPSTR)
HRESULT(CALLBACK * LPFNVIEWCALLBACK)(_In_ IShellView *dwUser, _In_ IShellFolder *pshf, _In_ HWND hWnd, UINT uMsg, WPARAM wParam, LPARAM lParam)
Definition: shlobj.h:1264
struct _SHChangeProductKeyAsIDList SHChangeProductKeyAsIDList
struct tagBROWSEINFOW * LPBROWSEINFOW
HRESULT WINAPI SHGetAttributesFromDataObject(_In_opt_ IDataObject *pdo, DWORD dwAttributeMask, _Out_opt_ DWORD *pdwAttributes, _Out_opt_ UINT *pcItems)
PIDLIST_RELATIVE WINAPI ILAppendID(_In_opt_ PIDLIST_RELATIVE, _In_ LPCSHITEMID, BOOL)
struct _ITEMSPACING ITEMSPACING
HRESULT WINAPI SHParseDisplayName(_In_ PCWSTR pszName, _In_opt_ IBindCtx *pbc, _Outptr_ PIDLIST_ABSOLUTE *ppidl, _In_ SFGAOF sfgaoIn, _Out_opt_ SFGAOF *psfgaoOut)
HRESULT WINAPI ILLoadFromStream(_In_ LPSTREAM, _Inout_ PIDLIST_RELATIVE *)
UINT WINAPI Shell_MergeMenus(_In_ HMENU hmDst, _In_ HMENU hmSrc, UINT uInsert, UINT uIDAdjust, UINT uIDAdjustMax, ULONG uFlags)
int WINAPI RealDriveType(int, BOOL)
PITEMID_CHILD WINAPI ILCloneFirst(_In_ PCUIDLIST_RELATIVE)
INT WINAPI PickIconDlg(_In_opt_ HWND, _Inout_updates_(cchIconPath) LPWSTR, UINT cchIconPath, _Inout_opt_ int *)
struct _TBINFO TBINFO
static const WCHAR CFSTR_NETRESOURCESW[]
Definition: shlobj.h:510
HRESULT WINAPI CIDLData_CreateFromIDArray(_In_ PCIDLIST_ABSOLUTE pidlFolder, _In_ UINT cidl, _In_reads_opt_(cidl) PCUIDLIST_RELATIVE_ARRAY apidl, _Outptr_ IDataObject **ppdtobj)
HRESULT WINAPI SHStartNetConnectionDialog(HWND, LPCSTR, DWORD)
Definition: shellord.c:2610
BOOL WINAPI WriteCabinetState(_In_ CABINETSTATE *)
LRESULT WINAPI SHShellFolderView_Message(_In_ HWND hwndCabinet, UINT uMessage, LPARAM lParam)
BOOL WINAPI ReadCabinetState(_Out_writes_bytes_(cLength) CABINETSTATE *, int cLength)
HRESULT WINAPI SHDoDragDrop(_In_opt_ HWND, _In_ IDataObject *, _In_opt_ IDropSource *, _In_ DWORD, _Out_ LPDWORD)
HRESULT WINAPI SHOpenWithDialog(_In_opt_ HWND hwndParent, _In_ const OPENASINFO *poainfo)
_Check_return_ HRESULT WINAPI SHGetSpecialFolderLocation(_Reserved_ HWND hwndOwner, _In_ int nFolder, _Outptr_ PIDLIST_ABSOLUTE *ppidl)
int GPFIDL_FLAGS
Definition: shlobj.h:111
HINSTANCE WINAPI SHGetShellStyleHInstance(VOID)
Definition: utils.cpp:692
void WINAPI SHFree(_In_opt_ LPVOID)
HRESULT WINAPI SHStartNetConnectionDialogW(_In_ HWND hwnd, _In_ LPCWSTR pszRemoteName, _In_ DWORD dwType)
Definition: stubs.cpp:599
BOOL WINAPI DAD_DragEnterEx(HWND, POINT)
Definition: shellord.c:1754
BOOL WINAPI SHOpenPropSheetW(_In_opt_ LPCWSTR pszCaption, _In_opt_ HKEY *ahKeys, _In_ UINT cKeys, _In_ const CLSID *pclsidDefault, _In_ IDataObject *pDataObject, _In_opt_ IShellBrowser *pShellBrowser, _In_opt_ LPCWSTR pszStartPage)
Definition: propsheet.cpp:169
SHELL_LINK_DATA_FLAGS
Definition: shlobj.h:1942
@ SLDF_PREFER_ENVIRONMENT_PATH
Definition: shlobj.h:1973
@ SLDF_DISABLE_KNOWNFOLDER_RELATIVE_TRACKING
Definition: shlobj.h:1968
@ SLDF_HAS_RELPATH
Definition: shlobj.h:1947
@ SLDF_ALLOW_LINK_TO_LINK
Definition: shlobj.h:1971
@ SLDF_UNALIAS_ON_SAVE
Definition: shlobj.h:1972
@ SLDF_HAS_EXP_SZ
Definition: shlobj.h:1953
@ SLDF_DISABLE_LINK_PATH_TRACKING
Definition: shlobj.h:1967
@ SLDF_HAS_ID_LIST
Definition: shlobj.h:1944
@ SLDF_NO_KF_ALIAS
Definition: shlobj.h:1970
@ SLDF_PERSIST_VOLUME_ID_RELATIVE
Definition: shlobj.h:1976
@ SLDF_FORCE_NO_LINKTRACK
Definition: shlobj.h:1965
@ SLDF_HAS_DARWINID
Definition: shlobj.h:1958
@ SLDF_RUN_IN_SEPARATE
Definition: shlobj.h:1954
@ SLDF_ENABLE_TARGET_METADATA
Definition: shlobj.h:1966
@ SLDF_HAS_LINK_INFO
Definition: shlobj.h:1945
@ SLDF_HAS_WORKINGDIR
Definition: shlobj.h:1948
@ SLDF_RESERVED
Definition: shlobj.h:1985
@ SLDF_HAS_ARGS
Definition: shlobj.h:1949
@ SLDF_FORCE_NO_LINKINFO
Definition: shlobj.h:1952
@ SLDF_NO_PIDL_ALIAS
Definition: shlobj.h:1961
@ SLDF_HAS_EXP_ICON_SZ
Definition: shlobj.h:1960
@ SLDF_DEFAULT
Definition: shlobj.h:1943
@ SLDF_RUNAS_USER
Definition: shlobj.h:1959
@ SLDF_UNICODE
Definition: shlobj.h:1951
@ SLDF_RUN_WITH_SHIMLAYER
Definition: shlobj.h:1963
@ SLDF_VALID
Definition: shlobj.h:1977
@ SLDF_KEEP_LOCAL_IDLIST_FOR_UNC_TARGET
Definition: shlobj.h:1974
@ SLDF_HAS_ICONLOCATION
Definition: shlobj.h:1950
@ SLDF_FORCE_UNCNAME
Definition: shlobj.h:1962
@ SLDF_HAS_NAME
Definition: shlobj.h:1946
struct _CSFV * LPCSFV
struct SHFOLDERCUSTOMSETTINGSW * LPSHFOLDERCUSTOMSETTINGSW
static const WCHAR CFSTR_SHELLURLW[]
Definition: shlobj.h:522
tagOPEN_AS_INFO_FLAGS
Definition: shlobj.h:2679
@ OAIF_EXEC
Definition: shlobj.h:2682
@ OAIF_REGISTER_EXT
Definition: shlobj.h:2681
@ OAIF_ALLOW_REGISTRATION
Definition: shlobj.h:2680
@ OAIF_URL_PROTOCOL
Definition: shlobj.h:2686
@ OAIF_HIDE_REGISTRATION
Definition: shlobj.h:2685
@ OAIF_FORCE_REGISTRATION
Definition: shlobj.h:2683
KNOWN_FOLDER_FLAG
Definition: shlobj.h:97
@ KF_FLAG_NO_APPCONTAINER_REDIRECTION
Definition: shlobj.h:107
@ KF_FLAG_NOT_PARENT_RELATIVE
Definition: shlobj.h:100
@ KF_FLAG_NO_ALIAS
Definition: shlobj.h:103
@ KF_FLAG_SIMPLE_IDLIST
Definition: shlobj.h:99
@ KF_FLAG_DONT_UNEXPAND
Definition: shlobj.h:104
@ KF_FLAG_DONT_VERIFY
Definition: shlobj.h:105
@ KF_FLAG_CREATE
Definition: shlobj.h:106
@ KF_FLAG_INIT
Definition: shlobj.h:102
@ KF_FLAG_DEFAULT
Definition: shlobj.h:98
@ KF_FLAG_ALIAS_ONLY
Definition: shlobj.h:108
HRESULT WINAPI SHLoadOLE(LPARAM)
Definition: shellord.c:1920
HPSXA WINAPI SHCreatePropSheetExtArray(_In_ HKEY, _In_opt_ LPCWSTR, UINT)
BOOL WINAPI DAD_SetDragImage(HIMAGELIST, LPPOINT)
Definition: shellord.c:1783
HRESULT WINAPI SHGetRealIDL(_In_ IShellFolder *psf, _In_ PCUITEMID_CHILD pidlSimple, _Outptr_ PITEMID_CHILD *ppidlReal)
Definition: utils.cpp:1305
int WINAPI SHCreateDirectoryExA(_In_opt_ HWND, _In_ LPCSTR, _In_opt_ LPSECURITY_ATTRIBUTES)
static const WCHAR CFSTR_FILENAMEW[]
Definition: shlobj.h:516
LONG WINAPI PathProcessCommand(_In_ LPCWSTR, _Out_writes_(cchDest) LPWSTR, int cchDest, DWORD)
HRESULT WINAPI SHCreateShellItem(_In_opt_ PCIDLIST_ABSOLUTE, _In_opt_ IShellFolder *, _In_ PCUITEMID_CHILD, _Outptr_ IShellItem **)
static const WCHAR CFSTR_SHELLIDLISTOFFSETW[]
Definition: shlobj.h:508
HRESULT WINAPI SHDefExtractIconW(_In_ LPCWSTR pszIconFile, int iIndex, UINT uFlags, _Out_opt_ HICON *phiconLarge, _Out_opt_ HICON *phiconSmall, UINT nIconSize)
BOOL WINAPI ILRemoveLastID(_Inout_opt_ PUIDLIST_RELATIVE)
BOOL WINAPI PathIsSlowA(_In_ LPCSTR pszFile, _In_ DWORD dwAttr)
Definition: utils.cpp:492
_Check_return_ HRESULT WINAPI SHGetDesktopFolder(_Outptr_ IShellFolder **)
static const WCHAR CFSTR_INDRAGLOOPW[]
Definition: shlobj.h:532
PUITEMID_CHILD WINAPI ILFindLastID(_In_ PCUIDLIST_RELATIVE)
static const WCHAR CFSTR_PRINTERGROUPW[]
Definition: shlobj.h:520
BOOL WINAPI IsUserAnAdmin(void)
Definition: shellord.c:2807
HRESULT WINAPI SHGetFolderPathAndSubDirW(_Reserved_ HWND, _In_ int, _In_opt_ HANDLE, _In_ DWORD, _In_opt_ LPCWSTR, _Out_writes_(MAX_PATH) LPWSTR)
PIDLIST_ABSOLUTE WINAPI SHBrowseForFolderA(_In_ LPBROWSEINFOA lpbi)
void WINAPI SHAddToRecentDocs(UINT, _In_opt_ LPCVOID)
HRESULT WINAPI SHGetFolderPathA(_Reserved_ HWND hwnd, _In_ int nFolder, _In_opt_ HANDLE hToken, _In_ DWORD dwFlags, _Out_writes_(MAX_PATH) LPSTR pszPath)
HRESULT WINAPI SHCreateShellFolderView(_In_ const SFV_CREATE *pscfv, _Outptr_ IShellView **ppsv)
BOOL WINAPI SHChangeNotification_Unlock(_In_ HANDLE hLock)
int OPEN_AS_INFO_FLAGS
Definition: shlobj.h:2689
struct _QCMINFO_IDMAP QCMINFO_IDMAP
BOOL WINAPI DAD_AutoScroll(HWND, AUTO_SCROLL_DATA *, const POINT *)
Definition: shellord.c:1736
BOOL WINAPI ILIsParent(_In_ PCIDLIST_ABSOLUTE, _In_ PCIDLIST_ABSOLUTE, BOOL)
HRESULT WINAPI SHSetFolderPathW(_In_ INT csidl, _In_ HANDLE hToken, _In_ DWORD dwFlags, _In_ LPCWSTR pszPath)
Definition: stubs.cpp:867
HRESULT WINAPI SHGetFolderPathW(_Reserved_ HWND hwnd, _In_ int nFolder, _In_opt_ HANDLE hToken, _In_ DWORD dwFlags, _Out_writes_(MAX_PATH) LPWSTR pszPath)
VOID WINAPI SHUpdateImageW(_In_ LPCWSTR, INT, UINT, INT)
void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID dwItem2)
VOID WINAPI SHGetSetSettings(LPSHELLSTATE lpss, DWORD dwMask, BOOL bSet)
Definition: shellord.c:225
void WINAPI SHDestroyPropSheetExtArray(_In_ HPSXA)
int WINAPI IsNetDrive(int)
Definition: shlfileop.cpp:2215
BOOL WINAPI DAD_DragMove(POINT)
Definition: shellord.c:1763
HRESULT WINAPI SHCreateQueryCancelAutoPlayMoniker(IMoniker **)
Definition: shellole.c:806
HRESULT WINAPI CDefFolderMenu_Create2(_In_opt_ PCIDLIST_ABSOLUTE, _In_opt_ HWND, UINT cidl, _In_reads_opt_(cidl) PCUITEMID_CHILD_ARRAY, _In_opt_ IShellFolder *, _In_opt_ LPFNDFMCALLBACK, UINT nKeys, _In_reads_opt_(nKeys) const HKEY *, _Outptr_ IContextMenu **)
BOOL WINAPI ILIsEqual(_In_ PCIDLIST_ABSOLUTE, _In_ PCIDLIST_ABSOLUTE)
struct _FILEGROUPDESCRIPTORW * LPFILEGROUPDESCRIPTORW
struct _SFVM_PROPPAGE_DATA SFVM_PROPPAGE_DATA
static BOOL ILIsEmpty(_In_opt_ PCUIDLIST_RELATIVE pidl)
Definition: shlobj.h:2519
PIDLIST_ABSOLUTE WINAPI ILCreateFromPathA(_In_ PCSTR)
static const WCHAR CFSTR_MOUNTEDVOLUMEW[]
Definition: shlobj.h:536
struct SHELLSTATE * LPSHELLSTATE
BOOL WINAPI SHRunControlPanel(_In_ LPCWSTR commandLine, _In_opt_ HWND parent)
Definition: shellord.c:1661
VOID WINAPI PathGetShortPath(_Inout_updates_(MAX_PATH) LPWSTR pszPath)
int WINAPI RestartDialog(_In_opt_ HWND, _In_opt_ LPCWSTR, DWORD)
HRESULT WINAPI SHCoCreateInstance(_In_opt_ LPCWSTR, _In_opt_ const CLSID *, _In_opt_ IUnknown *, _In_ REFIID, _Outptr_ LPVOID *)
PIDLIST_ABSOLUTE WINAPI SHSimpleIDListFromPath(PCWSTR)
PIDLIST_ABSOLUTE WINAPI ILCreateFromPathW(_In_ PCWSTR)
VOID WINAPI SHSetInstanceExplorer(_In_opt_ IUnknown *)
static const WCHAR CFSTR_FILEDESCRIPTORW[]
Definition: shlobj.h:512
static const WCHAR CFSTR_PERSISTEDDATAOBJECTW[]
Definition: shlobj.h:538
HRESULT WINAPI SHGetDataFromIDListW(_In_ LPSHELLFOLDER psf, _In_ PCUITEMID_CHILD pidl, int nFormat, _Out_writes_bytes_(cb) LPVOID pv, int cb)
HPSXA WINAPI SHCreatePropSheetExtArrayEx(HKEY, LPCWSTR, UINT, IDataObject *)
struct tagBROWSEINFOW BROWSEINFOW
BOOL WINAPI SHChangeNotifyDeregister(ULONG ulID)
HRESULT WINAPI SHLimitInputEdit(_In_ HWND hwnd, _In_ IShellFolder *folder)
static const WCHAR CFSTR_LOGICALPERFORMEDDROPEFFECTW[]
Definition: shlobj.h:545
int WINAPI SHCreateDirectoryExW(_In_opt_ HWND, _In_ LPCWSTR, _In_opt_ LPSECURITY_ATTRIBUTES)
struct tagDATABLOCKHEADER * LPDBLIST
static const WCHAR CFSTR_AUTOPLAY_SHELLIDLISTSW[]
Definition: shlobj.h:542
static const WCHAR CFSTR_INETURLW[]
Definition: shlobj.h:524
LRESULT WINAPI CallCPLEntry16(HINSTANCE hMod, FARPROC16 pFunc, HWND dw3, UINT dw4, LPARAM dw5, LPARAM dw6)
struct NT_FE_CONSOLE_PROPS * LPNT_FE_CONSOLE_PROPS
#define KF_FLAG_DEFAULT_PATH
Definition: shlobj.h:325
struct _SFV_CREATE SFV_CREATE
static const WCHAR CFSTR_FILENAMEMAPW[]
Definition: shlobj.h:518
HRESULT WINAPI SHCreateFileExtractIconW(_In_ LPCWSTR pszFile, _In_ DWORD dwFileAttributes, _In_ REFIID riid, _Outptr_ void **ppv)
static const WCHAR CFSTR_TARGETCLSIDW[]
Definition: shlobj.h:540
HANDLE WINAPI SHChangeNotification_Lock(_In_ HANDLE hChangeNotification, DWORD dwProcessId, _Outptr_opt_result_buffer_(2) _Outptr_opt_result_buffer_(2) PIDLIST_ABSOLUTE **pppidl, _Out_opt_ LONG *plEvent)
HRESULT WINAPI SHGetFolderLocation(_Reserved_ HWND hwndOwner, _In_ int nFolder, _In_opt_ HANDLE hToken, _In_ DWORD dwReserved, _Outptr_ PIDLIST_ABSOLUTE *ppidl)
static const WCHAR CFSTR_DRAGCONTEXTW[]
Definition: shlobj.h:534
HRESULT(CALLBACK * LPFNDFMCALLBACK)(_In_opt_ IShellFolder *, _In_opt_ HWND, _In_opt_ IDataObject *, UINT, WPARAM, LPARAM)
Definition: shlobj.h:2568
PIDLIST_ABSOLUTE WINAPI SHCloneSpecialIDList(_Reserved_ HWND hwnd, _In_ int csidl, _In_ BOOL fCreate)
INT(CALLBACK * BFFCALLBACK)(HWND, UINT, LPARAM, LPARAM)
Definition: shlobj.h:1184
RESTRICTIONS
Definition: shlobj.h:1641
@ REST_NOUPNPINSTALL
Definition: shlobj.h:1857
@ REST_PROMPTRUNASINSTALLNETPATH
Definition: shlobj.h:1730
@ REST_BITBUCKCONFIRMDELETE
Definition: shlobj.h:1809
@ REST_ALLOWUNHASHEDWEBVIEW
Definition: shlobj.h:1826
@ REST_RUNDLGMEMCHECKBOX
Definition: shlobj.h:1705
@ REST_NODISPSETTINGSPG
Definition: shlobj.h:1813
@ REST_DONTSHOWSUPERHIDDEN
Definition: shlobj.h:1726
@ REST_NOFOLDEROPTIONS
Definition: shlobj.h:1702
@ REST_STARTBANNER
Definition: shlobj.h:1655
@ REST_ARP_DONTGROUPPATCHES
Definition: shlobj.h:1861
@ REST_NOPUBLISHWIZARD
Definition: shlobj.h:1821
@ REST_NOSMMYMUSIC
Definition: shlobj.h:1788
@ REST_NOFILEASSOCIATE
Definition: shlobj.h:1868
@ REST_NOSMNETWORKPLACES
Definition: shlobj.h:1786
@ REST_NOPRINTERTABS
Definition: shlobj.h:1657
@ REST_MYDOCSONNET
Definition: shlobj.h:1661
@ REST_NORUNASINSTALLPROMPT
Definition: shlobj.h:1729
@ REST_NOCUSTOMIZEWEBVIEW
Definition: shlobj.h:1681
@ REST_NOSETACTIVEDESKTOP
Definition: shlobj.h:1699
@ REST_NOENCRYPTONMOVE
Definition: shlobj.h:1742
@ REST_NOCURRENTUSERRUNONCE
Definition: shlobj.h:1746
@ REST_ARP_ShowPostSetup
Definition: shlobj.h:1706
@ REST_NOMOVINGBAND
Definition: shlobj.h:1690
@ REST_CLASSICSHELL
Definition: shlobj.h:1680
@ REST_NOTHEMESTAB
Definition: shlobj.h:1774
@ REST_NOSETTINGSASSIST
Definition: shlobj.h:1672
@ REST_NOCLOSE_DRAGDROPBAND
Definition: shlobj.h:1689
@ REST_DISALLOWCPL
Definition: shlobj.h:1738
@ REST_DONTRETRYBADNETNAME
Definition: shlobj.h:1855
@ REST_FORCESTARTMENULOGOFF
Definition: shlobj.h:1719
@ REST_NOWEB
Definition: shlobj.h:1667
@ REST_NOENUMENTIRENETWORK
Definition: shlobj.h:1845
@ REST_MaxRecentDocs
Definition: shlobj.h:1717
@ REST_NONETCRAWL
Definition: shlobj.h:1753
@ REST_NOENCRYPTION
Definition: shlobj.h:1722
@ REST_NOSAVESET
Definition: shlobj.h:1645
@ REST_ARP_NOADDPAGE
Definition: shlobj.h:1712
@ REST_NOSIZECHOICE
Definition: shlobj.h:1776
@ REST_NODESKCOMP
Definition: shlobj.h:1685
@ REST_NOTHUMBNAILCACHE
Definition: shlobj.h:1817
@ REST_NOSETFOLDERS
Definition: shlobj.h:1647
@ REST_INHERITCONSOLEHANDLES
Definition: shlobj.h:1833
@ REST_NOCONTROLPANEL
Definition: shlobj.h:1708
@ REST_NOCOMMONGROUPS
Definition: shlobj.h:1665
@ REST_NOPRINTERADD
Definition: shlobj.h:1659
@ REST_NOSTARTPANEL
Definition: shlobj.h:1772
@ REST_NONETCONNECTDISCONNECT
Definition: shlobj.h:1670
@ REST_BITBUCKNOPROP
Definition: shlobj.h:1810
@ REST_HIDECLOCK
Definition: shlobj.h:1802
@ REST_NOCONTROLPANELBARRICADE
Definition: shlobj.h:1761
@ REST_NOSMMYPICS
Definition: shlobj.h:1758
@ REST_NOFORGETSOFTWAREUPDATE
Definition: shlobj.h:1698
@ REST_NOSTARTPAGE
Definition: shlobj.h:1762
@ REST_BITBUCKNUKEONDELETE
Definition: shlobj.h:1808
@ REST_ALLOWLEGACYWEBVIEW
Definition: shlobj.h:1828
@ REST_NOCUSTOMIZETHISFOLDER
Definition: shlobj.h:1721
@ REST_NOTOOLBARSONTASKBAR
Definition: shlobj.h:1793
@ REST_NODRIVEAUTORUN
Definition: shlobj.h:1652
@ REST_HIDERUNASVERB
Definition: shlobj.h:1816
@ REST_NODISPLAYCPL
Definition: shlobj.h:1815
@ REST_NOREMOTERECURSIVEEVENTS
Definition: shlobj.h:1838
@ REST_NOSMPINNEDLIST
Definition: shlobj.h:1787
@ REST_NOSMMFUPROGRAMS
Definition: shlobj.h:1791
@ REST_NOWINKEYS
Definition: shlobj.h:1741
@ REST_NOCHANGEMAPPEDDRIVELABEL
Definition: shlobj.h:1715
@ REST_NOMANAGEMYCOMPUTERVERB
Definition: shlobj.h:1731
@ REST_NOTRAYCONTEXTMENU
Definition: shlobj.h:1668
@ REST_NOCDBURNING
Definition: shlobj.h:1765
@ REST_MYCOMPNOPROP
Definition: shlobj.h:1768
@ REST_NOUSERNAMEINSTARTPANEL
Definition: shlobj.h:1784
@ REST_ENUMWORKGROUP
Definition: shlobj.h:1709
@ REST_NOCHANGESTARMENU
Definition: shlobj.h:1701
@ REST_NOVISUALSTYLECHOICE
Definition: shlobj.h:1775
@ REST_NODESKTOPCLEANUP
Definition: shlobj.h:1807
@ REST_SETVISUALSTYLE
Definition: shlobj.h:1778
@ REST_NOEXITTODOS
Definition: shlobj.h:1662
@ REST_NORECENTDOCSHISTORY
Definition: shlobj.h:1674
@ REST_SEPARATEDESKTOPPROCESS
Definition: shlobj.h:1666
@ REST_STARTMENULOGOFF
Definition: shlobj.h:1671
@ REST_NOSMBALLOONTIP
Definition: shlobj.h:1739
@ REST_NOAUTOTRAYNOTIFY
Definition: shlobj.h:1763
@ REST_NOTRAYITEMSDISPLAY
Definition: shlobj.h:1792
@ REST_NOWEBSERVICES
Definition: shlobj.h:1823
@ REST_ARP_NOREMOVEPAGE
Definition: shlobj.h:1711
@ REST_NOVIEWCONTEXTMENU
Definition: shlobj.h:1669
@ REST_NOSMCONFIGUREPROGRAMS
Definition: shlobj.h:1799
@ REST_NOLOCALMACHINERUNONCE
Definition: shlobj.h:1745
@ REST_NOACTIVEDESKTOPCHANGES
Definition: shlobj.h:1677
@ REST_ARP_NOWINSETUPPAGE
Definition: shlobj.h:1713
@ REST_NOWEBVIEW
Definition: shlobj.h:1720
@ REST_NOREMOTECHANGENOTIFY
Definition: shlobj.h:1841
@ REST_NOSHELLSEARCHBUTTON
Definition: shlobj.h:1727
@ REST_NOSTRCMPLOGICAL
Definition: shlobj.h:1820
@ REST_NOONLINEPRINTSWIZARD
Definition: shlobj.h:1822
@ REST_NODISPBACKGROUND
Definition: shlobj.h:1811
@ REST_NOLOCALMACHINERUN
Definition: shlobj.h:1743
@ REST_GREYMSIADS
Definition: shlobj.h:1714
@ REST_NODELDESKCOMP
Definition: shlobj.h:1687
@ REST_NOSMEJECTPC
Definition: shlobj.h:1789
@ REST_ARP_NOCHOOSEPROGRAMSPAGE
Definition: shlobj.h:1862
@ REST_NOWELCOMESCREEN
Definition: shlobj.h:1736
@ REST_NORESOLVETRACK
Definition: shlobj.h:1693
@ REST_NOCHANGEMAPPEDDRIVECOMMENT
Definition: shlobj.h:1716
@ REST_NOACTIVEDESKTOP
Definition: shlobj.h:1676
@ REST_NOCLOSEDESKCOMP
Definition: shlobj.h:1688
@ REST_REVERTWEBVIEWSECURITY
Definition: shlobj.h:1830
@ REST_RESTRICTCPL
Definition: shlobj.h:1737
@ REST_NONETWORKCONNECTIONS
Definition: shlobj.h:1718
@ REST_NOLOWDISKSPACECHECKS
Definition: shlobj.h:1803
@ REST_NOUPDATEWINDOWS
Definition: shlobj.h:1700
@ REST_NOSECURITY
Definition: shlobj.h:1867
@ REST_RESTRICTRUN
Definition: shlobj.h:1656
@ REST_NOSMMOREPROGRAMS
Definition: shlobj.h:1790
@ REST_NOINTERNETICON
Definition: shlobj.h:1673
@ REST_NOSMMYDOCS
Definition: shlobj.h:1756
@ REST_NORECENTDOCSMENU
Definition: shlobj.h:1675
@ REST_NOSETTASKBAR
Definition: shlobj.h:1648
@ REST_NOCHANGINGWALLPAPER
Definition: shlobj.h:1684
@ REST_NOVIEWONDRIVE
Definition: shlobj.h:1751
@ REST_NOPRINTERDELETE
Definition: shlobj.h:1658
@ REST_ALLOWFILECLSIDJUNCTIONS
Definition: shlobj.h:1856
@ REST_NOSTARTMENUSUBFOLDERS
Definition: shlobj.h:1660
@ REST_NOEDITDESKCOMP
Definition: shlobj.h:1691
@ REST_FORCECOPYACLWITHFILE
Definition: shlobj.h:1694
@ REST_NOTASKGROUPING
Definition: shlobj.h:1764
@ REST_NODISPSCREENSAVEPG
Definition: shlobj.h:1812
@ REST_LINKRESOLVEIGNORELINKINFO
Definition: shlobj.h:1664
@ REST_NOHTMLWALLPAPER
Definition: shlobj.h:1683
@ REST_NORUN
Definition: shlobj.h:1643
@ REST_NONLEGACYSHELLMODE
Definition: shlobj.h:1760
@ REST_NOFIND
Definition: shlobj.h:1650
@ REST_NONE
Definition: shlobj.h:1642
@ REST_NODRIVES
Definition: shlobj.h:1651
@ REST_NOCURRENTUSERRUN
Definition: shlobj.h:1744
@ REST_INTELLIMENUS
Definition: shlobj.h:1704
@ REST_NODISPLAYAPPEARANCEPAGE
Definition: shlobj.h:1773
@ REST_NODISCONNECT
Definition: shlobj.h:1866
@ REST_NODISPSCREENSAVEPREVIEW
Definition: shlobj.h:1814
@ REST_NOSMHELP
Definition: shlobj.h:1740
@ REST_NOFILEMENU
Definition: shlobj.h:1646
@ REST_ARP_NOARP
Definition: shlobj.h:1710
@ REST_NODRIVETYPEAUTORUN
Definition: shlobj.h:1653
@ REST_STARTRUNNOHOMEPATH
Definition: shlobj.h:1781
@ REST_NOINTERNETOPENWITH
Definition: shlobj.h:1849
@ REST_NOSHAREDDOCUMENTS
Definition: shlobj.h:1754
@ REST_NODESKTOP
Definition: shlobj.h:1649
@ REST_DISALLOWRUN
Definition: shlobj.h:1735
@ REST_CLEARRECENTDOCSONEXIT
Definition: shlobj.h:1679
@ REST_NONETHOOD
Definition: shlobj.h:1654
@ REST_ALLOWBITBUCKDRIVES
Definition: shlobj.h:1759
@ REST_NOCSC
Definition: shlobj.h:1707
@ REST_NORESOLVESEARCH
Definition: shlobj.h:1692
@ REST_ALLOWCOMMENTTOGGLE
Definition: shlobj.h:1871
@ REST_NOCLOSE
Definition: shlobj.h:1644
@ REST_NOADDDESKCOMP
Definition: shlobj.h:1686
@ REST_FORCEACTIVEDESKTOPON
Definition: shlobj.h:1747
@ REST_HASFINDCOMPUTERS
Definition: shlobj.h:1703
@ REST_NOCOLORCHOICE
Definition: shlobj.h:1777
@ REST_NOMYCOMPUTERICON
Definition: shlobj.h:1785
@ REST_NOHARDWARETAB
Definition: shlobj.h:1728
@ REST_MYDOCSNOPROP
Definition: shlobj.h:1769
@ REST_NOFAVORITESMENU
Definition: shlobj.h:1678
@ REST_NOENTIRENETWORK
Definition: shlobj.h:1805
@ REST_ENFORCESHELLEXTSECURITY
Definition: shlobj.h:1663
PUIDLIST_RELATIVE WINAPI ILFindChild(_In_ PIDLIST_ABSOLUTE, _In_ PCIDLIST_ABSOLUTE)
struct EXP_SPECIAL_FOLDER * LPEXP_SPECIAL_FOLDER
PIDLIST_RELATIVE WINAPI ILClone(_In_ PCUIDLIST_RELATIVE)
struct _FILEDESCRIPTORA FILEDESCRIPTORA
static const WCHAR CFSTR_SHELLIDLISTW[]
Definition: shlobj.h:506
HRESULT WINAPI SHSetFolderPathA(_In_ INT csidl, _In_ HANDLE hToken, _In_ DWORD dwFlags, _In_ LPCSTR pszPath)
Definition: utils.cpp:474
struct _SHChangeNotifyEntry SHChangeNotifyEntry
struct _QCMINFO_IDMAP_PLACEMENT QCMINFO_IDMAP_PLACEMENT
BOOL WINAPI DAD_DragLeave(void)
Definition: shellord.c:1772
VOID WINAPI SHUpdateImageA(_In_ LPCSTR, INT, UINT, INT)
void WINAPI ILFree(_In_opt_ PIDLIST_RELATIVE)
struct EXP_SZ_LINK * LPEXP_SZ_LINK
HRESULT WINAPI SHCreateDataObject(_In_opt_ PCIDLIST_ABSOLUTE pidlFolder, _In_ UINT cidl, _In_reads_opt_(cidl) PCUITEMID_CHILD_ARRAY apidl, _In_opt_ IDataObject *pdtInner, _In_ REFIID riid, _Outptr_ void **ppv)
struct _DROPFILES * LPDROPFILES
struct _SFVM_PROPPAGE_DATA * LPSFVM_PROPPAGE_DATA
struct _SHChangeProductKeyAsIDList * LPSHChangeProductKeyAsIDList
HRESULT WINAPI SHDefExtractIconA(_In_ LPCSTR pszIconFile, int iIndex, UINT uFlags, _Out_opt_ HICON *phiconLarge, _Out_opt_ HICON *phiconSmall, UINT nIconSize)
VOID WINAPI SHGetSettings(_Out_ LPSHELLFLAGSTATE lpsfs, DWORD dwMask)
HRESULT WINAPI ILSaveToStream(_In_ LPSTREAM, _In_ PCUIDLIST_RELATIVE)
HRESULT WINAPI SHCreateShellFolderViewEx(_In_ LPCSFV pshfvi, _Outptr_ IShellView **ppshv)
DWORD WINAPI SHRestricted(RESTRICTIONS rest)
Definition: shpolicy.c:150
_Check_return_ HRESULT WINAPI SHGetInstanceExplorer(_Outptr_ IUnknown **)
HRESULT WINAPI SHPathPrepareForWriteA(_In_opt_ HWND, _In_opt_ IUnknown *, _In_ LPCSTR, DWORD)
DWORD WINAPI SHFormatDrive(_In_ HWND, UINT, UINT, UINT)
ULONG WINAPI SHChangeNotifyRegister(_In_ HWND hwnd, int fSources, LONG fEvents, UINT wMsg, int cEntries, _In_ SHChangeNotifyEntry *pshcne)
_In_ int nFolder
Definition: shlobj.h:1519
static const WCHAR CFSTR_PERFORMEDDROPEFFECTW[]
Definition: shlobj.h:528
FOLDERVIEWMODE
Definition: shobjidl.idl:677
ITEMID_CHILD UNALIGNED * PUITEMID_CHILD
Definition: shtypes.idl:68
const PCUITEMID_CHILD * PCUITEMID_CHILD_ARRAY
Definition: shtypes.idl:71
const ITEMID_CHILD UNALIGNED * PCUITEMID_CHILD
Definition: shtypes.idl:70
const PCUIDLIST_RELATIVE * PCUIDLIST_RELATIVE_ARRAY
Definition: shtypes.idl:58
const ITEMIDLIST_RELATIVE UNALIGNED * PCUIDLIST_RELATIVE
Definition: shtypes.idl:57
const ITEMIDLIST UNALIGNED * LPCITEMIDLIST
Definition: shtypes.idl:42
ITEMIDLIST_RELATIVE UNALIGNED * PUIDLIST_RELATIVE
Definition: shtypes.idl:55
BOOL ApplyChanges(HWND hwndDlg)
Definition: sounds.c:1018
DWORD dwLastScroll
Definition: shlobj.h:2462
COLORREF crBkgnd
Definition: shlobj.h:2796
PIDLIST_ABSOLUTE pidl
Definition: shlobj.h:2802
DWORD dwStateMask
Definition: shlobj.h:2794
DWORD dwMask
Definition: shlobj.h:2793
IShellFolder * psf
Definition: shlobj.h:2801
WORD wAlign
Definition: shlobj.h:2800
COLORREF crBtnLt
Definition: shlobj.h:2797
DWORD dwState
Definition: shlobj.h:2795
WORD wViewMode
Definition: shlobj.h:2799
COLORREF crBtnDk
Definition: shlobj.h:2798
UINT fMenuEnumFilter
Definition: shlobj.h:2398
WORD cLength
Definition: shlobj.h:2385