2 * Copyright (C) the Wine project
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.
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.
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE_SHLOBJ_H
20 #define __WINE_SHLOBJ_H
23 #include "winbase.h" /* WIN32_FIND_* */
32 #endif /* defined(__cplusplus) */
36 /****************************************************************************
37 * SHITEMID, ITEMIDLIST, PIDL API
42 WORD cb; /* nr of bytes in this item */
43 BYTE abID[1]; /* first byte in this item */
44 } SHITEMID, *LPSHITEMID;
45 typedef LPSHITEMID const LPCSHITEMID;
47 typedef struct _ITEMIDLIST
49 SHITEMID mkid; /* first itemid in list */
50 } ITEMIDLIST,*LPITEMIDLIST,*LPCITEMIDLIST;
53 BOOL WINAPI SHGetPathFromIDListA (LPCITEMIDLIST pidl,LPSTR pszPath);
54 BOOL WINAPI SHGetPathFromIDListW (LPCITEMIDLIST pidl,LPWSTR pszPath);
55 #define SHGetPathFromIDList WINELIB_NAME_AW(SHGetPathFromIDList)
58 #include "wine/obj_enumidlist.h"
59 #include "wine/obj_shellfolder.h"
60 #include "wine/obj_shellview.h"
61 #include "wine/obj_shelllink.h"
62 #include "wine/obj_shellbrowser.h"
63 #include "wine/obj_contextmenu.h"
64 #include "wine/obj_shellextinit.h"
65 #include "wine/obj_extracticon.h"
66 #include "wine/obj_commdlgbrowser.h"
67 #include "wine/obj_dockingwindowframe.h"
69 /*****************************************************************************
70 * Predeclare interfaces
72 typedef struct IShellIcon IShellIcon, *LPSHELLICON;
75 /*****************************************************************************
76 * IContextMenu interface
80 /* DATAOBJECT_InitShellIDList*/
81 #define CFSTR_SHELLIDLIST "Shell IDList Array" /* CF_IDLIST */
83 extern UINT cfShellIDList;
90 #define CFSTR_SHELLIDLISTOFFSET "Shell Object Offsets" /* CF_OBJECTPOSITIONS */
91 #define CFSTR_NETRESOURCES "Net Resource" /* CF_NETRESOURCE */
93 /* DATAOBJECT_InitFileGroupDesc */
94 #define CFSTR_FILEDESCRIPTORA "FileGroupDescriptor" /* CF_FILEGROUPDESCRIPTORA */
95 extern UINT cfFileGroupDesc;
97 #define CFSTR_FILEDESCRIPTORW "FileGroupDescriptorW" /* CF_FILEGROUPDESCRIPTORW */
99 /* DATAOBJECT_InitFileContents*/
100 #define CFSTR_FILECONTENTS "FileContents" /* CF_FILECONTENTS */
101 extern UINT cfFileContents;
103 #define CFSTR_FILENAMEA "FileName" /* CF_FILENAMEA */
104 #define CFSTR_FILENAMEW "FileNameW" /* CF_FILENAMEW */
105 #define CFSTR_PRINTERGROUP "PrinterFriendlyName" /* CF_PRINTERS */
106 #define CFSTR_FILENAMEMAPA "FileNameMap" /* CF_FILENAMEMAPA */
107 #define CFSTR_FILENAMEMAPW "FileNameMapW" /* CF_FILENAMEMAPW */
108 #define CFSTR_SHELLURL "UniformResourceLocator"
109 #define CFSTR_PREFERREDDROPEFFECT "Preferred DropEffect"
110 #define CFSTR_PERFORMEDDROPEFFECT "Performed DropEffect"
111 #define CFSTR_PASTESUCCEEDED "Paste Succeeded"
112 #define CFSTR_INDRAGLOOP "InShellDragLoop"
115 /************************************************************************
116 * IShellView interface
119 typedef GUID SHELLVIEWID;
120 #define SV_CLASS_NAME ("SHELLDLL_DefView")
122 /****************************************************************************
123 * IShellIcon interface
126 #define INTERFACE IShellIcon
127 #define IShellIcon_METHODS \
129 STDMETHOD(GetIconOf)(THIS_ LPCITEMIDLIST pidl, UINT flags, LPINT lpIconIndex) PURE;
130 ICOM_DEFINE(IShellIcon, IUnknown)
134 /*** IUnknown methods ***/
135 #define IShellIcon_QueryInterface(p,a,b) (p)->lpVtbl->QueryInterface(p,a,b)
136 #define IShellIcon_AddRef(p) (p)->lpVtbl->AddRef(p)
137 #define IShellIcon_Release(p) (p)->lpVtbl->Release(p)
138 /*** IShellIcon methods ***/
139 #define IShellIcon_GetIconOf(p,a,b,c) (p)->lpVtbl->GetIconOf(p,a,b,c)
142 /****************************************************************************
143 * SHAddToRecentDocs API
145 #define SHARD_PIDL 0x00000001L
146 #define SHARD_PATHA 0x00000002L
147 #define SHARD_PATHW 0x00000003L
148 #define SHARD_PATH WINELIB_NAME_AW(SHARD_PATH)
150 DWORD WINAPI SHAddToRecentDocs(UINT uFlags, LPCVOID pv);
152 /****************************************************************************
155 #define SE_ERR_FNF 2 /* file not found */
156 #define SE_ERR_PNF 3 /* path not found */
157 #define SE_ERR_ACCESSDENIED 5 /* access denied */
158 #define SE_ERR_OOM 8 /* out of memory */
159 #define SE_ERR_DLLNOTFOUND 32
160 #define SE_ERR_SHARE 26
161 #define SE_ERR_ASSOCINCOMPLETE 27
162 #define SE_ERR_DDETIMEOUT 28
163 #define SE_ERR_DDEFAIL 29
164 #define SE_ERR_DDEBUSY 30
165 #define SE_ERR_NOASSOC 31
167 #define SEE_MASK_CLASSNAME 0x00000001
168 #define SEE_MASK_CLASSKEY 0x00000003
169 #define SEE_MASK_IDLIST 0x00000004
170 #define SEE_MASK_INVOKEIDLIST 0x0000000c
171 #define SEE_MASK_ICON 0x00000010
172 #define SEE_MASK_HOTKEY 0x00000020
173 #define SEE_MASK_NOCLOSEPROCESS 0x00000040
174 #define SEE_MASK_CONNECTNETDRV 0x00000080
175 #define SEE_MASK_FLAG_DDEWAIT 0x00000100
176 #define SEE_MASK_DOENVSUBST 0x00000200
177 #define SEE_MASK_FLAG_NO_UI 0x00000400
178 #define SEE_MASK_UNICODE 0x00004000
179 #define SEE_MASK_NO_CONSOLE 0x00008000
180 #define SEE_MASK_ASYNCOK 0x00100000
181 #define SEE_MASK_HMONITOR 0x00200000
183 typedef struct _SHELLEXECUTEINFOA
193 /* Optional fields */
203 } SHELLEXECUTEINFOA, *LPSHELLEXECUTEINFOA;
205 typedef struct _SHELLEXECUTEINFOW
211 LPCWSTR lpParameters;
225 } SHELLEXECUTEINFOW, *LPSHELLEXECUTEINFOW;
227 #define SHELLEXECUTEINFO WINELIB_NAME_AW(SHELLEXECUTEINFO)
228 #define LPSHELLEXECUTEINFO WINELIB_NAME_AW(LPSHELLEXECUTEINFO)
230 BOOL WINAPI ShellExecuteExA(LPSHELLEXECUTEINFOA lpExecInfo);
231 BOOL WINAPI ShellExecuteExW(LPSHELLEXECUTEINFOW lpExecInfo);
232 #define ShellExecuteEx WINELIB_NAME_AW(ShellExecuteEx)
234 void WINAPI WinExecErrorA(HWND hwnd,INT error, LPCSTR lpstrFileName, LPCSTR lpstrTitle);
235 void WINAPI WinExecErrorW(HWND hwnd,INT error, LPCWSTR lpstrFileName, LPCWSTR lpstrTitle);
236 #define WinExecError WINELIB_NAME_AW(WinExecError)
240 /****************************************************************************
241 * SHBrowseForFolder API
243 typedef INT (CALLBACK *BFFCALLBACK)(HWND hwnd, UINT uMsg, LPARAM lParam, LPARAM lpData);
245 typedef struct tagBROWSEINFOA {
247 LPCITEMIDLIST pidlRoot;
248 LPSTR pszDisplayName;
254 } BROWSEINFOA, *PBROWSEINFOA, *LPBROWSEINFOA;
256 typedef struct tagBROWSEINFOW {
258 LPCITEMIDLIST pidlRoot;
259 LPWSTR pszDisplayName;
265 } BROWSEINFOW, *PBROWSEINFOW, *LPBROWSEINFOW;
267 #define BROWSEINFO WINELIB_NAME_AW(BROWSEINFO)
268 #define PBROWSEINFO WINELIB_NAME_AW(PBROWSEINFO)
269 #define LPBROWSEINFO WINELIB_NAME_AW(LPBROWSEINFO)
271 /* Browsing for directory. */
272 #define BIF_RETURNONLYFSDIRS 0x0001
273 #define BIF_DONTGOBELOWDOMAIN 0x0002
274 #define BIF_STATUSTEXT 0x0004
275 #define BIF_RETURNFSANCESTORS 0x0008
276 #define BIF_EDITBOX 0x0010
277 #define BIF_VALIDATE 0x0020
279 #define BIF_BROWSEFORCOMPUTER 0x1000
280 #define BIF_BROWSEFORPRINTER 0x2000
281 #define BIF_BROWSEINCLUDEFILES 0x4000
283 /* message from browser */
284 #define BFFM_INITIALIZED 1
285 #define BFFM_SELCHANGED 2
286 #define BFFM_VALIDATEFAILEDA 3 /* lParam:szPath ret:1(cont),0(EndDialog) */
287 #define BFFM_VALIDATEFAILEDW 4 /* lParam:wzPath ret:1(cont),0(EndDialog) */
289 /* messages to browser */
290 #define BFFM_SETSTATUSTEXTA (WM_USER+100)
291 #define BFFM_ENABLEOK (WM_USER+101)
292 #define BFFM_SETSELECTIONA (WM_USER+102)
293 #define BFFM_SETSELECTIONW (WM_USER+103)
294 #define BFFM_SETSTATUSTEXTW (WM_USER+104)
295 #define BFFM_SETOKTEXT (WM_USER+105)
296 #define BFFM_SETEXPANDED (WM_USER+106)
298 LPITEMIDLIST WINAPI SHBrowseForFolderA(LPBROWSEINFOA lpbi);
299 LPITEMIDLIST WINAPI SHBrowseForFolderW(LPBROWSEINFOW lpbi);
300 #define SHBrowseForFolder WINELIB_NAME_AW(SHBrowseForFolder)
301 #define BFFM_SETSTATUSTEXT WINELIB_NAME_AW(BFFM_SETSTATUSTEXT)
302 #define BFFM_SETSELECTION WINELIB_NAME_AW(BFFM_SETSELECTION)
303 #define BFFM_VALIDATEFAILED WINELIB_NAME_AW(BFFM_VALIDATEFAILED)
305 /****************************************************************************
306 * SHGetDataFromIDList API
308 #define SHGDFIL_FINDDATA 1
309 #define SHGDFIL_NETRESOURCE 2
310 #define SHGDFIL_DESCRIPTIONID 3
312 #define SHDID_ROOT_REGITEM 1
313 #define SHDID_FS_FILE 2
314 #define SHDID_FS_DIRECTORY 3
315 #define SHDID_FS_OTHER 4
316 #define SHDID_COMPUTER_DRIVE35 5
317 #define SHDID_COMPUTER_DRIVE525 6
318 #define SHDID_COMPUTER_REMOVABLE 7
319 #define SHDID_COMPUTER_FIXED 8
320 #define SHDID_COMPUTER_NETDRIVE 9
321 #define SHDID_COMPUTER_CDROM 10
322 #define SHDID_COMPUTER_RAMDISK 11
323 #define SHDID_COMPUTER_OTHER 12
324 #define SHDID_NET_DOMAIN 13
325 #define SHDID_NET_SERVER 14
326 #define SHDID_NET_SHARE 15
327 #define SHDID_NET_RESTOFNET 16
328 #define SHDID_NET_OTHER 17
330 typedef struct _SHDESCRIPTIONID
331 { DWORD dwDescriptionId;
333 } SHDESCRIPTIONID, *LPSHDESCRIPTIONID;
335 HRESULT WINAPI SHGetDataFromIDListA(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, int nFormat, LPVOID pv, int cb);
336 HRESULT WINAPI SHGetDataFromIDListW(LPSHELLFOLDER psf, LPCITEMIDLIST pidl, int nFormat, LPVOID pv, int cb);
337 #define SHGetDataFromIDList WINELIB_NAME_AW(SHGetDataFromIDList)
339 BOOL WINAPI SHGetSpecialFolderPathA (HWND hwndOwner,LPSTR szPath,DWORD csidl,BOOL bCreate);
340 BOOL WINAPI SHGetSpecialFolderPathW (HWND hwndOwner,LPWSTR szPath,DWORD csidl,BOOL bCreate);
341 #define SHGetSpecialFolderPath WINELIB_NAME_AW(SHGetSpecialFolderPath)
343 HRESULT WINAPI SHGetSpecialFolderLocation(HWND hwndOwner, INT nFolder, LPITEMIDLIST * ppidl);
345 /****************************************************************************
350 * IShellFolderViewCallback Callback
351 * This "callback" is called by the shells default IShellView implementation (that
352 * we got using SHCreateShellViewEx()), to notify us of the various things that
353 * are happening to the shellview (and ask for things too).
355 * You don't have to support anything here - anything you don't want to
356 * handle, the shell will do itself if you just return E_NOTIMPL. This parameters
357 * that the shell passes to this function are entirely undocumented.
359 * HOWEVER, as the cabview sample as originally written used this callback, the
360 * writers implemented the callback mechanism on top of their own IShellView.
361 * Look there for some clues on what to do here.
364 typedef HRESULT (CALLBACK *SHELLVIEWPROC)(DWORD dwUserParam,LPSHELLFOLDER psf,
365 HWND hwnd,UINT uMsg,UINT wParam,LPARAM lParam);
367 /* NF valid values for the "viewmode" item of the SHELLTEMPLATE*/
368 #define NF_INHERITVIEW 0x0000
369 #define NF_LOCALVIEW 0x0001
371 typedef struct _SHELLVIEWDATA /* idl */
373 LPSHELLFOLDER pShellFolder;
376 DWORD v3; /* always 0 */
377 SHELLVIEWPROC pCallBack;
378 DWORD viewmode; /* NF_* enum */
379 } SHELLVIEWDATA, * LPSHELLVIEWDATA;
381 HRESULT WINAPI SHGetMalloc(LPMALLOC *lpmal) ;
383 /**********************************************************************
384 * SHGetSetSettings ()
389 BOOL fShowAllObjects : 1;
390 BOOL fShowExtensions : 1;
391 BOOL fNoConfirmRecycle : 1;
393 BOOL fShowSysFiles : 1;
394 BOOL fShowCompColor : 1;
395 BOOL fDoubleClickInWebView : 1;
396 BOOL fDesktopHTML : 1;
397 BOOL fWin95Classic : 1;
398 BOOL fDontPrettyPath : 1;
399 BOOL fShowAttribCol : 1;
400 BOOL fMapNetDrvBtn : 1;
401 BOOL fShowInfoTip : 1;
405 BOOL fShowSuperHidden : 1;
406 BOOL fNoNetCrawling : 1;
415 BOOL fStartPanelOn: 1;
416 BOOL fShowStartPage: 1;
417 UINT fSpareFlags : 13;
418 } SHELLSTATE, *LPSHELLSTATE;
420 /**********************************************************************
424 { BOOL fShowAllObjects : 1;
425 BOOL fShowExtensions : 1;
426 BOOL fNoConfirmRecycle : 1;
427 BOOL fShowSysFiles : 1;
429 BOOL fShowCompColor : 1;
430 BOOL fDoubleClickInWebView : 1;
431 BOOL fDesktopHTML : 1;
432 BOOL fWin95Classic : 1;
434 BOOL fDontPrettyPath : 1;
435 BOOL fShowAttribCol : 1;
436 BOOL fMapNetDrvBtn : 1;
437 BOOL fShowInfoTip : 1;
441 } SHELLFLAGSTATE, * LPSHELLFLAGSTATE;
443 VOID WINAPI SHGetSettings(LPSHELLFLAGSTATE lpsfs, DWORD dwMask);
445 #define SSF_SHOWALLOBJECTS 0x0001
446 #define SSF_SHOWEXTENSIONS 0x0002
447 #define SSF_SHOWCOMPCOLOR 0x0008
448 #define SSF_SHOWSYSFILES 0x0020
449 #define SSF_DOUBLECLICKINWEBVIEW 0x0080
450 #define SSF_SHOWATTRIBCOL 0x0100
451 #define SSF_DESKTOPHTML 0x0200
452 #define SSF_WIN95CLASSIC 0x0400
453 #define SSF_DONTPRETTYPATH 0x0800
454 #define SSF_SHOWINFOTIP 0x2000
455 #define SSF_MAPNETDRVBUTTON 0x1000
456 #define SSF_NOCONFIRMRECYCLE 0x8000
457 #define SSF_HIDEICONS 0x4000
459 /**********************************************************************
462 #define SHCNE_RENAMEITEM 0x00000001
463 #define SHCNE_CREATE 0x00000002
464 #define SHCNE_DELETE 0x00000004
465 #define SHCNE_MKDIR 0x00000008
466 #define SHCNE_RMDIR 0x00000010
467 #define SHCNE_MEDIAINSERTED 0x00000020
468 #define SHCNE_MEDIAREMOVED 0x00000040
469 #define SHCNE_DRIVEREMOVED 0x00000080
470 #define SHCNE_DRIVEADD 0x00000100
471 #define SHCNE_NETSHARE 0x00000200
472 #define SHCNE_NETUNSHARE 0x00000400
473 #define SHCNE_ATTRIBUTES 0x00000800
474 #define SHCNE_UPDATEDIR 0x00001000
475 #define SHCNE_UPDATEITEM 0x00002000
476 #define SHCNE_SERVERDISCONNECT 0x00004000
477 #define SHCNE_UPDATEIMAGE 0x00008000
478 #define SHCNE_DRIVEADDGUI 0x00010000
479 #define SHCNE_RENAMEFOLDER 0x00020000
480 #define SHCNE_FREESPACE 0x00040000
482 #define SHCNE_EXTENDED_EVENT 0x04000000
483 #define SHCNE_ASSOCCHANGED 0x08000000
484 #define SHCNE_DISKEVENTS 0x0002381F
485 #define SHCNE_GLOBALEVENTS 0x0C0581E0
486 #define SHCNE_ALLEVENTS 0x7FFFFFFF
487 #define SHCNE_INTERRUPT 0x80000000
489 #define SHCNEE_ORDERCHANGED 0x00000002
491 #define SHCNF_IDLIST 0x0000
492 #define SHCNF_PATHA 0x0001
493 #define SHCNF_PRINTERA 0x0002
494 #define SHCNF_DWORD 0x0003
495 #define SHCNF_PATHW 0x0005
496 #define SHCNF_PRINTERW 0x0006
497 #define SHCNF_TYPE 0x00FF
498 #define SHCNF_FLUSH 0x1000
499 #define SHCNF_FLUSHNOWAIT 0x2000
501 void WINAPI SHChangeNotify(LONG wEventId, UINT uFlags, LPCVOID dwItem1, LPCVOID dwItem2);
503 /****************************************************************************
504 * SHCreateDirectory API
506 DWORD WINAPI SHCreateDirectory(HWND, LPCVOID);
507 DWORD WINAPI SHCreateDirectoryExA(HWND, LPCSTR, LPSECURITY_ATTRIBUTES);
508 DWORD WINAPI SHCreateDirectoryExW(HWND, LPCWSTR, LPSECURITY_ATTRIBUTES);
510 /****************************************************************************
511 * SHGetSpecialFolderLocation API
513 HRESULT WINAPI SHGetSpecialFolderLocation(HWND, INT, LPITEMIDLIST *);
515 #define CSIDL_DESKTOP 0x0000
516 #define CSIDL_INTERNET 0x0001
517 #define CSIDL_PROGRAMS 0x0002
518 #define CSIDL_CONTROLS 0x0003
519 #define CSIDL_PRINTERS 0x0004
520 #define CSIDL_PERSONAL 0x0005
521 #define CSIDL_FAVORITES 0x0006
522 #define CSIDL_STARTUP 0x0007
523 #define CSIDL_RECENT 0x0008
524 #define CSIDL_SENDTO 0x0009
525 #define CSIDL_BITBUCKET 0x000a
526 #define CSIDL_STARTMENU 0x000b
527 #define CSIDL_MYDOCUMENTS 0x000c
528 #define CSIDL_MYMUSIC 0x000d
529 #define CSIDL_MYVIDEO 0x000e
530 #define CSIDL_DESKTOPDIRECTORY 0x0010
531 #define CSIDL_DRIVES 0x0011
532 #define CSIDL_NETWORK 0x0012
533 #define CSIDL_NETHOOD 0x0013
534 #define CSIDL_FONTS 0x0014
535 #define CSIDL_TEMPLATES 0x0015
536 #define CSIDL_COMMON_STARTMENU 0x0016
537 #define CSIDL_COMMON_PROGRAMS 0X0017
538 #define CSIDL_COMMON_STARTUP 0x0018
539 #define CSIDL_COMMON_DESKTOPDIRECTORY 0x0019
540 #define CSIDL_APPDATA 0x001a
541 #define CSIDL_PRINTHOOD 0x001b
542 #define CSIDL_LOCAL_APPDATA 0x001c
543 #define CSIDL_ALTSTARTUP 0x001d
544 #define CSIDL_COMMON_ALTSTARTUP 0x001e
545 #define CSIDL_COMMON_FAVORITES 0x001f
546 #define CSIDL_INTERNET_CACHE 0x0020
547 #define CSIDL_COOKIES 0x0021
548 #define CSIDL_HISTORY 0x0022
549 #define CSIDL_COMMON_APPDATA 0x0023
550 #define CSIDL_WINDOWS 0x0024
551 #define CSIDL_SYSTEM 0x0025
552 #define CSIDL_PROGRAM_FILES 0x0026
553 #define CSIDL_MYPICTURES 0x0027
554 #define CSIDL_PROFILE 0x0028
555 #define CSIDL_SYSTEMX86 0x0029
556 #define CSIDL_PROGRAM_FILESX86 0x002a
557 #define CSIDL_PROGRAM_FILES_COMMON 0x002b
558 #define CSIDL_PROGRAM_FILES_COMMONX86 0x002c
559 #define CSIDL_COMMON_TEMPLATES 0x002d
560 #define CSIDL_COMMON_DOCUMENTS 0x002e
561 #define CSIDL_COMMON_ADMINTOOLS 0x002f
562 #define CSIDL_ADMINTOOLS 0x0030
563 #define CSIDL_CONNECTIONS 0x0031
564 #define CSIDL_COMMON_MUSIC 0x0035
565 #define CSIDL_COMMON_PICTURES 0x0036
566 #define CSIDL_COMMON_VIDEO 0x0037
567 #define CSIDL_RESOURCES 0x0038
568 #define CSIDL_RESOURCES_LOCALIZED 0x0039
569 #define CSIDL_COMMON_OEM_LINKS 0x003a
570 #define CSIDL_CDBURN_AREA 0x003b
571 #define CSIDL_COMPUTERSNEARME 0x003d
572 #define CSIDL_PROFILES 0x003e
573 #define CSIDL_FOLDER_MASK 0x00ff
574 #define CSIDL_FLAG_PER_USER_INIT 0x0800
575 #define CSIDL_FLAG_NO_ALIAS 0x1000
576 #define CSIDL_FLAG_DONT_VERIFY 0x4000
577 #define CSIDL_FLAG_CREATE 0x8000
579 #define CSIDL_FLAG_MASK 0xff00
581 /****************************************************************************
584 HRESULT WINAPI SHBindToParent(LPCITEMIDLIST pidl, REFIID riid, LPVOID *ppv, LPCITEMIDLIST *ppidlLast);
586 /****************************************************************************
587 * SHDefExtractIcon API
589 HRESULT WINAPI SHDefExtractIconA(LPCSTR pszIconFile, int iIndex, UINT uFlags,
590 HICON* phiconLarge, HICON* phiconSmall, UINT nIconSize);
591 HRESULT WINAPI SHDefExtractIconW(LPCWSTR pszIconFile, int iIndex, UINT uFlags,
592 HICON* phiconLarge, HICON* phiconSmall, UINT nIconSize);
593 #define SHDefExtractIcon WINELIB_NAME_AW(SHDefExtractIcon)
596 * DROPFILES for CF_HDROP and CF_PRINTERS
598 typedef struct _DROPFILES
604 } DROPFILES, *LPDROPFILES;
610 #endif /* defined(__cplusplus) */
612 #endif /* __WINE_SHLOBJ_H */