ReactOS 0.4.15-dev-7654-g6bc40d3
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
113UINT
114WINAPI
116 _In_ HPSXA,
118 LPARAM);
119
121
123WINAPI
126 _In_opt_ const CLSID*,
128 _In_ REFIID,
130
134
136WINAPI
142
145#define SHCLSIDFromString WINELIB_NAME_AW(SHCLSIDFromString)
146
148WINAPI
150 _In_ UINT cfmt,
151 _In_reads_(cfmt) const FORMATETC *,
153
158
159BOOL
160WINAPI
163 _Inout_updates_(cchFilePath) LPWSTR,
164 UINT cchFilePath,
169
171
173
175WINAPI
178 _In_ int,
180 _In_ DWORD,
182
184WINAPI
187 _In_ int,
189 _In_ DWORD,
192
193#define SHGetFolderPathAndSubDir WINELIB_NAME_AW(SHGetFolderPathAndSubDir)
194
197 _In_ INT csidl,
198 _In_ HANDLE hToken,
200 _In_ LPCSTR pszPath);
201
204 _In_ INT csidl,
205 _In_ HANDLE hToken,
207 _In_ LPCWSTR pszPath);
208
209#define SHSetFolderPath WINELIB_NAME_AW(SHSetFolderPath)
210
213 _In_ LPCSTR pszFile,
214 _In_ DWORD dwAttr);
215
218 _In_ LPCWSTR pszFile,
219 _In_ DWORD dwAttr);
220
221#define PathIsSlow WINELIB_NAME_AW(PathIsSlow)
222
223_Success_(return != 0)
224BOOL
225WINAPI
229
230_Success_(return != 0)
231BOOL
232WINAPI
236
237#define SHGetPathFromIDList WINELIB_NAME_AW(SHGetPathFromIDList)
238
240
242WINAPI
244 _In_ PCWSTR,
247
249
251WINAPI
253 _In_ PCWSTR pszName,
254 _In_opt_ IBindCtx* pbc,
256 _In_ SFGAOF sfgaoIn,
257 _Out_opt_ SFGAOF* psfgaoOut);
258
260WINAPI
264 _In_ LPCSTR, DWORD);
265
267WINAPI
272
273#define SHPathPrepareForWrite WINELIB_NAME_AW(SHPathPrepareForWrite)
274
275UINT
276WINAPI
278 _In_ HPSXA,
279 UINT,
281 LPARAM);
282
284
285int
286WINAPI
290 _Out_opt_ int*);
291
295#define SHUpdateImage WINELIB_NAME_AW(SHUpdateImage)
296
297INT
298WINAPI
301 _Inout_updates_(cchIconPath) LPWSTR,
302 UINT cchIconPath,
303 _Inout_opt_ int *);
304
306WINAPI
308 _In_ HWND hwnd,
310
313int WINAPI DriveType(int);
315int WINAPI IsNetDrive(int);
317
318#define KF_FLAG_DEFAULT_PATH 0x00000400
319
320#define SHFMT_ERROR 0xFFFFFFFFL /* Error on last format, drive may be formattable */
321#define SHFMT_CANCEL 0xFFFFFFFEL /* Last format was cancelled */
322#define SHFMT_NOFORMAT 0xFFFFFFFDL /* Drive is not formattable */
323
324/* SHFormatDrive flags */
325#define SHFMT_ID_DEFAULT 0xFFFF
326#define SHFMT_OPT_FULL 1
327#define SHFMT_OPT_SYSONLY 2
328
329/* SHPathPrepareForWrite flags */
330#define SHPPFW_NONE 0x00000000
331#define SHPPFW_DIRCREATE 0x00000001
332#define SHPPFW_DEFAULT SHPPFW_DIRCREATE
333#define SHPPFW_ASKDIRCREATE 0x00000002
334#define SHPPFW_IGNOREFILENAME 0x00000004
335#define SHPPFW_NOWRITECHECK 0x00000008
336#define SHPPFW_MEDIACHECKONLY 0x00000010
337
338/* SHObjectProperties flags */
339#define SHOP_PRINTERNAME 0x01
340#define SHOP_FILEPATH 0x02
341#define SHOP_VOLUMEGUID 0x04
342
343BOOL
344WINAPI
347 _In_ DWORD,
350
352WINAPI
354 _In_ PCIDLIST_ABSOLUTE pidlFolder,
355 _In_ UINT cidl,
357 _In_ DWORD);
358
359#define PCS_FATAL 0x80000000
360#define PCS_REPLACEDCHAR 0x00000001
361#define PCS_REMOVEDCHAR 0x00000002
362#define PCS_TRUNCATED 0x00000004
363#define PCS_PATHTOOLONG 0x00000008
364
366
367#if (_WIN32_WINNT >= _WIN32_WINNT_WINXP) && (_WIN32_WINNT <= _WIN32_WINNT_WS03)
369#endif
370
373 _In_opt_ LPCSTR pszCaption,
374 _In_opt_ HKEY *ahKeys,
375 _In_ UINT cKeys,
376 _In_ const CLSID *pclsidDefault,
377 _In_ IDataObject *pDataObject,
378 _In_opt_ IShellBrowser *pShellBrowser,
379 _In_opt_ LPCSTR pszStartPage);
380
383 _In_opt_ LPCWSTR pszCaption,
384 _In_opt_ HKEY *ahKeys,
385 _In_ UINT cKeys,
386 _In_ const CLSID *pclsidDefault,
387 _In_ IDataObject *pDataObject,
388 _In_opt_ IShellBrowser *pShellBrowser,
389 _In_opt_ LPCWSTR pszStartPage);
390
391#define SHOpenPropSheet WINELIB_NAME_AW(SHOpenPropSheet)
392
395 _In_ HWND hwnd,
396 _In_ LPCSTR pszRemoteName,
397 _In_ DWORD dwType);
398
401 _In_ HWND hwnd,
402 _In_ LPCWSTR pszRemoteName,
403 _In_ DWORD dwType);
404
405/*****************************************************************************
406 * IContextMenu interface
407 */
408
409
410/* DATAOBJECT_InitShellIDList*/
411#define CFSTR_SHELLIDLISTA "Shell IDList Array" /* CF_IDLIST */
412#define CFSTR_SHELLIDLISTOFFSETA "Shell Object Offsets" /* CF_OBJECTPOSITIONS */
413#define CFSTR_NETRESOURCESA "Net Resource" /* CF_NETRESOURCE */
414/* DATAOBJECT_InitFileGroupDesc */
415#define CFSTR_FILEDESCRIPTORA "FileGroupDescriptor" /* CF_FILEGROUPDESCRIPTORA */
416/* DATAOBJECT_InitFileContents*/
417#define CFSTR_FILECONTENTSA "FileContents" /* CF_FILECONTENTS */
418#define CFSTR_FILENAMEA "FileName" /* CF_FILENAMEA */
419#define CFSTR_FILENAMEMAPA "FileNameMap" /* CF_FILENAMEMAPA */
420#define CFSTR_PRINTERGROUPA "PrinterFriendlyName" /* CF_PRINTERS */
421#define CFSTR_SHELLURLA "UniformResourceLocator"
422#define CFSTR_INETURLA CFSTR_SHELLURLA
423#define CFSTR_PREFERREDDROPEFFECTA "Preferred DropEffect"
424#define CFSTR_PERFORMEDDROPEFFECTA "Performed DropEffect"
425#define CFSTR_PASTESUCCEEDEDA "Paste Succeeded"
426#define CFSTR_INDRAGLOOPA "InShellDragLoop"
427#define CFSTR_DRAGCONTEXTA "DragContext"
428#define CFSTR_MOUNTEDVOLUMEA "MountedVolume"
429#define CFSTR_PERSISTEDDATAOBJECTA "PersistedDataObject"
430#define CFSTR_TARGETCLSIDA "TargetCLSID"
431#define CFSTR_AUTOPLAY_SHELLIDLISTSA "Autoplay Enumerated IDList Array"
432#define CFSTR_LOGICALPERFORMEDDROPEFFECTA "Logical Performed DropEffect"
433
434#if defined(__GNUC__)
435# define CFSTR_SHELLIDLISTW \
436 (const WCHAR []){ 'S','h','e','l','l',' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 }
437# define CFSTR_SHELLIDLISTOFFSETW \
438 (const WCHAR []){ 'S','h','e','l','l',' ','O','b','j','e','c','t',' ','O','f','f','s','e','t','s',0 }
439# define CFSTR_NETRESOURCESW \
440 (const WCHAR []){ 'N','e','t',' ','R','e','s','o','u','r','c','e',0 }
441# define CFSTR_FILEDESCRIPTORW \
442 (const WCHAR []){ 'F','i','l','e','G','r','o','u','p','D','e','s','c','r','i','p','t','o','r','W',0 }
443# define CFSTR_FILECONTENTSW \
444 (const WCHAR []){ 'F','i','l','e','C','o','n','t','e','n','t','s',0 }
445# define CFSTR_FILENAMEW \
446 (const WCHAR []){ 'F','i','l','e','N','a','m','e','W',0 }
447# define CFSTR_FILENAMEMAPW \
448 (const WCHAR []){ 'F','i','l','e','N','a','m','e','M','a','p','W',0 }
449# define CFSTR_PRINTERGROUPW \
450 (const WCHAR []){ 'P','r','i','n','t','e','r','F','r','i','e','n','d','l','y','N','a','m','e',0 }
451# define CFSTR_SHELLURLW \
452 (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 }
453# define CFSTR_INETURLW \
454 (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 }
455# define CFSTR_PREFERREDDROPEFFECTW \
456 (const WCHAR []){ 'P','r','e','f','e','r','r','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 }
457# define CFSTR_PERFORMEDDROPEFFECTW \
458 (const WCHAR []){ 'P','e','r','f','o','r','m','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 }
459# define CFSTR_PASTESUCCEEDEDW \
460 (const WCHAR []){ 'P','a','s','t','e',' ','S','u','c','c','e','e','d','e','d',0 }
461# define CFSTR_INDRAGLOOPW \
462 (const WCHAR []){ 'I','n','S','h','e','l','l','D','r','a','g','L','o','o','p',0 }
463# define CFSTR_DRAGCONTEXTW \
464 (const WCHAR []){ 'D','r','a','g','C','o','n','t','e','x','t',0 }
465# define CFSTR_MOUNTEDVOLUMEW \
466 (const WCHAR []){ 'M','o','u','n','t','e','d','V','o','l','u','m','e',0 }
467# define CFSTR_PERSISTEDDATAOBJECTW \
468 (const WCHAR []){ 'P','e','r','s','i','s','t','e','d','D','a','t','a','O','b','j','e','c','t',0 }
469# define CFSTR_TARGETCLSIDW \
470 (const WCHAR []){ 'T','a','r','g','e','t','C','L','S','I','D',0 }
471# define CFSTR_AUTOPLAY_SHELLIDLISTSW \
472 (const WCHAR []){ 'A','u','t','o','p','l','a','y',' ','E','n','u','m','e','r','a','t','e','d',\
473 ' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 }
474# define CFSTR_LOGICALPERFORMEDDROPEFFECTW \
475 (const WCHAR []){ 'L','o','g','i','c','a','l',' ','P','e','r','f','o','r','m','e','d',\
476 ' ','D','r','o','p','E','f','f','e','c','t',0 }
477#elif defined(_MSC_VER)
478# define CFSTR_SHELLIDLISTW L"Shell IDList Array"
479# define CFSTR_SHELLIDLISTOFFSETW L"Shell Object Offsets"
480# define CFSTR_NETRESOURCESW L"Net Resource"
481# define CFSTR_FILEDESCRIPTORW L"FileGroupDescriptorW"
482# define CFSTR_FILECONTENTSW L"FileContents"
483# define CFSTR_FILENAMEW L"FileNameW"
484# define CFSTR_FILENAMEMAPW L"FileNameMapW"
485# define CFSTR_PRINTERGROUPW L"PrinterFriendlyName"
486# define CFSTR_SHELLURLW L"UniformResourceLocator"
487# define CFSTR_INETURLW L"UniformResourceLocatorW"
488# define CFSTR_PREFERREDDROPEFFECTW L"Preferred DropEffect"
489# define CFSTR_PERFORMEDDROPEFFECTW L"Performed DropEffect"
490# define CFSTR_PASTESUCCEEDEDW L"Paste Succeeded"
491# define CFSTR_INDRAGLOOPW L"InShellDragLoop"
492# define CFSTR_DRAGCONTEXTW L"DragContext"
493# define CFSTR_MOUNTEDVOLUMEW L"MountedVolume"
494# define CFSTR_PERSISTEDDATAOBJECTW L"PersistedDataObject"
495# define CFSTR_TARGETCLSIDW L"TargetCLSID"
496# define CFSTR_AUTOPLAY_SHELLIDLISTSW L"Autoplay Enumerated IDList Array"
497# define CFSTR_LOGICALPERFORMEDDROPEFFECTW L"Logical Performed DropEffect"
498#else
499static const WCHAR CFSTR_SHELLIDLISTW[] =
500 { 'S','h','e','l','l',' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 };
502 { 'S','h','e','l','l',' ','O','b','j','e','c','t',' ','O','f','f','s','e','t','s',0 };
504 { 'N','e','t',' ','R','e','s','o','u','r','c','e',0 };
506 { 'F','i','l','e','G','r','o','u','p','D','e','s','c','r','i','p','t','o','r','W',0 };
508 { 'F','i','l','e','C','o','n','t','e','n','t','s',0 };
509static const WCHAR CFSTR_FILENAMEW[] =
510 { 'F','i','l','e','N','a','m','e','W',0 };
511static const WCHAR CFSTR_FILENAMEMAPW[] =
512 { 'F','i','l','e','N','a','m','e','M','a','p','W',0 };
514 { 'P','r','i','n','t','e','r','F','r','i','e','n','d','l','y','N','a','m','e',0 };
515static const WCHAR CFSTR_SHELLURLW[] =
516 { 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r',0 };
517static const WCHAR CFSTR_INETURLW[] =
518 { 'U','n','i','f','o','r','m','R','e','s','o','u','r','c','e','L','o','c','a','t','o','r','W',0 };
520 { 'P','r','e','f','e','r','r','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 };
522 { 'P','e','r','f','o','r','m','e','d',' ','D','r','o','p','E','f','f','e','c','t',0 };
524 { 'P','a','s','t','e',' ','S','u','c','c','e','e','d','e','d',0 };
525static const WCHAR CFSTR_INDRAGLOOPW[] =
526 { 'I','n','S','h','e','l','l','D','r','a','g','L','o','o','p',0 };
527static const WCHAR CFSTR_DRAGCONTEXTW[] =
528 { 'D','r','a','g','C','o','n','t','e','x','t',0 };
530 { 'M','o','u','n','t','e','d','V','o','l','u','m','e',0 };
532 { 'P','e','r','s','i','s','t','e','d','D','a','t','a','O','b','j','e','c','t',0 };
533static const WCHAR CFSTR_TARGETCLSIDW[] =
534 { 'T','a','r','g','e','t','C','L','S','I','D',0 };
536 { 'A','u','t','o','p','l','a','y',' ','E','n','u','m','e','r','a','t','e','d',
537 ' ','I','D','L','i','s','t',' ','A','r','r','a','y',0 };
539 { 'L','o','g','i','c','a','l',' ','P','e','r','f','o','r','m','e','d',
540 ' ','D','r','o','p','E','f','f','e','c','t',0 };
541#endif
542
543#define CFSTR_SHELLIDLIST WINELIB_NAME_AW(CFSTR_SHELLIDLIST)
544#define CFSTR_SHELLIDLISTOFFSET WINELIB_NAME_AW(CFSTR_SHELLIDLISTOFFSET)
545#define CFSTR_NETRESOURCES WINELIB_NAME_AW(CFSTR_NETRESOURCES)
546#define CFSTR_FILEDESCRIPTOR WINELIB_NAME_AW(CFSTR_FILEDESCRIPTOR)
547#define CFSTR_FILECONTENTS WINELIB_NAME_AW(CFSTR_FILECONTENTS)
548#define CFSTR_FILENAME WINELIB_NAME_AW(CFSTR_FILENAME)
549#define CFSTR_FILENAMEMAP WINELIB_NAME_AW(CFSTR_FILENAMEMAP)
550#define CFSTR_PRINTERGROUP WINELIB_NAME_AW(CFSTR_PRINTERGROUP)
551#define CFSTR_SHELLURL WINELIB_NAME_AW(CFSTR_SHELLURL)
552#define CFSTR_INETURL WINELIB_NAME_AW(CFSTR_INETURL)
553#define CFSTR_PREFERREDDROPEFFECT WINELIB_NAME_AW(CFSTR_PREFERREDDROPEFFECT)
554#define CFSTR_PERFORMEDDROPEFFECT WINELIB_NAME_AW(CFSTR_PERFORMEDDROPEFFECT)
555#define CFSTR_PASTESUCCEEDED WINELIB_NAME_AW(CFSTR_PASTESUCCEEDED)
556#define CFSTR_INDRAGLOOP WINELIB_NAME_AW(CFSTR_INDRAGLOOP)
557#define CFSTR_DRAGCONTEXT WINELIB_NAME_AW(CFSTR_DRAGCONTEXT)
558#define CFSTR_MOUNTEDVOLUME WINELIB_NAME_AW(CFSTR_MOUNTEDVOLUME)
559#define CFSTR_PERSISTEDDATAOBJECT WINELIB_NAME_AW(CFSTR_PERSISTEDDATAOBJECT)
560#define CFSTR_TARGETCLSID WINELIB_NAME_AW(CFSTR_TARGETCLSID)
561#define CFSTR_AUTOPLAY_SHELLIDLISTS WINELIB_NAME_AW(CFSTR_AUTOPLAY_SHELLIDLISTS)
562#define CFSTR_LOGICALPERFORMEDDROPEFFECT WINELIB_NAME_AW(CFSTR_LOGICALPERFORMEDDROPEFFECT)
563
564typedef struct
566 UINT aoffset[1];
568
569/************************************************************************
570* IShellView interface
571*/
572
573#define FCIDM_SHVIEWFIRST 0x0000
574/* undocumented */
575#define FCIDM_SHVIEW_ARRANGE 0x7001
576#define FCIDM_SHVIEW_DELETE 0x7011
577#define FCIDM_SHVIEW_PROPERTIES 0x7013
578#define FCIDM_SHVIEW_CUT 0x7018
579#define FCIDM_SHVIEW_COPY 0x7019
580#define FCIDM_SHVIEW_INSERT 0x701A
581#define FCIDM_SHVIEW_UNDO 0x701B
582#define FCIDM_SHVIEW_INSERTLINK 0x701C
583#define FCIDM_SHVIEW_COPYTO 0x701E
584#define FCIDM_SHVIEW_MOVETO 0x701F
585#define FCIDM_SHVIEW_SELECTALL 0x7021
586#define FCIDM_SHVIEW_INVERTSELECTION 0x7022
587
588#define FCIDM_SHVIEW_BIGICON 0x7029
589#define FCIDM_SHVIEW_SMALLICON 0x702A
590#define FCIDM_SHVIEW_LISTVIEW 0x702B
591#define FCIDM_SHVIEW_REPORTVIEW 0x702C
592/* 0x7030-0x703f are used by the shellbrowser */
593#define FCIDM_SHVIEW_AUTOARRANGE 0x7031
594#define FCIDM_SHVIEW_SNAPTOGRID 0x7032
595#define FCIDM_SHVIEW_ALIGNTOGRID 0x7033
596
597#define FCIDM_SHVIEW_HELP 0x7041
598#define FCIDM_SHVIEW_RENAME 0x7050
599#define FCIDM_SHVIEW_CREATELINK 0x7051
600#define FCIDM_SHVIEW_NEWLINK 0x7052
601#define FCIDM_SHVIEW_NEWFOLDER 0x7053
602
603#define FCIDM_SHVIEW_REFRESH 0x7100 /* FIXME */
604#define FCIDM_SHVIEW_EXPLORE 0x7101 /* FIXME */
605#define FCIDM_SHVIEW_OPEN 0x7102 /* FIXME */
606
607#define FCIDM_SHVIEWLAST 0x7fff
608#define FCIDM_BROWSERFIRST 0xA000
609/* undocumented toolbar items from stddlg's*/
610#define FCIDM_TB_UPFOLDER 0xA001
611#define FCIDM_TB_NEWFOLDER 0xA002
612#define FCIDM_TB_SMALLICON 0xA003
613#define FCIDM_TB_REPORTVIEW 0xA004
614#define FCIDM_TB_DESKTOP 0xA005 /* FIXME */
615
616#define FCIDM_BROWSERLAST 0xbf00
617#define FCIDM_GLOBALFIRST 0x8000
618#define FCIDM_GLOBALLAST 0x9fff
619
620/*
621* Global submenu IDs and separator IDs
622*/
623#define FCIDM_MENU_FILE (FCIDM_GLOBALFIRST+0x0000)
624#define FCIDM_MENU_EDIT (FCIDM_GLOBALFIRST+0x0040)
625#define FCIDM_MENU_VIEW (FCIDM_GLOBALFIRST+0x0080)
626#define FCIDM_MENU_VIEW_SEP_OPTIONS (FCIDM_GLOBALFIRST+0x0081)
627#define FCIDM_MENU_TOOLS (FCIDM_GLOBALFIRST+0x00c0)
628#define FCIDM_MENU_TOOLS_SEP_GOTO (FCIDM_GLOBALFIRST+0x00c1)
629#define FCIDM_MENU_HELP (FCIDM_GLOBALFIRST+0x0100)
630#define FCIDM_MENU_FIND (FCIDM_GLOBALFIRST+0x0140)
631#define FCIDM_MENU_EXPLORE (FCIDM_GLOBALFIRST+0x0150)
632#define FCIDM_MENU_FAVORITES (FCIDM_GLOBALFIRST+0x0170)
633
634/* control IDs known to the view */
635#define FCIDM_TOOLBAR (FCIDM_BROWSERFIRST + 0)
636#define FCIDM_STATUS (FCIDM_BROWSERFIRST + 1)
637
638#define INTERFACE IShellDetails
640{
641 /*** IUnknown methods ***/
645 /*** IShellDetails methods ***/
646 STDMETHOD(GetDetailsOf)(THIS_ _In_opt_ PCUITEMID_CHILD pidl, UINT iColumn, _Out_ SHELLDETAILS *pDetails) PURE;
647 STDMETHOD(ColumnClick)(THIS_ UINT iColumn) PURE;
648};
649#undef INTERFACE
650
651#if !defined(__cplusplus) || defined(CINTERFACE)
652/*** IUnknown methods ***/
653#define IShellDetails_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
654#define IShellDetails_AddRef(p) (p)->lpVtbl->AddRef(p)
655#define IShellDetails_Release(p) (p)->lpVtbl->Release(p)
656/*** IShellDetails methods ***/
657#define IShellDetails_GetDetailsOf(p,a,b,c) (p)->lpVtbl->GetDetailsOf(p,a,b,c)
658#define IShellDetails_ColumnClick(p,a) (p)->lpVtbl->ColumnClick(p,a)
659#endif
660
661/* IQueryInfo interface */
662#define INTERFACE IQueryInfo
664{
665 /*** IUnknown methods ***/
669 /*** IQueryInfo methods ***/
671 STDMETHOD(GetInfoFlags)(THIS_ _Out_ DWORD* lpFlags) PURE;
672};
673#undef INTERFACE
674
675#if !defined(__cplusplus) || defined(CINTERFACE)
676/*** IUnknown methods ***/
677#define IQueryInfo_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
678#define IQueryInfo_AddRef(p) (p)->lpVtbl->AddRef(p)
679#define IQueryInfo_Release(p) (p)->lpVtbl->Release(p)
680/*** IQueryInfo methods ***/
681#define IQueryInfo_GetInfoTip(p,a,b) (p)->lpVtbl->GetInfoTip(p,a,b)
682#define IQueryInfo_GetInfoFlags(p,a) (p)->lpVtbl->GetInfoFlags(p,a)
683#endif
684
685/* IInputObject interface */
686#define INTERFACE IInputObject
688{
689 /*** IUnknown methods ***/
693 /*** IInputObject methods ***/
694 STDMETHOD(UIActivateIO)(THIS_ BOOL bActivating, LPMSG lpMsg) PURE;
695 STDMETHOD(HasFocusIO)(THIS) PURE;
696 STDMETHOD(TranslateAcceleratorIO)(THIS_ LPMSG lpMsg) PURE;
697};
698#undef INTERFACE
699
700#if !defined(__cplusplus) || defined(CINTERFACE)
701/*** IUnknown methods ***/
702#define IInputObject_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
703#define IInputObject_AddRef(p) (p)->lpVtbl->AddRef(p)
704#define IInputObject_Release(p) (p)->lpVtbl->Release(p)
705/*** IInputObject methods ***/
706#define IInputObject_UIActivateIO(p,a,b) (p)->lpVtbl->UIActivateIO(p,a,b)
707#define IInputObject_HasFocusIO(p) (p)->lpVtbl->HasFocusIO(p)
708#define IInputObject_TranslateAcceleratorIO(p,a) (p)->lpVtbl->TranslateAcceleratorIO(p,a)
709#endif
710
711/* IInputObjectSite interface */
712#define INTERFACE IInputObjectSite
714{
715 /*** IUnknown methods ***/
719 /*** IInputObjectSite methods ***/
720 STDMETHOD(OnFocusChangeIS)(THIS_ LPUNKNOWN lpUnknown, BOOL bFocus) PURE;
721};
722#undef INTERFACE
723
724#if !defined(__cplusplus) || defined(CINTERFACE)
725/*** IUnknown methods ***/
726#define IInputObjectSite_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
727#define IInputObjectSite_AddRef(p) (p)->lpVtbl->AddRef(p)
728#define IInputObjectSite_Release(p) (p)->lpVtbl->Release(p)
729/*** IInputObject methods ***/
730#define IInputObjectSite_OnFocusChangeIS(p,a,b) (p)->lpVtbl->OnFocusChangeIS(p,a,b)
731#endif
732
733/* IObjMgr interface */
734#define INTERFACE IObjMgr
736{
737 /*** IUnknown methods ***/
741 /*** IObjMgr methods ***/
742 STDMETHOD(Append)(THIS_ _In_ LPUNKNOWN punk) PURE;
744};
745#undef INTERFACE
746
747#if !defined(__cplusplus) || defined(CINTERFACE)
748/*** IUnknown methods ***/
749#define IObjMgr_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
750#define IObjMgr_AddRef(p) (p)->lpVtbl->AddRef(p)
751#define IObjMgr_Release(p) (p)->lpVtbl->Release(p)
752/*** IObjMgr methods ***/
753#define IObjMgr_Append(p,a) (p)->lpVtbl->Append(p,a)
754#define IObjMgr_Remove(p,a) (p)->lpVtbl->Remove(p,a)
755#endif
756
757/* ICurrentWorkingDirectory interface */
758#define INTERFACE ICurrentWorkingDirectory
759DECLARE_INTERFACE_(ICurrentWorkingDirectory,IUnknown)
760{
761 /*** IUnknown methods ***/
765 /*** ICurrentWorkingDirectory methods ***/
766 STDMETHOD(GetDirectory)(THIS_ _Out_writes_(cchSize) PWSTR pwzPath, DWORD cchSize) PURE;
767 STDMETHOD(SetDirectory)(THIS_ _In_ PCWSTR pwzPath) PURE;
768};
769#undef INTERFACE
770
771#if !defined(__cplusplus) || defined(CINTERFACE)
772/*** IUnknown methods ***/
773#define ICurrentWorkingDirectory_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
774#define ICurrentWorkingDirectory_AddRef(p) (p)->lpVtbl->AddRef(p)
775#define ICurrentWorkingDirectory_Release(p) (p)->lpVtbl->Release(p)
776/*** ICurrentWorkingDirectory methods ***/
777#define ICurrentWorkingDirectory_GetDirectory(p,a,b) (p)->lpVtbl->GetDirectory(p,a,b)
778#define ICurrentWorkingDirectory_SetDirectory(p,a) (p)->lpVtbl->SetDirectory(p,a)
779#endif
780
781/* IACList interface */
782#define INTERFACE IACList
784{
785 /*** IUnknown methods ***/
789 /*** IACList methods ***/
790 STDMETHOD(Expand)(THIS_ _In_ LPCOLESTR str) PURE;
791};
792#undef INTERFACE
793
794#if !defined(__cplusplus) || defined(CINTERFACE)
795/*** IUnknown methods ***/
796#define IACList_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
797#define IACList_AddRef(p) (p)->lpVtbl->AddRef(p)
798#define IACList_Release(p) (p)->lpVtbl->Release(p)
799/*** IACList methods ***/
800#define IACList_Expand(p,a) (p)->lpVtbl->Expand(p,a)
801#endif
802
803/* IACList2 interface */
804
805#define ACLO_NONE 0x00000000
806#define ACLO_CURRENTDIR 0x00000001
807#define ACLO_MYCOMPUTER 0x00000002
808#define ACLO_DESKTOP 0x00000004
809#define ACLO_FAVORITES 0x00000008
810#define ACLO_FILESYSONLY 0x00000010
811#define ACLO_FILESYSDIRS 0x00000020
812
813#define INTERFACE IACList2
814DECLARE_INTERFACE_(IACList2,IACList)
815{
816 /*** IUnknown methods ***/
820 /*** IACList methods ***/
821 STDMETHOD(Expand)(THIS_ LPCOLESTR str) PURE;
822 /*** IACList2 methods ***/
823 STDMETHOD(SetOptions)(THIS_ DWORD dwFlag) PURE;
824 STDMETHOD(GetOptions)(THIS_ _Out_ DWORD* pdwFlag) PURE;
825};
826#undef INTERFACE
827
828#if !defined(__cplusplus) || defined(CINTERFACE)
829/*** IUnknown methods ***/
830#define IACList2_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
831#define IACList2_AddRef(p) (p)->lpVtbl->AddRef(p)
832#define IACList2_Release(p) (p)->lpVtbl->Release(p)
833/*** IACList2 methods ***/
834#define IACList2_GetOptions(p,a) (p)->lpVtbl->GetOptions(p,a)
835#define IACList2_SetOptions(p,a) (p)->lpVtbl->SetOptions(p,a)
836#endif
837
838/****************************************************************************
839 * IShellFolderViewCB interface
840 */
841
842#define INTERFACE IShellFolderViewCB
843DECLARE_INTERFACE_(IShellFolderViewCB,IUnknown)
844{
845 /*** IUnknown methods ***/
849 /*** IShellFolderViewCB methods ***/
850 STDMETHOD(MessageSFVCB)(THIS_ UINT uMsg, WPARAM wParam, LPARAM lParam) PURE;
851};
852#undef INTERFACE
853
854#if !defined(__cplusplus) || defined(CINTERFACE)
855/*** IUnknown methods ***/
856#define IShellFolderViewCB_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
857#define IShellFolderViewCB_AddRef(p) (p)->lpVtbl->AddRef(p)
858#define IShellFolderViewCB_Release(p) (p)->lpVtbl->Release(p)
859/*** IShellFolderViewCB methods ***/
860#define IShellFolderViewCB_MessageSFVCB(p,a,b,c) (p)->lpVtbl->MessageSFVCB(p,a,b,c)
861#endif
862
863/****************************************************************************
864 * IShellFolderView interface
865 */
866
867#include <pshpack8.h>
868
869typedef struct _ITEMSPACING
870{
876
877#include <poppack.h>
878
879#define INTERFACE IShellFolderView
880DEFINE_GUID(IID_IShellFolderView,0x37a378c0,0xf82d,0x11ce,0xae,0x65,0x08,0x00,0x2b,0x2e,0x12,0x62);
881DECLARE_INTERFACE_(IShellFolderView, IUnknown)
882{
883 /*** IUnknown methods ***/
887
888 /*** IShellFolderView methods ***/
889 STDMETHOD(Rearrange) (THIS_ LPARAM lParamSort) PURE;
890 STDMETHOD(GetArrangeParam) (THIS_ _Out_ LPARAM *plParamSort) PURE;
891 STDMETHOD(ArrangeGrid) (THIS) PURE;
892 STDMETHOD(AutoArrange) (THIS) PURE;
893 STDMETHOD(GetAutoArrange) (THIS) PURE;
894 STDMETHOD(AddObject) (THIS_ _In_ PITEMID_CHILD pidl, _Out_ UINT *puItem) PURE;
896 STDMETHOD(RemoveObject) (THIS_ _In_opt_ PITEMID_CHILD pidl, _Out_ UINT *puItem) PURE;
897 STDMETHOD(GetObjectCount) (THIS_ _Out_ UINT *puCount) PURE;
898 STDMETHOD(SetObjectCount) (THIS_ UINT uCount, UINT dwFlags) PURE;
899 STDMETHOD(UpdateObject) (THIS_ _In_ PITEMID_CHILD pidlOld, _In_ PITEMID_CHILD pidlNew, _Out_ UINT *puItem) PURE;
900 STDMETHOD(RefreshObject) (THIS_ _In_ PITEMID_CHILD pidl, _Out_ UINT *puItem) PURE;
901 STDMETHOD(SetRedraw) (THIS_ BOOL bRedraw) PURE;
902 STDMETHOD(GetSelectedCount) (THIS_ _Out_ UINT *puSelected) PURE;
903 STDMETHOD(GetSelectedObjects) (THIS_ _Outptr_result_buffer_(*puItems) PCUITEMID_CHILD **pppidl, _Out_ UINT *puItems) PURE;
904 STDMETHOD(IsDropOnSource) (THIS_ _In_opt_ IDropTarget *pDropTarget) PURE;
905 STDMETHOD(GetDragPoint) (THIS_ _Out_ POINT *ppt) PURE;
906 STDMETHOD(GetDropPoint) (THIS_ _Out_ POINT *ppt) PURE;
907 STDMETHOD(MoveIcons) (THIS_ _In_ IDataObject *pDataObject) PURE;
908 STDMETHOD(SetItemPos) (THIS_ _In_ PCUITEMID_CHILD pidl, _In_ POINT *ppt) PURE;
909 STDMETHOD(IsBkDropTarget) (THIS_ _In_opt_ IDropTarget *pDropTarget) PURE;
910 STDMETHOD(SetClipboard) (THIS_ BOOL bMove) PURE;
911 STDMETHOD(SetPoints) (THIS_ _In_ IDataObject *pDataObject) PURE;
912 STDMETHOD(GetItemSpacing) (THIS_ _Out_ ITEMSPACING *pSpacing) PURE;
913 STDMETHOD(SetCallback) (THIS_ _In_opt_ IShellFolderViewCB* pNewCB, _Outptr_result_maybenull_ IShellFolderViewCB** ppOldCB) PURE;
914 STDMETHOD(Select) ( THIS_ UINT dwFlags ) PURE;
915 STDMETHOD(QuerySupport) (THIS_ _Inout_ UINT * pdwSupport) PURE;
916 STDMETHOD(SetAutomationObject)(THIS_ _In_opt_ IDispatch* pdisp) PURE;
917};
918#undef INTERFACE
919
920#if !defined(__cplusplus) || defined(CINTERFACE)
921/*** IUnknown methods ***/
922#define IShellFolderView_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
923#define IShellFolderView_AddRef(p) (p)->lpVtbl->AddRef(p)
924#define IShellFolderView_Release(p) (p)->lpVtbl->Release(p)
925/*** IShellFolderView methods ***/
926#define IShellFolderView_Rearrange(p,a) (p)->lpVtbl->Rearrange(p,a)
927#define IShellFolderView_GetArrangeParam(p,a) (p)->lpVtbl->GetArrangeParam(p,a)
928#define IShellFolderView_ArrangeGrid(p) (p)->lpVtbl->ArrangeGrid(p)
929#define IShellFolderView_AutoArrange(p) (p)->lpVtbl->AutoArrange(p)
930#define IShellFolderView_GetAutoArrange(p) (p)->lpVtbl->GetAutoArrange(p)
931#define IShellFolderView_AddObject(p,a,b) (p)->lpVtbl->AddObject(p,a,b)
932#define IShellFolderView_GetObject(p,a,b) (p)->lpVtbl->GetObject(p,a,b)
933#define IShellFolderView_RemoveObject(p,a,b) (p)->lpVtbl->RemoveObject(p,a,b)
934#define IShellFolderView_GetObjectCount(p,a) (p)->lpVtbl->GetObjectCount(p,a)
935#define IShellFolderView_SetObjectCount(p,a,b) (p)->lpVtbl->SetObjectCount(p,a,b)
936#define IShellFolderView_UpdateObject(p,a,b,c) (p)->lpVtbl->UpdateObject(p,a,b,c)
937#define IShellFolderView_RefreshObject(p,a,b) (p)->lpVtbl->RefreshObject(p,a,b)
938#define IShellFolderView_SetRedraw(p,a) (p)->lpVtbl->SetRedraw(p,a)
939#define IShellFolderView_GetSelectedCount(p,a) (p)->lpVtbl->GetSelectedCount(p,a)
940#define IShellFolderView_GetSelectedObjects(p,a,b) (p)->lpVtbl->GetSelectedObjects(p,a,b)
941#define IShellFolderView_IsDropOnSource(p,a) (p)->lpVtbl->IsDropOnSource(p,a)
942#define IShellFolderView_GetDragPoint(p,a) (p)->lpVtbl->GetDragPoint(p,a)
943#define IShellFolderView_GetDropPoint(p,a) (p)->lpVtbl->GetDropPoint(p,a)
944#define IShellFolderView_MoveIcons(p,a) (p)->lpVtbl->MoveIcons(p,a)
945#define IShellFolderView_SetItemPos(p,a,b) (p)->lpVtbl->SetItemPos(p,a,b)
946#define IShellFolderView_DropTarget(p,a) (p)->lpVtbl->DropTarget(p,a)
947#define IShellFolderView_SetClipboard(p,a) (p)->lpVtbl->SetClipboard(p,a)
948#define IShellFolderView_SetPoints(p,a) (p)->lpVtbl->SetPoints(p,a)
949#define IShellFolderView_GetItemSpacing(p,a) (p)->lpVtbl->GetItemSpacing(p,a)
950#define IShellFolderView_SetCallback(p,a) (p)->lpVtbl->SetCallback(p,a)
951#define IShellFolderView_Select(p,a) (p)->lpVtbl->Select(p,a)
952#define IShellFolderView_QuerySupport(p,a) (p)->lpVtbl->QuerySupport(p,a)
953#define IShellFolderView_SetAutomationObject(p,a) (p)->lpVtbl->SetAutomationObject(p,a)
954#endif
955
956/* IProgressDialog interface */
957#define PROGDLG_NORMAL 0x00000000
958#define PROGDLG_MODAL 0x00000001
959#define PROGDLG_AUTOTIME 0x00000002
960#define PROGDLG_NOTIME 0x00000004
961#define PROGDLG_NOMINIMIZE 0x00000008
962#define PROGDLG_NOPROGRESSBAR 0x00000010
963#define PROGDLG_MARQUEEPROGRESS 0x00000020
964#define PROGDLG_NOCANCEL 0x00000040
965
966#define PDTIMER_RESET 0x00000001
967#define PDTIMER_PAUSE 0x00000002
968#define PDTIMER_RESUME 0x00000003
969
970#define INTERFACE IProgressDialog
972{
973 /*** IUnknown methods ***/
977 /*** IProgressDialog methods ***/
978 STDMETHOD(StartProgressDialog)(THIS_ _In_opt_ HWND hwndParent, _In_opt_ IUnknown *punkEnableModeless, DWORD dwFlags, _Reserved_ LPCVOID reserved) PURE;
979 STDMETHOD(StopProgressDialog)(THIS) PURE;
980 STDMETHOD(SetTitle)(THIS_ _In_ LPCWSTR pwzTitle) PURE;
981 STDMETHOD(SetAnimation)(THIS_ _In_opt_ HINSTANCE hInstance, UINT uiResourceId) PURE;
982 STDMETHOD_(BOOL,HasUserCancelled)(THIS) PURE;
983 STDMETHOD(SetProgress)(THIS_ DWORD dwCompleted, DWORD dwTotal) PURE;
984 STDMETHOD(SetProgress64)(THIS_ ULONGLONG ullCompleted, ULONGLONG ullTotal) PURE;
985 STDMETHOD(SetLine)(THIS_ DWORD dwLineNum, _In_ LPCWSTR pwzString, BOOL bPath, _Reserved_ LPCVOID reserved) PURE;
986 STDMETHOD(SetCancelMsg)(THIS_ _In_ LPCWSTR pwzCancelMsg, _Reserved_ LPCVOID reserved) PURE;
988};
989#undef INTERFACE
990
991#if !defined(__cplusplus) || defined(CINTERFACE)
992/*** IUnknown methods ***/
993#define IProgressDialog_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
994#define IProgressDialog_AddRef(p) (p)->lpVtbl->AddRef(p)
995#define IProgressDialog_Release(p) (p)->lpVtbl->Release(p)
996/*** IProgressDialog methods ***/
997#define IProgressDialog_StartProgressDialog(p,a,b,c,d) (p)->lpVtbl->StartProgressDialog(p,a,b,c,d)
998#define IProgressDialog_StopProgressDialog(p) (p)->lpVtbl->StopProgressDialog(p)
999#define IProgressDialog_SetTitle(p,a) (p)->lpVtbl->SetTitle(p,a)
1000#define IProgressDialog_SetAnimation(p,a,b) (p)->lpVtbl->SetAnimation(p,a,b)
1001#define IProgressDialog_HasUserCancelled(p) (p)->lpVtbl->HasUserCancelled(p)
1002#define IProgressDialog_SetProgress(p,a,b) (p)->lpVtbl->SetProgress(p,a,b)
1003#define IProgressDialog_SetProgress64(p,a,b) (p)->lpVtbl->SetProgress64(p,a,b)
1004#define IProgressDialog_SetLine(p,a,b,c,d) (p)->lpVtbl->SetLine(p,a,b,c,d)
1005#define IProgressDialog_SetCancelMsg(p,a,b) (p)->lpVtbl->SetCancelMsg(p,a,b)
1006#define IProgressDialog_Timer(p,a,b) (p)->lpVtbl->Timer(p,a,b)
1007#endif
1008
1009
1010/* IDeskBarClient interface */
1011#define INTERFACE IDeskBarClient
1013{
1014 /*** IUnknown methods ***/
1018 /*** IOleWindow methods ***/
1020 STDMETHOD_(HRESULT,ContextSensitiveHelp)(THIS_ BOOL) PURE;
1021 /*** IDeskBarClient methods ***/
1022 STDMETHOD_(HRESULT,SetDeskBarSite)(THIS_ _In_opt_ IUnknown*) PURE;
1023 STDMETHOD_(HRESULT,SetModeDBC)(THIS_ DWORD) PURE;
1024 STDMETHOD_(HRESULT,UIActivateDBC)(THIS_ DWORD) PURE;
1026};
1027#undef INTERFACE
1028
1029#if !defined(__cplusplus) || defined(CINTERFACE)
1030/*** IUnknown methods ***/
1031#define IDeskBarClient_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
1032#define IDeskBarClient_AddRef(p) (p)->lpVtbl->AddRef(p)
1033#define IDeskBarClient_Release(p) (p)->lpVtbl->Release(p)
1034/*** IOleWindow methods ***/
1035#define IDeskBarClient_GetWindow(p,a) (p)->lpVtbl->GetWindow(p,a)
1036#define IDeskBarClient_ContextSensitiveHelp(p,a) (p)->lpVtbl->ContextSensitiveHelp(p,a)
1037/*** IOleWindow IDeskBarClient ***/
1038#define IDeskBarClient_SetDeskBarSite(p,a) (p)->lpVtbl->SetDeskBarSite(p,a)
1039#define IDeskBarClient_SetModeDBC(p,a) (p)->lpVtbl->SetModeDBC(p,a)
1040#define IDeskBarClient_UIActivateDBC(p,a) (p)->lpVtbl->UIActivateDBC(p,a)
1041#define IDeskBarClient_GetSize(p,a,b) (p)->lpVtbl->GetSize(p,a,b)
1042#endif
1043
1044#define DBC_GS_IDEAL 0
1045#define DBC_GS_SIZEDOWN 1
1046
1047#define DBC_HIDE 0
1048#define DBC_SHOW 1
1049#define DBC_SHOWOBSCURE 2
1050
1051
1052/* As indicated by the documentation for IActiveDesktop,
1053 you must include wininet.h before shlobj.h */
1054#ifdef _WINE_WININET_H_
1055
1056
1057/* Structs are taken from msdn, and not verified!
1058 Only stuff needed to make it compile are here, no flags or anything */
1059
1060typedef struct _tagWALLPAPEROPT
1061{
1062 DWORD dwSize;
1063 DWORD dwStyle;
1064} WALLPAPEROPT;
1065
1066typedef WALLPAPEROPT *LPWALLPAPEROPT;
1067typedef const WALLPAPEROPT *LPCWALLPAPEROPT;
1068
1069typedef struct _tagCOMPONENTSOPT
1070{
1071 DWORD dwSize;
1072 BOOL fEnableComponents;
1073 BOOL fActiveDesktop;
1074} COMPONENTSOPT;
1075
1076typedef COMPONENTSOPT *LPCOMPONENTSOPT;
1077typedef const COMPONENTSOPT *LPCCOMPONENTSOPT;
1078
1079
1080typedef struct _tagCOMPPOS
1081{
1082 DWORD dwSize;
1083 int iLeft;
1084 int iTop;
1085 DWORD dwWidth;
1087 int izIndex;
1088 BOOL fCanResize;
1089 BOOL fCanResizeX;
1090 BOOL fCanResizeY;
1091 int iPreferredLeftPercent;
1092 int iPreferredTopPercent;
1093} COMPPOS;
1094
1095typedef struct _tagCOMPSTATEINFO
1096{
1097 DWORD dwSize;
1098 int iLeft;
1099 int iTop;
1100 DWORD dwWidth;
1102 DWORD dwItemState;
1103} COMPSTATEINFO;
1104
1105typedef struct _tagCOMPONENT
1106{
1107 DWORD dwSize;
1108 DWORD dwID;
1109 int iComponentType;
1110 BOOL fChecked;
1111 BOOL fDirty;
1112 BOOL fNoScroll;
1113 COMPPOS cpPos;
1115 WCHAR wszSource[INTERNET_MAX_URL_LENGTH];
1116 WCHAR wszSubscribedURL[INTERNET_MAX_URL_LENGTH];
1117 DWORD dwCurItemState;
1118 COMPSTATEINFO csiOriginal;
1119 COMPSTATEINFO csiRestored;
1120} COMPONENT;
1121
1122typedef COMPONENT *LPCOMPONENT;
1123typedef const COMPONENT *LPCCOMPONENT;
1124
1125#pragma push_macro("AddDesktopItem")
1126#undef AddDesktopItem
1127
1128/* IDeskBarClient interface */
1129#define INTERFACE IActiveDesktop
1130DECLARE_INTERFACE_(IActiveDesktop, IUnknown)
1131{
1132 /*** IUnknown methods ***/
1136
1137 /*** IActiveDesktop methods ***/
1139 STDMETHOD(GetWallpaper)(THIS_ PWSTR pwszWallpaper, UINT cchWallpaper, DWORD dwFlags) PURE;
1141 STDMETHOD(GetWallpaperOptions)(THIS_ LPWALLPAPEROPT pwpo, DWORD dwReserved) PURE;
1142 STDMETHOD(SetWallpaperOptions)(THIS_ LPCWALLPAPEROPT pwpo, DWORD dwReserved) PURE;
1143 STDMETHOD(GetPattern)(THIS_ PWSTR pwszPattern, UINT cchPattern, DWORD dwReserved) PURE;
1144 STDMETHOD(SetPattern)(THIS_ PCWSTR pwszPattern, DWORD dwReserved) PURE;
1145 STDMETHOD(GetDesktopItemOptions)(THIS_ LPCOMPONENTSOPT pco, DWORD dwReserved) PURE;
1146 STDMETHOD(SetDesktopItemOptions)(THIS_ LPCCOMPONENTSOPT pco, DWORD dwReserved) PURE;
1147 STDMETHOD(AddDesktopItem)(THIS_ LPCCOMPONENT pcomp, DWORD dwReserved) PURE;
1148 STDMETHOD(AddDesktopItemWithUI)(THIS_ HWND hwnd, LPCOMPONENT pcomp, DWORD dwReserved) PURE;
1149 STDMETHOD(ModifyDesktopItem)(THIS_ LPCCOMPONENT pcomp, DWORD dwFlags) PURE;
1150 STDMETHOD(RemoveDesktopItem)(THIS_ LPCCOMPONENT pcomp, DWORD dwReserved) PURE;
1151 STDMETHOD(GetDesktopItemCount)(THIS_ int *pcItems, DWORD dwReserved) PURE;
1152 STDMETHOD(GetDesktopItem)(THIS_ int nComponent, LPCOMPONENT pcomp, DWORD dwReserved) PURE;
1153 STDMETHOD(GetDesktopItemByID)(THIS_ ULONG_PTR dwID, LPCOMPONENT pcomp, DWORD dwReserved) PURE;
1154 STDMETHOD(GenerateDesktopItemHtml)(THIS_ PCWSTR pwszFileName, LPCOMPONENT pcomp, DWORD dwReserved) PURE;
1155 STDMETHOD(AddUrl)(THIS_ HWND hwnd, PCWSTR pszSource, LPCOMPONENT pcomp, DWORD dwFlags) PURE;
1156 STDMETHOD(GetDesktopItemBySource)(THIS_ PCWSTR pwszSource, LPCOMPONENT pcomp, DWORD dwReserved) PURE;
1157};
1158#undef INTERFACE
1159
1160#pragma pop_macro("AddDesktopItem")
1161
1162#endif
1163
1164/****************************************************************************
1165* SHAddToRecentDocs API
1166*/
1167#define SHARD_PIDL 0x00000001L
1168#define SHARD_PATHA 0x00000002L
1169#define SHARD_PATHW 0x00000003L
1170#define SHARD_PATH WINELIB_NAME_AW(SHARD_PATH)
1171
1173
1174/****************************************************************************
1175 * SHBrowseForFolder API
1176 */
1178
1179#include <pshpack8.h>
1180
1181typedef struct tagBROWSEINFOA {
1191
1192typedef struct tagBROWSEINFOW {
1202
1203#define BROWSEINFO WINELIB_NAME_AW(BROWSEINFO)
1204#define PBROWSEINFO WINELIB_NAME_AW(PBROWSEINFO)
1205#define LPBROWSEINFO WINELIB_NAME_AW(LPBROWSEINFO)
1206
1207#include <poppack.h>
1208
1209/* Browsing for directory. */
1210#define BIF_RETURNONLYFSDIRS 0x0001
1211#define BIF_DONTGOBELOWDOMAIN 0x0002
1212#define BIF_STATUSTEXT 0x0004
1213#define BIF_RETURNFSANCESTORS 0x0008
1214#define BIF_EDITBOX 0x0010
1215#define BIF_VALIDATE 0x0020
1216#define BIF_NEWDIALOGSTYLE 0x0040
1217#define BIF_USENEWUI (BIF_NEWDIALOGSTYLE | BIF_EDITBOX)
1218#define BIF_BROWSEINCLUDEURLS 0x0080
1219#define BIF_UAHINT 0x0100
1220#define BIF_NONEWFOLDERBUTTON 0x0200
1221#define BIF_NOTRANSLATETARGETS 0x0400
1222
1223#define BIF_BROWSEFORCOMPUTER 0x1000
1224#define BIF_BROWSEFORPRINTER 0x2000
1225#define BIF_BROWSEINCLUDEFILES 0x4000
1226#define BIF_SHAREABLE 0x8000
1227
1228/* message from browser */
1229#define BFFM_INITIALIZED 1
1230#define BFFM_SELCHANGED 2
1231#define BFFM_VALIDATEFAILEDA 3
1232#define BFFM_VALIDATEFAILEDW 4
1233#define BFFM_IUNKNOWN 5
1234
1235/* messages to browser */
1236#define BFFM_SETSTATUSTEXTA (WM_USER+100)
1237#define BFFM_ENABLEOK (WM_USER+101)
1238#define BFFM_SETSELECTIONA (WM_USER+102)
1239#define BFFM_SETSELECTIONW (WM_USER+103)
1240#define BFFM_SETSTATUSTEXTW (WM_USER+104)
1241#define BFFM_SETOKTEXT (WM_USER+105)
1242#define BFFM_SETEXPANDED (WM_USER+106)
1243
1246#define SHBrowseForFolder WINELIB_NAME_AW(SHBrowseForFolder)
1247
1248#define BFFM_SETSTATUSTEXT WINELIB_NAME_AW(BFFM_SETSTATUSTEXT)
1249#define BFFM_SETSELECTION WINELIB_NAME_AW(BFFM_SETSELECTION)
1250#define BFFM_VALIDATEFAILED WINELIB_NAME_AW(BFFM_VALIDATEFAILED)
1251
1252/**********************************************************************
1253 * SHCreateShellFolderViewEx API
1254 */
1255
1256typedef HRESULT
1258 _In_ IShellView* dwUser,
1259 _In_ IShellFolder* pshf,
1260 _In_ HWND hWnd,
1261 UINT uMsg,
1262 WPARAM wParam,
1263 LPARAM lParam);
1264
1265#include <pshpack8.h>
1266
1267typedef struct _CSFV
1268{
1277
1278#include <poppack.h>
1279
1280HRESULT
1281WINAPI
1283 _In_ LPCSFV pshfvi,
1284 _Outptr_ IShellView **ppshv);
1285
1286/* SHCreateShellFolderViewEx callback messages */
1287#define SFVM_MERGEMENU 1
1288#define SFVM_INVOKECOMMAND 2
1289#define SFVM_GETHELPTEXT 3
1290#define SFVM_GETTOOLTIPTEXT 4
1291#define SFVM_GETBUTTONINFO 5
1292#define SFVM_GETBUTTONS 6
1293#define SFVM_INITMENUPOPUP 7
1294#define SFVM_SELECTIONCHANGED 8 /* undocumented */
1295#define SFVM_DRAWMENUITEM 9 /* undocumented */
1296#define SFVM_MEASUREMENUITEM 10 /* undocumented */
1297#define SFVM_EXITMENULOOP 11 /* undocumented */
1298#define SFVM_VIEWRELEASE 12 /* undocumented */
1299#define SFVM_GETNAMELENGTH 13 /* undocumented */
1300#define SFVM_FSNOTIFY 14
1301#define SFVM_WINDOWCREATED 15
1302#define SFVM_WINDOWCLOSING 16 /* undocumented */
1303#define SFVM_LISTREFRESHED 17 /* undocumented */
1304#define SFVM_WINDOWFOCUSED 18 /* undocumented */
1305#define SFVM_REGISTERCOPYHOOK 20 /* undocumented */
1306#define SFVM_COPYHOOKCALLBACK 21 /* undocumented */
1307#define SFVM_GETDETAILSOF 23
1308#define SFVM_COLUMNCLICK 24
1309#define SFVM_QUERYFSNOTIFY 25
1310#define SFVM_DEFITEMCOUNT 26
1311#define SFVM_DEFVIEWMODE 27
1312#define SFVM_UNMERGEFROMMENU 28
1313#define SFVM_ADDINGOBJECT 29 /* undocumented */
1314#define SFVM_REMOVINGOBJECT 30 /* undocumented */
1315#define SFVM_UPDATESTATUSBAR 31
1316#define SFVM_BACKGROUNDENUM 32
1317#define SFVM_GETCOMMANDDIR 33 /* undocumented */
1318#define SFVM_GETCOLUMNSTREAM 34 /* undocumented */
1319#define SFVM_CANSELECTALL 35 /* undocumented */
1320#define SFVM_DIDDRAGDROP 36
1321#define SFVM_ISSTRICTREFRESH 37 /* undocumented */
1322#define SFVM_ISCHILDOBJECT 38 /* undocumented */
1323#define SFVM_SETISFV 39
1324#define SFVM_GETEXTVIEWS 40 /* undocumented */
1325#define SFVM_THISIDLIST 41
1326#define SFVM_ADDPROPERTYPAGES 47
1327#define SFVM_BACKGROUNDENUMDONE 48
1328#define SFVM_GETNOTIFY 49
1329#define SFVM_GETSORTDEFAULTS 53
1330#define SFVM_SIZE 57
1331#define SFVM_GETZONE 58
1332#define SFVM_GETPANE 59
1333#define SFVM_GETHELPTOPIC 63
1334#define SFVM_GETANIMATION 68
1335#define SFVM_GET_CUSTOMVIEWINFO 77 /* undocumented */
1336#define SFVM_ENUMERATEDITEMS 79 /* undocumented */
1337#define SFVM_GET_VIEW_DATA 80 /* undocumented */
1338#define SFVM_GET_WEBVIEW_LAYOUT 82 /* undocumented */
1339#define SFVM_GET_WEBVIEW_CONTENT 83 /* undocumented */
1340#define SFVM_GET_WEBVIEW_TASKS 84 /* undocumented */
1341#define SFVM_GET_WEBVIEW_THEME 86 /* undocumented */
1342#define SFVM_GETDEFERREDVIEWSETTINGS 92 /* undocumented */
1343
1344#include <pshpack8.h>
1345
1346typedef struct _SFV_CREATE
1347{
1351 IShellFolderViewCB *psfvcb;
1353
1354#include <poppack.h>
1355
1356HRESULT
1357WINAPI
1359 _In_ const SFV_CREATE *pscfv,
1360 _Outptr_ IShellView **ppsv);
1361
1362/* Types and definitions for the SFM_* parameters */
1363#include <pshpack8.h>
1364
1365#define QCMINFO_PLACE_BEFORE 0
1366#define QCMINFO_PLACE_AFTER 1
1368{
1372
1373typedef struct _QCMINFO_IDMAP
1374{
1378
1379typedef struct _QCMINFO
1380{
1387
1388#define TBIF_DEFAULT 0x00000000
1389#define TBIF_APPEND 0x00000000
1390#define TBIF_PREPEND 0x00000001
1391#define TBIF_REPLACE 0x00000002
1392#define TBIF_INTERNETBAR 0x00010000
1393#define TBIF_STANDARDTOOLBAR 0x00020000
1394#define TBIF_NOTOOLBAR 0x00030000
1395
1396typedef struct _TBINFO
1397{
1401
1402#include <poppack.h>
1403
1404/****************************************************************************
1405* SHShellFolderView_Message API
1406*/
1407
1408LRESULT
1409WINAPI
1411 _In_ HWND hwndCabinet,
1412 UINT uMessage,
1413 LPARAM lParam);
1414
1415/* SHShellFolderView_Message messages */
1416#define SFVM_REARRANGE 0x0001
1417#define SFVM_GETARRANGECOLUMN 0x0002 /* undocumented */
1418#define SFVM_ADDOBJECT 0x0003
1419#define SFVM_GETITEMCOUNT 0x0004 /* undocumented */
1420#define SFVM_GETITEMPIDL 0x0005 /* undocumented */
1421#define SFVM_REMOVEOBJECT 0x0006
1422#define SFVM_UPDATEOBJECT 0x0007
1423#define SFVM_SETREDRAW 0x0008 /* undocumented */
1424#define SFVM_GETSELECTEDOBJECTS 0x0009
1425#define SFVM_ISDROPONSOURCE 0x000A /* undocumented */
1426#define SFVM_MOVEICONS 0x000B /* undocumented */
1427#define SFVM_GETDRAGPOINT 0x000C /* undocumented */
1428#define SFVM_GETDROPPOINT 0x000D /* undocumented */
1429#define SFVM_SETITEMPOS 0x000E
1430#define SFVM_ISDROPONBACKGROUND 0x000F /* undocumented */
1431#define SFVM_SETCLIPBOARD 0x0010
1432#define SFVM_TOGGLEAUTOARRANGE 0x0011 /* undocumented */
1433#define SFVM_LINEUPICONS 0x0012 /* undocumented */
1434#define SFVM_GETAUTOARRANGE 0x0013 /* undocumented */
1435#define SFVM_GETSELECTEDCOUNT 0x0014 /* undocumented */
1436#define SFVM_GETITEMSPACING 0x0015 /* undocumented */
1437#define SFVM_REFRESHOBJECT 0x0016 /* undocumented */
1438#define SFVM_SETPOINTS 0x0017
1439
1440/****************************************************************************
1441* SHGetDataFromIDList API
1442*/
1443#define SHGDFIL_FINDDATA 1
1444#define SHGDFIL_NETRESOURCE 2
1445#define SHGDFIL_DESCRIPTIONID 3
1446
1447#define SHDID_ROOT_REGITEM 1
1448#define SHDID_FS_FILE 2
1449#define SHDID_FS_DIRECTORY 3
1450#define SHDID_FS_OTHER 4
1451#define SHDID_COMPUTER_DRIVE35 5
1452#define SHDID_COMPUTER_DRIVE525 6
1453#define SHDID_COMPUTER_REMOVABLE 7
1454#define SHDID_COMPUTER_FIXED 8
1455#define SHDID_COMPUTER_NETDRIVE 9
1456#define SHDID_COMPUTER_CDROM 10
1457#define SHDID_COMPUTER_RAMDISK 11
1458#define SHDID_COMPUTER_OTHER 12
1459#define SHDID_NET_DOMAIN 13
1460#define SHDID_NET_SERVER 14
1461#define SHDID_NET_SHARE 15
1462#define SHDID_NET_RESTOFNET 16
1463#define SHDID_NET_OTHER 17
1464#define SHDID_COMPUTER_IMAGING 18
1465#define SHDID_COMPUTER_AUDIO 19
1466#define SHDID_COMPUTER_SHAREDDOCS 20
1467
1468#include <pshpack8.h>
1469
1470typedef struct _SHDESCRIPTIONID
1474
1475#include <poppack.h>
1476
1477HRESULT
1478WINAPI
1480 _In_ LPSHELLFOLDER psf,
1481 _In_ PCUITEMID_CHILD pidl,
1482 int nFormat,
1484 int cb);
1485
1486HRESULT
1487WINAPI
1489 _In_ LPSHELLFOLDER psf,
1490 _In_ PCUITEMID_CHILD pidl,
1491 int nFormat,
1493 int cb);
1494
1495#define SHGetDataFromIDList WINELIB_NAME_AW(SHGetDataFromIDList)
1496
1498WINAPI
1501 _In_ int csidl,
1502 _In_ BOOL fCreate);
1503
1504_Success_(return != 0)
1505BOOL
1506WINAPI
1508 _Reserved_ HWND hwndOwner,
1512
1513_Success_(return != 0)
1514BOOL
1515WINAPI
1517 _Reserved_ HWND hwndOwner,
1519 _In_ int nFolder,
1520 _In_ BOOL bCreate);
1521
1522#define SHGetSpecialFolderPath WINELIB_NAME_AW(SHGetSpecialFolderPath)
1523
1525
1526/**********************************************************************
1527 * SHGetSetSettings ()
1528 */
1529
1530typedef struct
1531{
1535
1550
1551 UINT :15; /* Required for proper binary layout with gcc */
1562 UINT :15; /* Required for proper binary layout with gcc */
1564
1566
1567/**********************************************************************
1568 * SHGetSettings ()
1569 */
1570typedef struct
1575
1580
1585
1588 UINT :15; /* Required for proper binary layout with gcc */
1590
1592
1593#define SSF_SHOWALLOBJECTS 0x0001
1594#define SSF_SHOWEXTENSIONS 0x0002
1595#define SSF_SHOWCOMPCOLOR 0x0008
1596#define SSF_SHOWSYSFILES 0x0020
1597#define SSF_DOUBLECLICKINWEBVIEW 0x0080
1598#define SSF_SHOWATTRIBCOL 0x0100
1599#define SSF_DESKTOPHTML 0x0200
1600#define SSF_WIN95CLASSIC 0x0400
1601#define SSF_DONTPRETTYPATH 0x0800
1602#define SSF_SHOWINFOTIP 0x2000
1603#define SSF_MAPNETDRVBUTTON 0x1000
1604#define SSF_NOCONFIRMRECYCLE 0x8000
1605#define SSF_HIDEICONS 0x4000
1606#define SSF_SHOWSUPERHIDDEN 0x00040000
1607#define SSF_SEPPROCESS 0x00080000
1608#if (NTDDI_VERSION >= NTDDI_WINXP)
1609#define SSF_NONETCRAWLING 0x00100000
1610#define SSF_STARTPANELON 0x00200000
1611#define SSF_SHOWSTARTPAGE 0x00400000
1612#endif
1613#if (NTDDI_VERSION >= NTDDI_VISTA)
1614#define SSF_AUTOCHECKSELECT 0x00800000
1615#define SSF_ICONSONLY 0x01000000
1616#define SSF_SHOWTYPEOVERLAY 0x02000000
1617#endif
1618#if (NTDDI_VERSION >= NTDDI_WIN8)
1619#define SSF_SHOWSTATUSBAR 0x04000000
1620#endif
1621
1622/****************************************************************************
1623* SHRestricted API
1624*/
1625typedef enum RESTRICTIONS
1626{
1627 REST_NONE = 0x00000000,
1628 REST_NORUN = 0x00000001,
1629 REST_NOCLOSE = 0x00000002,
1630 REST_NOSAVESET = 0x00000004,
1631 REST_NOFILEMENU = 0x00000008,
1632 REST_NOSETFOLDERS = 0x00000010,
1633 REST_NOSETTASKBAR = 0x00000020,
1634 REST_NODESKTOP = 0x00000040,
1635 REST_NOFIND = 0x00000080,
1636 REST_NODRIVES = 0x00000100,
1639 REST_NONETHOOD = 0x00000800,
1640 REST_STARTBANNER = 0x00001000,
1641 REST_RESTRICTRUN = 0x00002000,
1644 REST_NOPRINTERADD = 0x00010000,
1646 REST_MYDOCSONNET = 0x00040000,
1647 REST_NOEXITTODOS = 0x00080000,
1652 REST_NOWEB = 0x01000000,
1667
1680#if (NTDDI_VERSION < NTDDI_LONGHORN)
1681 REST_NOLOGO3CHANNELNOTIFY = 0x4000001C,
1682#endif
1686 REST_NOCHANGESTARMENU, /* 0x40000020 */
1702 REST_MaxRecentDocs, /* 0x40000030 */
1708
1709 REST_ALLOWFRENCHENCRYPTION, /* not documented */
1710
1720 REST_RESTRICTCPL, /* 0x40000040 */
1736 REST_NOSMMYPICS, /* 0x40000050 */
1752 REST_SETVISUALSTYLE, /* 0x40000060 */
1764 /* 0x4000006C
1765 0x4000006D
1766 0x4000006E */
1768 REST_HIDECLOCK, /* 0x40000070 */
1789
1791
1792 REST_NODISCONNECT = 0x41000001,
1794 REST_NOFILEASSOCIATE, /* 0x41000003 */
1796
1798
1799/****************************************************************************
1800* SHChangeNotify API
1801*/
1803{
1807
1808#define SHCNE_RENAMEITEM 0x00000001
1809#define SHCNE_CREATE 0x00000002
1810#define SHCNE_DELETE 0x00000004
1811#define SHCNE_MKDIR 0x00000008
1812#define SHCNE_RMDIR 0x00000010
1813#define SHCNE_MEDIAINSERTED 0x00000020
1814#define SHCNE_MEDIAREMOVED 0x00000040
1815#define SHCNE_DRIVEREMOVED 0x00000080
1816#define SHCNE_DRIVEADD 0x00000100
1817#define SHCNE_NETSHARE 0x00000200
1818#define SHCNE_NETUNSHARE 0x00000400
1819#define SHCNE_ATTRIBUTES 0x00000800
1820#define SHCNE_UPDATEDIR 0x00001000
1821#define SHCNE_UPDATEITEM 0x00002000
1822#define SHCNE_SERVERDISCONNECT 0x00004000
1823#define SHCNE_UPDATEIMAGE 0x00008000
1824#define SHCNE_DRIVEADDGUI 0x00010000
1825#define SHCNE_RENAMEFOLDER 0x00020000
1826#define SHCNE_FREESPACE 0x00040000
1827
1828#define SHCNE_EXTENDED_EVENT 0x04000000
1829#define SHCNE_ASSOCCHANGED 0x08000000
1830#define SHCNE_DISKEVENTS 0x0002381F
1831#define SHCNE_GLOBALEVENTS 0x0C0581E0
1832#define SHCNE_ALLEVENTS 0x7FFFFFFF
1833#define SHCNE_INTERRUPT 0x80000000
1834
1835#define SHCNEE_ORDERCHANGED 0x0002L
1836#define SHCNEE_MSI_CHANGE 0x0004L
1837#define SHCNEE_MSI_UNINSTALL 0x0005L
1838
1839#define SHCNF_IDLIST 0x0000
1840#define SHCNF_PATHA 0x0001
1841#define SHCNF_PRINTERA 0x0002
1842#define SHCNF_DWORD 0x0003
1843#define SHCNF_PATHW 0x0005
1844#define SHCNF_PRINTERW 0x0006
1845#define SHCNF_TYPE 0x00FF
1846#define SHCNF_FLUSH 0x1000
1847#define SHCNF_FLUSHNOWAIT 0x3000
1848#define SHCNF_NOTIFYRECURSIVE 0x10000
1849
1850#define SHCNF_PATH WINELIB_NAME_AW(SHCNF_PATH)
1851#define SHCNF_PRINTER WINELIB_NAME_AW(SHCNF_PRINTER)
1852
1853#define SHCNRF_InterruptLevel 0x0001
1854#define SHCNRF_ShellLevel 0x0002
1855#define SHCNRF_RecursiveInterrupt 0x1000
1856#define SHCNRF_NewDelivery 0x8000
1857
1858void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID dwItem2);
1859
1860typedef enum {
1861 SLDF_DEFAULT = 0x00000000,
1862 SLDF_HAS_ID_LIST = 0x00000001,
1864 SLDF_HAS_NAME = 0x00000004,
1865 SLDF_HAS_RELPATH = 0x00000008,
1867 SLDF_HAS_ARGS = 0x00000020,
1869 SLDF_UNICODE = 0x00000080,
1871 SLDF_HAS_EXP_SZ = 0x00000200,
1873#if (NTDDI_VERSION < NTDDI_LONGHORN)
1874 SLDF_HAS_LOGO3ID = 0x00000800,
1875#endif
1876 SLDF_HAS_DARWINID = 0x00001000,
1877 SLDF_RUNAS_USER = 0x00002000,
1882#if (NTDDI_VERSION >= NTDDI_LONGHORN)
1887#if (NTDDI_VERSION >= NTDDI_WIN7)
1888 SLDF_NO_KF_ALIAS = 0x00400000,
1893#if (NTDDI_VERSION >= NTDDI_WIN8)
1895 SLDF_VALID = 0x0ffff7ff, /* Windows 8 */
1896#else
1897 SLDF_VALID = 0x07fff7ff, /* Windows 7 */
1898#endif
1899#else
1900 SLDF_VALID = 0x003ff7ff, /* Windows Vista */
1901#endif
1902#endif
1903 SLDF_RESERVED = 0x80000000,
1905
1907{
1911
1912#ifdef LF_FACESIZE
1913typedef struct {
1914 DATABLOCK_HEADER dbh;
1915 WORD wFillAttribute;
1916 WORD wPopupFillAttribute;
1917 COORD dwScreenBufferSize;
1918 COORD dwWindowSize;
1919 COORD dwWindowOrigin;
1920 DWORD nFont;
1921 DWORD nInputBufferSize;
1922 COORD dwFontSize;
1923 UINT uFontFamily;
1924 UINT uFontWeight;
1925 WCHAR FaceName[LF_FACESIZE];
1926 UINT uCursorSize;
1927 BOOL bFullScreen;
1928 BOOL bQuickEdit;
1929 BOOL bInsertMode;
1930 BOOL bAutoPosition;
1931 UINT uHistoryBufferSize;
1932 UINT uNumberOfHistoryBuffers;
1933 BOOL bHistoryNoDup;
1934 COLORREF ColorTable[16];
1935} NT_CONSOLE_PROPS, *LPNT_CONSOLE_PROPS;
1936#endif
1937
1938typedef struct {
1942
1943typedef struct {
1946 CHAR szTarget[MAX_PATH];
1947 WCHAR szwTarget[MAX_PATH];
1949
1950typedef struct {
1952 CHAR szDarwinID[MAX_PATH];
1953 WCHAR szwDarwinID[MAX_PATH];
1955
1956typedef struct {
1962
1963typedef struct {
1966 BYTE abPropertyStorage[1];
1968
1969#define EXP_SZ_LINK_SIG 0xA0000001 /* EXP_SZ_LINK */
1970#define NT_CONSOLE_PROPS_SIG 0xA0000002 /* NT_CONSOLE_PROPS */
1971#define NT_FE_CONSOLE_PROPS_SIG 0xA0000004 /* NT_FE_CONSOLE_PROPS */
1972#define EXP_SPECIAL_FOLDER_SIG 0xA0000005 /* EXP_SPECIAL_FOLDER */
1973#define EXP_DARWIN_ID_SIG 0xA0000006 /* EXP_DARWIN_LINK */
1974#if (NTDDI_VERSION < NTDDI_LONGHORN)
1975#define EXP_LOGO3_ID_SIG 0xA0000007 /* EXP_DARWIN_LINK, for Logo3 / MS Internet Component Download (MSICD) shortcuts; old SDKs only (deprecated) */
1976#endif
1977#define EXP_SZ_ICON_SIG 0xA0000007 /* EXP_SZ_LINK */
1978#define EXP_PROPERTYSTORAGE_SIG 0xA0000009 /* EXP_PROPERTYSTORAGE */
1979
1986
1992
1993ULONG
1994WINAPI
1996 _In_ HWND hwnd,
1997 int fSources,
1998 LONG fEvents,
1999 UINT wMsg,
2000 int cEntries,
2001 _In_ SHChangeNotifyEntry *pshcne);
2002
2004
2005HANDLE
2006WINAPI
2008 _In_ HANDLE hChangeNotification,
2009 DWORD dwProcessId,
2011 _Out_opt_ LONG *plEvent);
2012
2014
2015HRESULT
2016WINAPI
2018 _In_ IShellFolder *psf,
2019 _In_ PCUITEMID_CHILD pidlSimple,
2020 _Outptr_ PITEMID_CHILD * ppidlReal);
2021
2022/****************************************************************************
2023* SHCreateDirectory API
2024*/
2026
2027int
2028WINAPI
2030 _In_opt_ HWND,
2031 _In_ LPCSTR,
2033
2034int
2035WINAPI
2037 _In_opt_ HWND,
2038 _In_ LPCWSTR,
2040
2041#define SHCreateDirectoryEx WINELIB_NAME_AW(SHCreateDirectoryEx)
2042
2043/****************************************************************************
2044* SHGetSpecialFolderLocation API
2045*/
2047HRESULT
2048WINAPI
2050 _Reserved_ HWND hwndOwner,
2051 _In_ int nFolder,
2052 _Outptr_ PIDLIST_ABSOLUTE *ppidl);
2053
2054HRESULT
2055WINAPI
2057 _Reserved_ HWND hwndOwner,
2058 _In_ int nFolder,
2059 _In_opt_ HANDLE hToken,
2061 _Outptr_ PIDLIST_ABSOLUTE *ppidl);
2062
2063/****************************************************************************
2064* SHGetFolderPath API
2065*/
2066typedef enum {
2070
2071HRESULT
2072WINAPI
2075 _In_ int nFolder,
2076 _In_opt_ HANDLE hToken,
2078 _Out_writes_(MAX_PATH) LPSTR pszPath);
2079
2080HRESULT
2081WINAPI
2084 _In_ int nFolder,
2085 _In_opt_ HANDLE hToken,
2087 _Out_writes_(MAX_PATH) LPWSTR pszPath);
2088
2089#define SHGetFolderPath WINELIB_NAME_AW(SHGetFolderPath)
2090
2091#define CSIDL_DESKTOP 0x0000
2092#define CSIDL_INTERNET 0x0001
2093#define CSIDL_PROGRAMS 0x0002
2094#define CSIDL_CONTROLS 0x0003
2095#define CSIDL_PRINTERS 0x0004
2096#define CSIDL_PERSONAL 0x0005
2097#define CSIDL_FAVORITES 0x0006
2098#define CSIDL_STARTUP 0x0007
2099#define CSIDL_RECENT 0x0008
2100#define CSIDL_SENDTO 0x0009
2101#define CSIDL_BITBUCKET 0x000a
2102#define CSIDL_STARTMENU 0x000b
2103#define CSIDL_MYDOCUMENTS CSIDL_PERSONAL
2104#define CSIDL_MYMUSIC 0x000d
2105#define CSIDL_MYVIDEO 0x000e
2106#define CSIDL_DESKTOPDIRECTORY 0x0010
2107#define CSIDL_DRIVES 0x0011
2108#define CSIDL_NETWORK 0x0012
2109#define CSIDL_NETHOOD 0x0013
2110#define CSIDL_FONTS 0x0014
2111#define CSIDL_TEMPLATES 0x0015
2112#define CSIDL_COMMON_STARTMENU 0x0016
2113#define CSIDL_COMMON_PROGRAMS 0X0017
2114#define CSIDL_COMMON_STARTUP 0x0018
2115#define CSIDL_COMMON_DESKTOPDIRECTORY 0x0019
2116#define CSIDL_APPDATA 0x001a
2117#define CSIDL_PRINTHOOD 0x001b
2118#define CSIDL_LOCAL_APPDATA 0x001c
2119#define CSIDL_ALTSTARTUP 0x001d
2120#define CSIDL_COMMON_ALTSTARTUP 0x001e
2121#define CSIDL_COMMON_FAVORITES 0x001f
2122#define CSIDL_INTERNET_CACHE 0x0020
2123#define CSIDL_COOKIES 0x0021
2124#define CSIDL_HISTORY 0x0022
2125#define CSIDL_COMMON_APPDATA 0x0023
2126#define CSIDL_WINDOWS 0x0024
2127#define CSIDL_SYSTEM 0x0025
2128#define CSIDL_PROGRAM_FILES 0x0026
2129#define CSIDL_MYPICTURES 0x0027
2130#define CSIDL_PROFILE 0x0028
2131#define CSIDL_SYSTEMX86 0x0029
2132#define CSIDL_PROGRAM_FILESX86 0x002a
2133#define CSIDL_PROGRAM_FILES_COMMON 0x002b
2134#define CSIDL_PROGRAM_FILES_COMMONX86 0x002c
2135#define CSIDL_COMMON_TEMPLATES 0x002d
2136#define CSIDL_COMMON_DOCUMENTS 0x002e
2137#define CSIDL_COMMON_ADMINTOOLS 0x002f
2138#define CSIDL_ADMINTOOLS 0x0030
2139#define CSIDL_CONNECTIONS 0x0031
2140#define CSIDL_COMMON_MUSIC 0x0035
2141#define CSIDL_COMMON_PICTURES 0x0036
2142#define CSIDL_COMMON_VIDEO 0x0037
2143#define CSIDL_RESOURCES 0x0038
2144#define CSIDL_RESOURCES_LOCALIZED 0x0039
2145#define CSIDL_COMMON_OEM_LINKS 0x003a
2146#define CSIDL_CDBURN_AREA 0x003b
2147#define CSIDL_COMPUTERSNEARME 0x003d
2148#define CSIDL_PROFILES 0x003e
2149#define CSIDL_FOLDER_MASK 0x00ff
2150#define CSIDL_FLAG_PER_USER_INIT 0x0800
2151#define CSIDL_FLAG_NO_ALIAS 0x1000
2152#define CSIDL_FLAG_DONT_VERIFY 0x4000
2153#define CSIDL_FLAG_CREATE 0x8000
2154
2155#define CSIDL_FLAG_MASK 0xff00
2156
2157/****************************************************************************
2158 * SHGetDesktopFolder API
2159 */
2161
2162/****************************************************************************
2163 * SHBindToParent API
2164 */
2165HRESULT
2166WINAPI
2171 _Outptr_opt_ PCUITEMID_CHILD *ppidlLast);
2172
2173/****************************************************************************
2174 * SHCreateFileExtractIcon API
2175 */
2176#if (NTDDI_VERSION >= NTDDI_WINXP)
2177
2178// NOTE: Even if documented on MSDN, the SHCreateFileExtractIconA()
2179// ANSI function never existed on Windows!
2180
2181HRESULT
2182WINAPI
2184 _In_ LPCWSTR pszFile,
2187 _Outptr_ void **ppv);
2188
2189#ifdef UNICODE
2190#define SHCreateFileExtractIcon SHCreateFileExtractIconW
2191#endif
2192
2193#endif /* (NTDDI_VERSION >= NTDDI_WINXP) */
2194
2195/****************************************************************************
2196* SHDefExtractIcon API
2197*/
2198HRESULT
2199WINAPI
2201 _In_ LPCSTR pszIconFile,
2202 int iIndex,
2203 UINT uFlags,
2204 _Out_opt_ HICON* phiconLarge,
2205 _Out_opt_ HICON* phiconSmall,
2206 UINT nIconSize);
2207
2208HRESULT
2209WINAPI
2211 _In_ LPCWSTR pszIconFile,
2212 int iIndex,
2213 UINT uFlags,
2214 _Out_opt_ HICON* phiconLarge,
2215 _Out_opt_ HICON* phiconSmall,
2216 UINT nIconSize);
2217
2218#define SHDefExtractIcon WINELIB_NAME_AW(SHDefExtractIcon)
2219
2220/*
2221 * DROPFILES for CF_HDROP and CF_PRINTERS
2222 */
2223typedef struct _DROPFILES
2224{
2230
2231
2232/*
2233 * FILEDESCRIPTOR[A|W].dwFlags
2234 */
2235#define FD_CLSID 0x00000001
2236#define FD_SIZEPOINT 0x00000002
2237#define FD_ATTRIBUTES 0x00000004
2238#define FD_CREATETIME 0x00000008
2239#define FD_ACCESSTIME 0x00000010
2240#define FD_WRITESTIME 0x00000020
2241#define FD_FILESIZE 0x00000040
2242#define FD_PROGRESSUI 0x00004000
2243#define FD_LINKUI 0x00008000
2244#if (NTDDI_VERSION >= NTDDI_VISTA)
2245#define FD_UNICODE 0x80000000
2246#endif
2247
2248/*
2249 * Properties of a file in the clipboard
2250 */
2251typedef struct _FILEDESCRIPTORA {
2264
2265typedef struct _FILEDESCRIPTORW {
2278
2279DECL_WINELIB_TYPE_AW(FILEDESCRIPTOR)
2280DECL_WINELIB_TYPE_AW(LPFILEDESCRIPTOR)
2281
2282/*
2283 * CF_FILEGROUPDESCRIPTOR clipboard format
2284 */
2289
2294
2295DECL_WINELIB_TYPE_AW(FILEGROUPDESCRIPTOR)
2296DECL_WINELIB_TYPE_AW(LPFILEGROUPDESCRIPTOR)
2297
2298/****************************************************************************
2299 * Cabinet functions
2300 */
2301
2302typedef struct {
2315 UINT :15; /* Required for proper binary layout with gcc */
2318
2319#define CABINETSTATE_VERSION 2
2320
2321BOOL
2322WINAPI
2325 int cLength);
2326
2328
2329/****************************************************************************
2330 * Path Manipulation Routines
2331 */
2332
2333/* PathProcessCommand flags */
2334#define PPCF_ADDQUOTES 0x01
2335#define PPCF_INCLUDEARGS 0x02
2336#define PPCF_ADDARGUMENTS 0x03
2337#define PPCF_NODIRECTORIES 0x10
2338#define PPCF_DONTRESOLVE 0x20
2339#define PPCF_FORCEQUALIFY 0x40
2340#define PPCF_LONGESTPOSSIBLE 0x80
2341
2342/* PathResolve flags */
2343#define PRF_VERIFYEXISTS 0x01
2344#define PRF_EXECUTABLE 0x02
2345#define PRF_TRYPROGRAMEXTENSIONS (PRF_EXECUTABLE | PRF_VERIFYEXISTS)
2346#define PRF_FIRSTDIRDEF 0x04
2347#define PRF_DONTFINDLNK 0x08 // Used when PRF_TRYPROGRAMEXTENSIONS is specified
2348#if (NTDDI_VERSION >= NTDDI_WINXPSP2)
2349#define PRF_REQUIREABSOLUTE 0x10
2350#endif
2351
2353
2354LONG
2355WINAPI
2357 _In_ LPCWSTR,
2358 _Out_writes_(cchDest) LPWSTR,
2359 int cchDest,
2360 DWORD);
2361
2362_Success_(return != 0)
2363BOOL
2364WINAPI
2370
2371/****************************************************************************
2372 * Drag And Drop Routines
2373 */
2374
2375/* DAD_AutoScroll sample structure */
2376#define NUM_POINTS 3
2377typedef struct
2378{
2385
2392
2393HRESULT
2394WINAPI
2396 _In_opt_ HWND,
2399 _In_ DWORD,
2400 _Out_ LPDWORD);
2401
2402/****************************************************************************
2403 * Internet shortcut properties
2404 */
2405
2406#define PID_IS_URL 2
2407#define PID_IS_NAME 4
2408#define PID_IS_WORKINGDIR 5
2409#define PID_IS_HOTKEY 6
2410#define PID_IS_SHOWCMD 7
2411#define PID_IS_ICONINDEX 8
2412#define PID_IS_ICONFILE 9
2413#define PID_IS_WHATSNEW 10
2414#define PID_IS_AUTHOR 11
2415#define PID_IS_DESCRIPTION 12
2416#define PID_IS_COMMENT 13
2417
2418
2424#define ILCreateFromPath WINELIB_NAME_AW(ILCreateFromPath)
2436
2438{
2439 return !(pidl && pidl->mkid.cb);
2440}
2441
2442#include <poppack.h>
2443
2444
2445/* menu merging */
2446#define MM_ADDSEPARATOR 0x00000001L
2447#define MM_SUBMENUSHAVEIDS 0x00000002L
2448#define MM_DONTREMOVESEPS 0x00000004L
2449
2450UINT
2451WINAPI
2453 _In_ HMENU hmDst,
2454 _In_ HMENU hmSrc,
2455 UINT uInsert,
2456 UINT uIDAdjust,
2457 UINT uIDAdjustMax,
2458 ULONG uFlags);
2459
2460
2461/****************************************************************************
2462 * SHCreateDefaultContextMenu API
2463 */
2464
2465typedef struct
2466{
2475 const HKEY *aKeys;
2477
2478HRESULT
2479WINAPI
2481 _In_ const DEFCONTEXTMENU *,
2482 _In_ REFIID,
2483 _Outptr_ void **ppv);
2484
2485typedef HRESULT
2488 _In_opt_ HWND,
2490 UINT,
2491 WPARAM,
2492 LPARAM);
2493
2494HRESULT
2495WINAPI
2498 _In_opt_ HWND,
2499 UINT cidl,
2503 UINT nKeys,
2504 _In_reads_opt_(nKeys) const HKEY *,
2506
2507#define DFM_MERGECONTEXTMENU 1
2508#define DFM_INVOKECOMMAND 2
2509#define DFM_INVOKECOMMANDEX 12
2510#define DFM_GETDEFSTATICID 14
2511
2512#define DFM_GETHELPTEXT 5
2513#define DFM_WM_MEASUREITEM 6
2514#define DFM_WM_DRAWITEM 7
2515#define DFM_WM_INITMENUPOPUP 8
2516#define DFM_VALIDATECMD 9
2517#define DFM_MERGECONTEXTMENU_TOP 10
2518#define DFM_GETHELPTEXTW 11
2519#define DFM_MAPCOMMANDNAME 13
2520#define DFM_GETVERBW 15
2521#define DFM_GETVERBA 16
2522#define DFM_MERGECONTEXTMENU_BOTTOM 17
2523#define DFM_MODIFYQCMFLAGS 18
2524
2525
2526#define DFM_CMD_DELETE ((UINT)-1)
2527#define DFM_CMD_MOVE ((UINT)-2)
2528#define DFM_CMD_COPY ((UINT)-3)
2529#define DFM_CMD_LINK ((UINT)-4)
2530#define DFM_CMD_PROPERTIES ((UINT)-5)
2531#define DFM_CMD_NEWFOLDER ((UINT)-6)
2532#define DFM_CMD_PASTE ((UINT)-7)
2533#define DFM_CMD_VIEWLIST ((UINT)-8)
2534#define DFM_CMD_VIEWDETAILS ((UINT)-9)
2535#define DFM_CMD_PASTELINK ((UINT)-10)
2536#define DFM_CMD_PASTESPECIAL ((UINT)-11)
2537#define DFM_CMD_MODALPROP ((UINT)-12)
2538#define DFM_CMD_RENAME ((UINT)-13)
2539
2540/****************************************************************************
2541 * SHCreateDefaultExtractIcon API
2542 */
2543
2546 REFIID riid,
2547 void **ppv);
2548/****************************************************************************
2549 * SHCreateDataObject API
2550 */
2551
2553 _In_opt_ PCIDLIST_ABSOLUTE pidlFolder,
2554 _In_ UINT cidl,
2556 _In_opt_ IDataObject *pdtInner,
2558 _Outptr_ void **ppv);
2559
2560/****************************************************************************
2561 * CIDLData_CreateFromIDArray API
2562 */
2563
2565 _In_ PCIDLIST_ABSOLUTE pidlFolder,
2566 _In_ UINT cidl,
2568 _Outptr_ IDataObject **ppdtobj);
2569
2570/****************************************************************************
2571 * SHRunControlPanel
2572 */
2573
2574BOOL
2575WINAPI
2577 _In_ LPCWSTR commandLine,
2579
2580/****************************************************************************
2581 * SHGetAttributesFromDataObject
2582 */
2583
2584HRESULT
2585WINAPI
2587 _In_opt_ IDataObject* pdo,
2588 DWORD dwAttributeMask,
2589 _Out_opt_ DWORD* pdwAttributes,
2591
2592/****************************************************************************
2593 * SHOpenWithDialog
2594 */
2595
2597{
2602#if (NTDDI_VERSION >= NTDDI_VISTA)
2605#endif
2606};
2608
2609
2610typedef struct tagOPENASINFO {
2615
2616HRESULT
2617WINAPI
2620 _In_ const OPENASINFO *poainfo);
2621
2622#define INTERFACE IShellIconOverlayIdentifier
2623
2624DECLARE_INTERFACE_(IShellIconOverlayIdentifier, IUnknown)
2625{
2629
2630 STDMETHOD (IsMemberOf)(THIS_ _In_ LPCWSTR pwszPath, DWORD dwAttrib) PURE;
2631 STDMETHOD (GetOverlayInfo)(THIS_ _Out_writes_(cchMax) LPWSTR pwszIconFile, int cchMax, _Out_ int * pIndex, _Out_ DWORD * pdwFlags) PURE;
2632 STDMETHOD (GetPriority)(THIS_ _Out_ int * pIPriority) PURE;
2633};
2634
2635#if !defined(__cplusplus) || defined(CINTERFACE)
2636/*** IUnknown methods ***/
2637#define IShellIconOverlayIdentifier_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
2638#define IShellIconOverlayIdentifier_AddRef(p) (p)->lpVtbl->AddRef(p)
2639#define IShellIconOverlayIdentifier_Release(p) (p)->lpVtbl->Release(p)
2640/*** IShellIconOverlayIdentifier methods ***/
2641#define IShellIconOverlayIdentifier_IsMemberOf(p,a,b) (p)->lpVtbl->IsMemberOf(p,a,b)
2642#define IShellIconOverlayIdentifier_GetOverlayInfo(p,a,b,c,d) (p)->lpVtbl->GetOverlayInfo(p,a,b,c,d)
2643#define IShellIconOverlayIdentifier_GetPriority(p,a) (p)->lpVtbl->GetPriority(p,a)
2644#endif
2645
2646#define ISIOI_ICONFILE 0x00000001
2647#define ISIOI_ICONINDEX 0x00000002
2648
2649#undef INTERFACE
2650
2651/****************************************************************************
2652 * Travel log
2653 */
2654
2655#define TLOG_BACK -1
2656#define TLOG_FORE 1
2657
2658#define TLMENUF_INCLUDECURRENT 0x00000001
2659#define TLMENUF_CHECKCURRENT (TLMENUF_INCLUDECURRENT | 0x00000002)
2660#define TLMENUF_BACK 0x00000010 // Default
2661#define TLMENUF_FORE 0x00000020
2662#define TLMENUF_BACKANDFORTH (TLMENUF_BACK | TLMENUF_FORE | TLMENUF_INCLUDECURRENT)
2663
2664/*****************************************************************************
2665 * IDockingWindowSite interface
2666 */
2667#define INTERFACE IDockingWindowSite
2668DECLARE_INTERFACE_(IDockingWindowSite, IOleWindow)
2669{
2670 // *** IUnknown methods ***
2674
2675 // *** IOleWindow methods ***
2676 STDMETHOD(GetWindow)(THIS_ HWND *lphwnd) PURE;
2677 STDMETHOD(ContextSensitiveHelp)(THIS_ BOOL fEnterMode) PURE;
2678
2679 // *** IDockingWindowSite methods ***
2680 STDMETHOD(GetBorderDW)(THIS_ _In_ IUnknown *punkObj, _Out_ LPRECT prcBorder) PURE;
2681 STDMETHOD(RequestBorderSpaceDW)(THIS_ _In_ IUnknown *punkObj, _In_ LPCBORDERWIDTHS pbw) PURE;
2682 STDMETHOD(SetBorderSpaceDW)(THIS_ _In_ IUnknown *punkObj, _In_ LPCBORDERWIDTHS pbw) PURE;
2683};
2684#undef INTERFACE
2685
2686#if !defined(__cplusplus) || defined(CINTERFACE)
2687/*** IUnknown methods ***/
2688#define IDockingWindowSite_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
2689#define IDockingWindowSite_AddRef(p) (p)->lpVtbl->AddRef(p)
2690#define IDockingWindowSite_Release(p) (p)->lpVtbl->Release(p)
2691/*** IOleWindow methods ***/
2692#define IDockingWindowSite_GetWindow(p,a) (p)->lpVtbl->GetWindow(p,a)
2693#define IDockingWindowSite_ContextSensitiveHelp(p,a) (p)->lpVtbl->ContextSensitiveHelp(p,a)
2694/*** IDockingWindowSite methods ***/
2695#define IDockingWindowSite_GetBorderDW(p,a,b) (p)->lpVtbl->GetBorderDW(p,a,b)
2696#define IDockingWindowSite_RequestBorderSpaceDW(p,a,b) (p)->lpVtbl->RequestBorderSpaceDW(p,a,b)
2697#define IDockingWindowSite_SetBorderSpaceDW(p,a,b) (p)->lpVtbl->SetBorderSpaceDW(p,a,b)
2698#endif
2699
2700typedef void (CALLBACK *PFNASYNCICONTASKBALLBACK)(LPCITEMIDLIST pidl, LPVOID pvData, LPVOID pvHint, INT iIconIndex, INT iOpenIconIndex);
2701
2702#define ISFB_MASK_STATE 0x00000001
2703#define ISFB_MASK_IDLIST 0x00000010
2704
2705#define ISFB_STATE_QLINKSMODE 0x00000020
2706#define ISFB_STATE_NOSHOWTEXT 0x00000004
2707
2708#include <pshpack8.h>
2709
2710typedef struct {
2722
2723#include <poppack.h>
2724
2725#undef INTERFACE
2726#define INTERFACE IShellFolderBand
2727
2729{
2730 // *** IUnknown methods ***
2734
2735 // *** IShellFolderBand Methods ***
2736 STDMETHOD(InitializeSFB)(THIS_ IShellFolder *psf, PCIDLIST_ABSOLUTE pidl) PURE;
2737 STDMETHOD(SetBandInfoSFB)(THIS_ PBANDINFOSFB pbi) PURE;
2738 STDMETHOD(GetBandInfoSFB)(THIS_ PBANDINFOSFB pbi) PURE;
2739};
2740#undef INTERFACE
2741
2742#if (NTDDI_VERSION >= NTDDI_WIN2K) && (NTDDI_VERSION <= NTDDI_WINXPSP2)
2743/*****************************************************************************
2744 * Control Panel functions
2745 */
2748#endif
2749
2750#ifdef __cplusplus
2751} /* extern "C" */
2752#endif /* defined(__cplusplus) */
2753
2754#endif /* __WINE_SHLOBJ_H */
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 THIS_
Definition: basetyps.h:65
#define THIS
Definition: basetyps.h:66
#define PURE
Definition: basetyps.h:64
#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
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:3048
BOOL WINAPI PathYetAnotherMakeUniqueName(LPWSTR buffer, LPCWSTR path, LPCWSTR shortname, LPCWSTR longname)
Definition: shellpath.c:705
BOOL WINAPI SHGetSpecialFolderPathW(HWND hwndOwner, LPWSTR szPath, int nFolder, BOOL bCreate)
Definition: shellpath.c:3061
#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:84
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
#define _Outptr_opt_result_buffer_(size)
Definition: ms_sal.h:457
#define _Out_opt_
Definition: ms_sal.h:346
#define _Success_(expr)
Definition: ms_sal.h:259
#define _Inout_
Definition: ms_sal.h:378
#define _Out_writes_bytes_(size)
Definition: ms_sal.h:350
#define _Outptr_result_maybenull_
Definition: ms_sal.h:428
#define _Inout_updates_(size)
Definition: ms_sal.h:387
#define _Check_return_
Definition: ms_sal.h:557
#define _Outptr_opt_
Definition: ms_sal.h:429
#define _Outptr_
Definition: ms_sal.h:427
#define _Out_writes_(size)
Definition: ms_sal.h:348
#define _Inout_opt_
Definition: ms_sal.h:379
#define _Out_
Definition: ms_sal.h:345
#define _In_reads_opt_(size)
Definition: ms_sal.h:320
#define _In_
Definition: ms_sal.h:308
#define _In_opt_
Definition: ms_sal.h:309
#define _Outptr_result_buffer_(size)
Definition: ms_sal.h:456
#define _Reserved_
Definition: ms_sal.h:295
#define _In_reads_(size)
Definition: ms_sal.h:319
_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 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:1282
BOOL WINAPI SHGetPathFromIDListW(LPCITEMIDLIST pidl, LPWSTR pszPath)
Definition: pidl.c:1344
#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:1511
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:519
struct _FILEGROUPDESCRIPTORA FILEGROUPDESCRIPTORA
HRESULT WINAPI SHPathPrepareForWriteW(_In_opt_ HWND, _In_opt_ IUnknown *, _In_ LPCWSTR, DWORD)
struct _FILEDESCRIPTORA * LPFILEDESCRIPTORA
#define NUM_POINTS
Definition: shlobj.h:2376
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:507
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:2066
@ SHGFP_TYPE_DEFAULT
Definition: shlobj.h:2068
@ SHGFP_TYPE_CURRENT
Definition: shlobj.h:2067
struct SHFOLDERCUSTOMSETTINGSA * LPSHFOLDERCUSTOMSETTINGSA
struct _FILEDESCRIPTORW FILEDESCRIPTORW
void(CALLBACK * PFNASYNCICONTASKBALLBACK)(LPCITEMIDLIST pidl, LPVOID pvData, LPVOID pvHint, INT iIconIndex, INT iOpenIconIndex)
Definition: shlobj.h:2700
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:732
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:667
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:1012
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:523
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:1257
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:503
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:2394
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:259
void WINAPI SHFree(_In_opt_ LPVOID)
HRESULT WINAPI SHStartNetConnectionDialogW(_In_ HWND hwnd, _In_ LPCWSTR pszRemoteName, _In_ DWORD dwType)
Definition: stubs.cpp:696
BOOL WINAPI DAD_DragEnterEx(HWND, POINT)
Definition: shellord.c:1569
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: stubs.cpp:197
SHELL_LINK_DATA_FLAGS
Definition: shlobj.h:1860
@ SLDF_PREFER_ENVIRONMENT_PATH
Definition: shlobj.h:1891
@ SLDF_DISABLE_KNOWNFOLDER_RELATIVE_TRACKING
Definition: shlobj.h:1886
@ SLDF_HAS_RELPATH
Definition: shlobj.h:1865
@ SLDF_ALLOW_LINK_TO_LINK
Definition: shlobj.h:1889
@ SLDF_UNALIAS_ON_SAVE
Definition: shlobj.h:1890
@ SLDF_HAS_EXP_SZ
Definition: shlobj.h:1871
@ SLDF_DISABLE_LINK_PATH_TRACKING
Definition: shlobj.h:1885
@ SLDF_HAS_ID_LIST
Definition: shlobj.h:1862
@ SLDF_NO_KF_ALIAS
Definition: shlobj.h:1888
@ SLDF_PERSIST_VOLUME_ID_RELATIVE
Definition: shlobj.h:1894
@ SLDF_FORCE_NO_LINKTRACK
Definition: shlobj.h:1883
@ SLDF_HAS_DARWINID
Definition: shlobj.h:1876
@ SLDF_RUN_IN_SEPARATE
Definition: shlobj.h:1872
@ SLDF_ENABLE_TARGET_METADATA
Definition: shlobj.h:1884
@ SLDF_HAS_LINK_INFO
Definition: shlobj.h:1863
@ SLDF_HAS_WORKINGDIR
Definition: shlobj.h:1866
@ SLDF_RESERVED
Definition: shlobj.h:1903
@ SLDF_HAS_ARGS
Definition: shlobj.h:1867
@ SLDF_FORCE_NO_LINKINFO
Definition: shlobj.h:1870
@ SLDF_NO_PIDL_ALIAS
Definition: shlobj.h:1879
@ SLDF_HAS_EXP_ICON_SZ
Definition: shlobj.h:1878
@ SLDF_DEFAULT
Definition: shlobj.h:1861
@ SLDF_RUNAS_USER
Definition: shlobj.h:1877
@ SLDF_UNICODE
Definition: shlobj.h:1869
@ SLDF_RUN_WITH_SHIMLAYER
Definition: shlobj.h:1881
@ SLDF_VALID
Definition: shlobj.h:1895
@ SLDF_KEEP_LOCAL_IDLIST_FOR_UNC_TARGET
Definition: shlobj.h:1892
@ SLDF_HAS_ICONLOCATION
Definition: shlobj.h:1868
@ SLDF_FORCE_UNCNAME
Definition: shlobj.h:1880
@ SLDF_HAS_NAME
Definition: shlobj.h:1864
struct _CSFV * LPCSFV
struct SHFOLDERCUSTOMSETTINGSW * LPSHFOLDERCUSTOMSETTINGSW
static const WCHAR CFSTR_SHELLURLW[]
Definition: shlobj.h:515
tagOPEN_AS_INFO_FLAGS
Definition: shlobj.h:2597
@ OAIF_EXEC
Definition: shlobj.h:2600
@ OAIF_REGISTER_EXT
Definition: shlobj.h:2599
@ OAIF_ALLOW_REGISTRATION
Definition: shlobj.h:2598
@ OAIF_URL_PROTOCOL
Definition: shlobj.h:2604
@ OAIF_HIDE_REGISTRATION
Definition: shlobj.h:2603
@ OAIF_FORCE_REGISTRATION
Definition: shlobj.h:2601
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:1727
HPSXA WINAPI SHCreatePropSheetExtArray(_In_ HKEY, _In_opt_ LPCWSTR, UINT)
BOOL WINAPI DAD_SetDragImage(HIMAGELIST, LPPOINT)
Definition: shellord.c:1598
HRESULT WINAPI SHGetRealIDL(_In_ IShellFolder *psf, _In_ PCUITEMID_CHILD pidlSimple, _Outptr_ PITEMID_CHILD *ppidlReal)
int WINAPI SHCreateDirectoryExA(_In_opt_ HWND, _In_ LPCSTR, _In_opt_ LPSECURITY_ATTRIBUTES)
static const WCHAR CFSTR_FILENAMEW[]
Definition: shlobj.h:509
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:501
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:59
_Check_return_ HRESULT WINAPI SHGetDesktopFolder(_Outptr_ IShellFolder **)
static const WCHAR CFSTR_INDRAGLOOPW[]
Definition: shlobj.h:525
PUITEMID_CHILD WINAPI ILFindLastID(_In_ PCUIDLIST_RELATIVE)
static const WCHAR CFSTR_PRINTERGROUPW[]
Definition: shlobj.h:513
BOOL WINAPI IsUserAnAdmin(void)
Definition: shellord.c:2591
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:2607
struct _QCMINFO_IDMAP QCMINFO_IDMAP
BOOL WINAPI DAD_AutoScroll(HWND, AUTO_SCROLL_DATA *, const POINT *)
Definition: shellord.c:1551
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:964
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:202
void WINAPI SHDestroyPropSheetExtArray(_In_ HPSXA)
int WINAPI IsNetDrive(int)
Definition: shlfileop.cpp:2210
BOOL WINAPI DAD_DragMove(POINT)
Definition: shellord.c:1578
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
static BOOL ILIsEmpty(_In_opt_ PCUIDLIST_RELATIVE pidl)
Definition: shlobj.h:2437
PIDLIST_ABSOLUTE WINAPI ILCreateFromPathA(_In_ PCSTR)
static const WCHAR CFSTR_MOUNTEDVOLUMEW[]
Definition: shlobj.h:529
struct SHELLSTATE * LPSHELLSTATE
BOOL WINAPI SHRunControlPanel(_In_ LPCWSTR commandLine, _In_opt_ HWND parent)
Definition: shellord.c:1476
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:505
static const WCHAR CFSTR_PERSISTEDDATAOBJECTW[]
Definition: shlobj.h:531
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:538
int WINAPI SHCreateDirectoryExW(_In_opt_ HWND, _In_ LPCWSTR, _In_opt_ LPSECURITY_ATTRIBUTES)
struct tagDATABLOCKHEADER * LPDBLIST
static const WCHAR CFSTR_AUTOPLAY_SHELLIDLISTSW[]
Definition: shlobj.h:535
static const WCHAR CFSTR_INETURLW[]
Definition: shlobj.h:517
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:318
struct _SFV_CREATE SFV_CREATE
static const WCHAR CFSTR_FILENAMEMAPW[]
Definition: shlobj.h:511
HRESULT WINAPI SHCreateFileExtractIconW(_In_ LPCWSTR pszFile, _In_ DWORD dwFileAttributes, _In_ REFIID riid, _Outptr_ void **ppv)
static const WCHAR CFSTR_TARGETCLSIDW[]
Definition: shlobj.h:533
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:527
HRESULT(CALLBACK * LPFNDFMCALLBACK)(_In_opt_ IShellFolder *, _In_opt_ HWND, _In_opt_ IDataObject *, UINT, WPARAM, LPARAM)
Definition: shlobj.h:2486
PIDLIST_ABSOLUTE WINAPI SHCloneSpecialIDList(_Reserved_ HWND hwnd, _In_ int csidl, _In_ BOOL fCreate)
INT(CALLBACK * BFFCALLBACK)(HWND, UINT, LPARAM, LPARAM)
Definition: shlobj.h:1177
RESTRICTIONS
Definition: shlobj.h:1626
@ REST_PROMPTRUNASINSTALLNETPATH
Definition: shlobj.h:1715
@ REST_BITBUCKCONFIRMDELETE
Definition: shlobj.h:1773
@ REST_ALLOWUNHASHEDWEBVIEW
Definition: shlobj.h:1786
@ REST_RUNDLGMEMCHECKBOX
Definition: shlobj.h:1690
@ REST_NODISPSETTINGSPG
Definition: shlobj.h:1777
@ REST_DONTSHOWSUPERHIDDEN
Definition: shlobj.h:1711
@ REST_NOFOLDEROPTIONS
Definition: shlobj.h:1687
@ REST_STARTBANNER
Definition: shlobj.h:1640
@ REST_NOPUBLISHWIZARD
Definition: shlobj.h:1783
@ REST_NOSMMYMUSIC
Definition: shlobj.h:1758
@ REST_NOCOMPUTERSNEARME
Definition: shlobj.h:1731
@ REST_NOFILEASSOCIATE
Definition: shlobj.h:1794
@ REST_NOSMNETWORKPLACES
Definition: shlobj.h:1756
@ REST_NOPRINTERTABS
Definition: shlobj.h:1642
@ REST_MYDOCSONNET
Definition: shlobj.h:1646
@ REST_NORUNASINSTALLPROMPT
Definition: shlobj.h:1714
@ REST_NOCUSTOMIZEWEBVIEW
Definition: shlobj.h:1666
@ REST_NOSETACTIVEDESKTOP
Definition: shlobj.h:1684
@ REST_NOENCRYPTONMOVE
Definition: shlobj.h:1725
@ REST_NOCURRENTUSERRUNONCE
Definition: shlobj.h:1729
@ REST_ARP_ShowPostSetup
Definition: shlobj.h:1691
@ REST_NOMOVINGBAND
Definition: shlobj.h:1675
@ REST_CLASSICSHELL
Definition: shlobj.h:1665
@ REST_NOTHEMESTAB
Definition: shlobj.h:1748
@ REST_NOSETTINGSASSIST
Definition: shlobj.h:1657
@ REST_NOCLOSE_DRAGDROPBAND
Definition: shlobj.h:1674
@ REST_DISALLOWCPL
Definition: shlobj.h:1721
@ REST_FORCESTARTMENULOGOFF
Definition: shlobj.h:1704
@ REST_NOWEB
Definition: shlobj.h:1652
@ REST_MaxRecentDocs
Definition: shlobj.h:1702
@ REST_NONETCRAWL
Definition: shlobj.h:1733
@ REST_NOENCRYPTION
Definition: shlobj.h:1707
@ REST_NOSAVESET
Definition: shlobj.h:1630
@ REST_ARP_NOADDPAGE
Definition: shlobj.h:1697
@ REST_NOSIZECHOICE
Definition: shlobj.h:1750
@ REST_NODESKCOMP
Definition: shlobj.h:1670
@ REST_NOTHUMBNAILCACHE
Definition: shlobj.h:1781
@ REST_NOSETFOLDERS
Definition: shlobj.h:1632
@ REST_INHERITCONSOLEHANDLES
Definition: shlobj.h:1790
@ REST_NOCONTROLPANEL
Definition: shlobj.h:1693
@ REST_NOCOMMONGROUPS
Definition: shlobj.h:1650
@ REST_NOPRINTERADD
Definition: shlobj.h:1644
@ REST_NOSTARTPANEL
Definition: shlobj.h:1746
@ REST_NONETCONNECTDISCONNECT
Definition: shlobj.h:1655
@ REST_BITBUCKNOPROP
Definition: shlobj.h:1774
@ REST_HIDECLOCK
Definition: shlobj.h:1768
@ REST_NOCONTROLPANELBARRICADE
Definition: shlobj.h:1739
@ REST_NOSMMYPICS
Definition: shlobj.h:1736
@ REST_NOFORGETSOFTWAREUPDATE
Definition: shlobj.h:1683
@ REST_NOSTARTPAGE
Definition: shlobj.h:1740
@ REST_BITBUCKNUKEONDELETE
Definition: shlobj.h:1772
@ REST_ALLOWLEGACYWEBVIEW
Definition: shlobj.h:1787
@ REST_NOCUSTOMIZETHISFOLDER
Definition: shlobj.h:1706
@ REST_NOTOOLBARSONTASKBAR
Definition: shlobj.h:1763
@ REST_NODRIVEAUTORUN
Definition: shlobj.h:1637
@ REST_HIDERUNASVERB
Definition: shlobj.h:1780
@ REST_NODISPLAYCPL
Definition: shlobj.h:1779
@ REST_NOSMPINNEDLIST
Definition: shlobj.h:1757
@ REST_NOSMMFUPROGRAMS
Definition: shlobj.h:1761
@ REST_NOWINKEYS
Definition: shlobj.h:1724
@ REST_NOCHANGEMAPPEDDRIVELABEL
Definition: shlobj.h:1700
@ REST_NOMANAGEMYCOMPUTERVERB
Definition: shlobj.h:1716
@ REST_NOTRAYCONTEXTMENU
Definition: shlobj.h:1653
@ REST_NOCDBURNING
Definition: shlobj.h:1743
@ REST_MYCOMPNOPROP
Definition: shlobj.h:1744
@ REST_NOUSERNAMEINSTARTPANEL
Definition: shlobj.h:1754
@ REST_ENUMWORKGROUP
Definition: shlobj.h:1694
@ REST_NOCHANGESTARMENU
Definition: shlobj.h:1686
@ REST_NOVISUALSTYLECHOICE
Definition: shlobj.h:1749
@ REST_NODESKTOPCLEANUP
Definition: shlobj.h:1771
@ REST_SETVISUALSTYLE
Definition: shlobj.h:1752
@ REST_NOEXITTODOS
Definition: shlobj.h:1647
@ REST_NORECENTDOCSHISTORY
Definition: shlobj.h:1659
@ REST_SEPARATEDESKTOPPROCESS
Definition: shlobj.h:1651
@ REST_STARTMENULOGOFF
Definition: shlobj.h:1656
@ REST_NOSMBALLOONTIP
Definition: shlobj.h:1722
@ REST_NOAUTOTRAYNOTIFY
Definition: shlobj.h:1741
@ REST_NOTRAYITEMSDISPLAY
Definition: shlobj.h:1762
@ REST_NOWEBSERVICES
Definition: shlobj.h:1785
@ REST_NORECENTDOCSNETHOOD
Definition: shlobj.h:1717
@ REST_ARP_NOREMOVEPAGE
Definition: shlobj.h:1696
@ REST_NOVIEWCONTEXTMENU
Definition: shlobj.h:1654
@ REST_NOSMCONFIGUREPROGRAMS
Definition: shlobj.h:1767
@ REST_NOLOCALMACHINERUNONCE
Definition: shlobj.h:1728
@ REST_NOACTIVEDESKTOPCHANGES
Definition: shlobj.h:1662
@ REST_ARP_NOWINSETUPPAGE
Definition: shlobj.h:1698
@ REST_NOWEBVIEW
Definition: shlobj.h:1705
@ REST_NOSHELLSEARCHBUTTON
Definition: shlobj.h:1712
@ REST_NOSTRCMPLOGICAL
Definition: shlobj.h:1782
@ REST_NOONLINEPRINTSWIZARD
Definition: shlobj.h:1784
@ REST_NODISPBACKGROUND
Definition: shlobj.h:1775
@ REST_NOLOCALMACHINERUN
Definition: shlobj.h:1726
@ REST_GREYMSIADS
Definition: shlobj.h:1699
@ REST_NODELDESKCOMP
Definition: shlobj.h:1672
@ REST_NOSMEJECTPC
Definition: shlobj.h:1759
@ REST_NOWELCOMESCREEN
Definition: shlobj.h:1719
@ REST_NORESOLVETRACK
Definition: shlobj.h:1678
@ REST_NOCHANGEMAPPEDDRIVECOMMENT
Definition: shlobj.h:1701
@ REST_NOACTIVEDESKTOP
Definition: shlobj.h:1661
@ REST_NOCLOSEDESKCOMP
Definition: shlobj.h:1673
@ REST_REVERTWEBVIEWSECURITY
Definition: shlobj.h:1788
@ REST_RESTRICTCPL
Definition: shlobj.h:1720
@ REST_NONETWORKCONNECTIONS
Definition: shlobj.h:1703
@ REST_NOLOWDISKSPACECHECKS
Definition: shlobj.h:1769
@ REST_NOUPDATEWINDOWS
Definition: shlobj.h:1685
@ REST_NOSECURITY
Definition: shlobj.h:1793
@ REST_RESTRICTRUN
Definition: shlobj.h:1641
@ REST_NOSMMOREPROGRAMS
Definition: shlobj.h:1760
@ REST_NOINTERNETICON
Definition: shlobj.h:1658
@ REST_NOSMMYDOCS
Definition: shlobj.h:1735
@ REST_NORECENTDOCSMENU
Definition: shlobj.h:1660
@ REST_NOSETTASKBAR
Definition: shlobj.h:1633
@ REST_NOCHANGINGWALLPAPER
Definition: shlobj.h:1669
@ REST_NOVIEWONDRIVE
Definition: shlobj.h:1732
@ REST_NOPRINTERDELETE
Definition: shlobj.h:1643
@ REST_NOSTARTMENUSUBFOLDERS
Definition: shlobj.h:1645
@ REST_NOEDITDESKCOMP
Definition: shlobj.h:1676
@ REST_FORCECOPYACLWITHFILE
Definition: shlobj.h:1679
@ REST_NOTASKGROUPING
Definition: shlobj.h:1742
@ REST_NODISPSCREENSAVEPG
Definition: shlobj.h:1776
@ REST_LINKRESOLVEIGNORELINKINFO
Definition: shlobj.h:1649
@ REST_NOHTMLWALLPAPER
Definition: shlobj.h:1668
@ REST_NORUN
Definition: shlobj.h:1628
@ REST_NONLEGACYSHELLMODE
Definition: shlobj.h:1738
@ REST_NOFIND
Definition: shlobj.h:1635
@ REST_ALLOWFRENCHENCRYPTION
Definition: shlobj.h:1709
@ REST_NONE
Definition: shlobj.h:1627
@ REST_NODRIVES
Definition: shlobj.h:1636
@ REST_NOCURRENTUSERRUN
Definition: shlobj.h:1727
@ REST_INTELLIMENUS
Definition: shlobj.h:1689
@ REST_NODISPLAYAPPEARANCEPAGE
Definition: shlobj.h:1747
@ REST_NODISCONNECT
Definition: shlobj.h:1792
@ REST_NODISPSCREENSAVEPREVIEW
Definition: shlobj.h:1778
@ REST_NOSMHELP
Definition: shlobj.h:1723
@ REST_NOFILEMENU
Definition: shlobj.h:1631
@ REST_ARP_NOARP
Definition: shlobj.h:1695
@ REST_NODRIVETYPEAUTORUN
Definition: shlobj.h:1638
@ REST_STARTRUNNOHOMEPATH
Definition: shlobj.h:1753
@ REST_NOSHAREDDOCUMENTS
Definition: shlobj.h:1734
@ REST_NODESKTOP
Definition: shlobj.h:1634
@ REST_DISALLOWRUN
Definition: shlobj.h:1718
@ REST_CLEARRECENTDOCSONEXIT
Definition: shlobj.h:1664
@ REST_NONETHOOD
Definition: shlobj.h:1639
@ REST_ALLOWBITBUCKDRIVES
Definition: shlobj.h:1737
@ REST_NOCSC
Definition: shlobj.h:1692
@ REST_NORESOLVESEARCH
Definition: shlobj.h:1677
@ REST_NOCLOSE
Definition: shlobj.h:1629
@ REST_NOADDDESKCOMP
Definition: shlobj.h:1671
@ REST_FORCEACTIVEDESKTOPON
Definition: shlobj.h:1730
@ REST_HASFINDCOMPUTERS
Definition: shlobj.h:1688
@ REST_NOCOLORCHOICE
Definition: shlobj.h:1751
@ REST_NOMYCOMPUTERICON
Definition: shlobj.h:1755
@ REST_NOHARDWARETAB
Definition: shlobj.h:1713
@ REST_MYDOCSNOPROP
Definition: shlobj.h:1745
@ REST_NOFAVORITESMENU
Definition: shlobj.h:1663
@ REST_NOENTIRENETWORK
Definition: shlobj.h:1770
@ REST_ENFORCESHELLEXTSECURITY
Definition: shlobj.h:1648
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:499
HRESULT WINAPI SHSetFolderPathA(_In_ INT csidl, _In_ HANDLE hToken, _In_ DWORD dwFlags, _In_ LPCSTR pszPath)
Definition: utils.cpp:41
struct _SHChangeNotifyEntry SHChangeNotifyEntry
struct _QCMINFO_IDMAP_PLACEMENT QCMINFO_IDMAP_PLACEMENT
BOOL WINAPI DAD_DragLeave(void)
Definition: shellord.c:1587
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 _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:827
_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:1510
static const WCHAR CFSTR_PERFORMEDDROPEFFECTW[]
Definition: shlobj.h:521
FOLDERVIEWMODE
Definition: shobjidl.idl:666
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:2380
COLORREF crBkgnd
Definition: shlobj.h:2714
PIDLIST_ABSOLUTE pidl
Definition: shlobj.h:2720
DWORD dwStateMask
Definition: shlobj.h:2712
DWORD dwMask
Definition: shlobj.h:2711
IShellFolder * psf
Definition: shlobj.h:2719
WORD wAlign
Definition: shlobj.h:2718
COLORREF crBtnLt
Definition: shlobj.h:2715
DWORD dwState
Definition: shlobj.h:2713
WORD wViewMode
Definition: shlobj.h:2717
COLORREF crBtnDk
Definition: shlobj.h:2716
UINT fMenuEnumFilter
Definition: shlobj.h:2316
WORD cLength
Definition: shlobj.h:2303
BOOL fSimpleDefault
Definition: shlobj.h:2308
BOOL fDontPrettyNames
Definition: shlobj.h:2312
BOOL fShowCompColor
Definition: shlobj.h:2311
WORD nVersion
Definition: shlobj.h:2304
BOOL fDontShowDescBar
Definition: shlobj.h:2309
BOOL fNotShell
Definition: shlobj.h:2307
BOOL fNewWindowMode
Definition: shlobj.h:2310
UINT fUnusedFlags
Definition: shlobj.h:2314
BOOL fSaveLocalView
Definition: shlobj.h:2306
BOOL fAdminsCreateCommonGroups
Definition: shlobj.h:2313
BOOL fFullPathTitle
Definition: shlobj.h:2305
Definition: shlobj.h:565
UINT cidl
Definition: shlobj.h:565
IContextMenuCB * pcmcb
Definition: shlobj.h:2468
IShellFolder * psf
Definition: shlobj.h:2470
IUnknown * punkAssociationInfo
Definition: shlobj.h:2473
PCUITEMID_CHILD_ARRAY apidl
Definition: shlobj.h:2472
const HKEY * aKeys
Definition: shlobj.h:2475
PCIDLIST_ABSOLUTE pidlFolder
Definition: shlobj.h:2469
DWORD idSpecialFolder
Definition: shlobj.h:1959
DATABLOCK_HEADER dbh
Definition: shlobj.h:1939
BOOL fMapNetDrvBtn
Definition: shlobj.h:1583
BOOL fShowInfoTip
Definition: shlobj.h:1584
BOOL fWin95Classic
Definition: shlobj.h:1579
BOOL fShowCompColor
Definition: shlobj.h:1576
BOOL fHideIcons
Definition: shlobj.h:1586
BOOL fDoubleClickInWebView
Definition: shlobj.h:1577
BOOL fDesktopHTML
Definition: shlobj.h:1578
BOOL fShowExtensions
Definition: shlobj.h:1572
BOOL fNoConfirmRecycle
Definition: shlobj.h:1573
UINT fRestFlags
Definition: shlobj.h:1587
BOOL fShowSysFiles
Definition: shlobj.h:1574
BOOL fDontPrettyPath
Definition: shlobj.h:1581
BOOL fShowAllObjects
Definition: shlobj.h:1571
BOOL fShowAttribCol
Definition: shlobj.h:1582
BOOL fShowStartPage
Definition: shlobj.h:1560
BOOL fShowSysFiles
Definition: shlobj.h:1536
BOOL fWin95Classic
Definition: shlobj.h:1540
BOOL fDesktopHTML
Definition: shlobj.h:1539
BOOL fShowSuperHidden
Definition: shlobj.h:1548
BOOL fMapNetDrvBtn
Definition: shlobj.h:1543
UINT fSpareFlags
Definition: shlobj.h:1561
BOOL fHideIcons
Definition: shlobj.h:1545