wbemprox: Add class SystemRestore stub implementation.
[wine.git] / include / shellapi.h
blob0f10690f7e034de8debacf75bf80cf972d10c387
1 /*
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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_SHELLAPI_H
20 #define __WINE_SHELLAPI_H
22 #ifdef __cplusplus
23 extern "C" {
24 #endif /* defined(__cplusplus) */
26 #ifndef _WIN64
27 #include <pshpack1.h>
28 #endif
30 DECLARE_HANDLE(HDROP);
32 /******************************************
33 * DragObject
36 typedef struct _DRAGINFOA
37 { UINT uSize;
38 POINT pt;
39 BOOL fNC;
40 LPSTR lpFileList;
41 DWORD grfKeyState;
42 } DRAGINFOA, *LPDRAGINFOA;
44 typedef struct _DRAGINFOW
45 { UINT uSize;
46 POINT pt;
47 BOOL fNC;
48 LPWSTR lpFileList;
49 DWORD grfKeyState;
50 } DRAGINFOW, *LPDRAGINFOW;
52 DECL_WINELIB_TYPE_AW(DRAGINFO)
53 DECL_WINELIB_TYPE_AW(LPDRAGINFO)
55 void WINAPI DragAcceptFiles(HWND hWnd, BOOL b);
56 UINT WINAPI DragQueryFileA(HDROP hDrop, UINT lFile, LPSTR lpszFile, UINT lLength);
57 UINT WINAPI DragQueryFileW(HDROP hDrop, UINT lFile, LPWSTR lpszFile, UINT lLength);
58 #define DragQueryFile WINELIB_NAME_AW(DragQueryFile)
59 void WINAPI DragFinish(HDROP h);
60 BOOL WINAPI DragQueryPoint(HDROP hDrop, POINT *p);
64 /******************************************
65 * Application Bar
67 #define ABM_NEW 0x00000000
68 #define ABM_REMOVE 0x00000001
69 #define ABM_QUERYPOS 0x00000002
70 #define ABM_SETPOS 0x00000003
71 #define ABM_GETSTATE 0x00000004
72 #define ABM_GETTASKBARPOS 0x00000005
73 #define ABM_ACTIVATE 0x00000006
74 #define ABM_GETAUTOHIDEBAR 0x00000007
75 #define ABM_SETAUTOHIDEBAR 0x00000008
76 #define ABM_WINDOWPOSCHANGED 0x00000009
78 #define ABN_STATECHANGE 0x00000000
79 #define ABN_POSCHANGED 0x00000001
80 #define ABN_FULLSCREENAPP 0x00000002
81 #define ABN_WINDOWARRANGE 0x00000003
83 #define ABS_AUTOHIDE 0x00000001
84 #define ABS_ALWAYSONTOP 0x00000002
86 #define ABE_LEFT 0
87 #define ABE_TOP 1
88 #define ABE_RIGHT 2
89 #define ABE_BOTTOM 3
91 typedef struct _AppBarData
92 { DWORD cbSize;
93 HWND hWnd;
94 UINT uCallbackMessage;
95 UINT uEdge;
96 RECT rc;
97 LPARAM lParam;
98 } APPBARDATA, *PAPPBARDATA;
100 UINT_PTR WINAPI SHAppBarMessage(DWORD,PAPPBARDATA);
102 /******************************************
103 * SHGetFileInfo
106 #define SHGFI_LARGEICON 0x000000000 /* get large icon */
107 #define SHGFI_SMALLICON 0x000000001 /* get small icon */
108 #define SHGFI_OPENICON 0x000000002 /* get open icon */
109 #define SHGFI_SHELLICONSIZE 0x000000004 /* get shell size icon */
110 #define SHGFI_PIDL 0x000000008 /* pszPath is a pidl */
111 #define SHGFI_USEFILEATTRIBUTES 0x000000010 /* use passed dwFileAttribute */
112 #define SHGFI_ADDOVERLAYS 0x000000020
113 #define SHGFI_OVERLAYINDEX 0x000000040
114 #define SHGFI_ICON 0x000000100 /* get icon */
115 #define SHGFI_DISPLAYNAME 0x000000200 /* get display name */
116 #define SHGFI_TYPENAME 0x000000400 /* get type name */
117 #define SHGFI_ATTRIBUTES 0x000000800 /* get attributes */
118 #define SHGFI_ICONLOCATION 0x000001000 /* get icon location */
119 #define SHGFI_EXETYPE 0x000002000 /* return exe type */
120 #define SHGFI_SYSICONINDEX 0x000004000 /* get system icon index */
121 #define SHGFI_LINKOVERLAY 0x000008000 /* put a link overlay on icon */
122 #define SHGFI_SELECTED 0x000010000 /* show icon in selected state */
123 #define SHGFI_ATTR_SPECIFIED 0x000020000 /* get only specified attributes */
125 typedef struct tagSHFILEINFOA
126 { HICON hIcon; /* icon */
127 int iIcon; /* icon index */
128 DWORD dwAttributes; /* SFGAO_ flags */
129 CHAR szDisplayName[MAX_PATH];/* display name (or path) */
130 CHAR szTypeName[80]; /* type name */
131 } SHFILEINFOA;
133 typedef struct tagSHFILEINFOW
134 { HICON hIcon; /* icon */
135 int iIcon; /* icon index */
136 DWORD dwAttributes; /* SFGAO_ flags */
137 WCHAR szDisplayName[MAX_PATH];/* display name (or path) */
138 WCHAR szTypeName[80]; /* type name */
139 } SHFILEINFOW;
141 DECL_WINELIB_TYPE_AW(SHFILEINFO)
143 DWORD_PTR WINAPI SHGetFileInfoA(LPCSTR,DWORD,SHFILEINFOA*,UINT,UINT);
144 DWORD_PTR WINAPI SHGetFileInfoW(LPCWSTR,DWORD,SHFILEINFOW*,UINT,UINT);
145 #define SHGetFileInfo WINELIB_NAME_AW(SHGetFileInfo)
147 /******************************************
148 * SHGetImageList
151 HRESULT WINAPI SHGetImageList(INT, REFIID, void **);
153 #define SHIL_LARGE 0x0
154 #define SHIL_SMALL 0x1
155 #define SHIL_EXTRALARGE 0x2
156 #define SHIL_SYSSMALL 0x3
157 #define SHIL_JUMBO 0x4
158 #define SHIL_LAST SHIL_JUMBO
160 /******************************************
161 * SHSetFileInfo
164 /******************************************
165 * SHFileOperation
167 #define FO_MOVE 0x0001
168 #define FO_COPY 0x0002
169 #define FO_DELETE 0x0003
170 #define FO_RENAME 0x0004
172 #define FOF_MULTIDESTFILES 0x0001
173 #define FOF_CONFIRMMOUSE 0x0002
174 #define FOF_SILENT 0x0004
175 #define FOF_RENAMEONCOLLISION 0x0008
176 #define FOF_NOCONFIRMATION 0x0010
177 #define FOF_WANTMAPPINGHANDLE 0x0020
178 #define FOF_ALLOWUNDO 0x0040
179 #define FOF_FILESONLY 0x0080
180 #define FOF_SIMPLEPROGRESS 0x0100
181 #define FOF_NOCONFIRMMKDIR 0x0200
182 #define FOF_NOERRORUI 0x0400
183 #define FOF_NOCOPYSECURITYATTRIBS 0x0800
184 #define FOF_NORECURSION 0x1000 /* don't do recursion into directories */
185 #define FOF_NO_CONNECTED_ELEMENTS 0x2000 /* don't do connected files */
186 #define FOF_WANTNUKEWARNING 0x4000 /* during delete operation, warn if delete instead
187 of recycling (even if FOF_NOCONFIRMATION) */
188 #define FOF_NORECURSEREPARSE 0x8000 /* don't do recursion into reparse points */
189 #define FOF_NO_UI (FOF_SILENT | FOF_NOCONFIRMATION | FOF_NOERRORUI | FOF_NOCONFIRMMKDIR)
191 typedef WORD FILEOP_FLAGS;
193 #define PO_DELETE 0x0013
194 #define PO_RENAME 0x0014
195 #define PO_PORTCHANGE 0x0020
196 #define PO_REN_PORT (PO_RENAME | PO_PORTCHANGE)
198 typedef WORD PRINTEROP_FLAGS;
200 typedef struct _SHFILEOPSTRUCTA
201 { HWND hwnd;
202 UINT wFunc;
203 LPCSTR pFrom;
204 LPCSTR pTo;
205 FILEOP_FLAGS fFlags;
206 BOOL fAnyOperationsAborted;
207 LPVOID hNameMappings;
208 LPCSTR lpszProgressTitle;
209 } SHFILEOPSTRUCTA, *LPSHFILEOPSTRUCTA;
211 typedef struct _SHFILEOPSTRUCTW
212 { HWND hwnd;
213 UINT wFunc;
214 LPCWSTR pFrom;
215 LPCWSTR pTo;
216 FILEOP_FLAGS fFlags;
217 BOOL fAnyOperationsAborted;
218 LPVOID hNameMappings;
219 LPCWSTR lpszProgressTitle;
220 } SHFILEOPSTRUCTW, *LPSHFILEOPSTRUCTW;
222 #define SHFILEOPSTRUCT WINELIB_NAME_AW(SHFILEOPSTRUCT)
223 #define LPSHFILEOPSTRUCT WINELIB_NAME_AW(LPSHFILEOPSTRUCT)
225 int WINAPI SHFileOperationA (LPSHFILEOPSTRUCTA lpFileOp);
226 int WINAPI SHFileOperationW (LPSHFILEOPSTRUCTW lpFileOp);
227 #define SHFileOperation WINELIB_NAME_AW(SHFileOperation)
229 typedef struct _SHNAMEMAPPINGA
231 LPSTR pszOldPath;
232 LPSTR pszNewPath;
233 int cchOldPath;
234 int cchNewPath;
235 } SHNAMEMAPPINGA, *LPSHNAMEMAPPINGA;
237 typedef struct _SHNAMEMAPPINGW
239 LPWSTR pszOldPath;
240 LPWSTR pszNewPath;
241 int cchOldPath;
242 int cchNewPath;
243 } SHNAMEMAPPINGW, *LPSHNAMEMAPPINGW;
245 DECL_WINELIB_TYPE_AW(SHNAMEMAPPING)
246 DECL_WINELIB_TYPE_AW(LPSHNAMEMAPPING)
248 void WINAPI SHFreeNameMappings(HANDLE hNameMappings);
250 /******************************************
251 * ShellExecute
254 HINSTANCE WINAPI ShellExecuteA(HWND,LPCSTR,LPCSTR,LPCSTR,LPCSTR,INT);
255 HINSTANCE WINAPI ShellExecuteW(HWND,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,INT);
256 #define ShellExecute WINELIB_NAME_AW(ShellExecute)
258 #define SE_ERR_FNF 2 /* file not found */
259 #define SE_ERR_PNF 3 /* path not found */
260 #define SE_ERR_ACCESSDENIED 5 /* access denied */
261 #define SE_ERR_OOM 8 /* out of memory */
262 #define SE_ERR_DLLNOTFOUND 32
263 #define SE_ERR_SHARE 26
264 #define SE_ERR_ASSOCINCOMPLETE 27
265 #define SE_ERR_DDETIMEOUT 28
266 #define SE_ERR_DDEFAIL 29
267 #define SE_ERR_DDEBUSY 30
268 #define SE_ERR_NOASSOC 31
270 #define SEE_MASK_DEFAULT 0x00000000
271 #define SEE_MASK_CLASSNAME 0x00000001
272 #define SEE_MASK_CLASSKEY 0x00000003
273 #define SEE_MASK_IDLIST 0x00000004
274 #define SEE_MASK_INVOKEIDLIST 0x0000000c
275 #define SEE_MASK_ICON 0x00000010
276 #define SEE_MASK_HOTKEY 0x00000020
277 #define SEE_MASK_NOCLOSEPROCESS 0x00000040
278 #define SEE_MASK_CONNECTNETDRV 0x00000080
279 #define SEE_MASK_NOASYNC 0x00000100
280 #define SEE_MASK_FLAG_DDEWAIT SEE_MASK_NOASYNC
281 #define SEE_MASK_DOENVSUBST 0x00000200
282 #define SEE_MASK_FLAG_NO_UI 0x00000400
283 #define SEE_MASK_UNICODE 0x00004000
284 #define SEE_MASK_NO_CONSOLE 0x00008000
285 #define SEE_MASK_ASYNCOK 0x00100000
286 #define SEE_MASK_HMONITOR 0x00200000
287 #define SEE_MASK_NOZONECHECKS 0x00800000
288 #define SEE_MASK_NOQUERYCLASSSTORE 0x01000000
289 #define SEE_MASK_WAITFORINPUTIDLE 0x02000000
290 #define SEE_MASK_FLAG_LOG_USAGE 0x04000000
292 typedef struct _SHELLEXECUTEINFOA
293 { DWORD cbSize;
294 ULONG fMask;
295 HWND hwnd;
296 LPCSTR lpVerb;
297 LPCSTR lpFile;
298 LPCSTR lpParameters;
299 LPCSTR lpDirectory;
300 INT nShow;
301 HINSTANCE hInstApp;
302 /* Optional fields */
303 LPVOID lpIDList;
304 LPCSTR lpClass;
305 HKEY hkeyClass;
306 DWORD dwHotKey;
307 union
308 { HANDLE hIcon;
309 HANDLE hMonitor;
310 } DUMMYUNIONNAME;
311 HANDLE hProcess;
312 } SHELLEXECUTEINFOA, *LPSHELLEXECUTEINFOA;
314 typedef struct _SHELLEXECUTEINFOW
315 { DWORD cbSize;
316 ULONG fMask;
317 HWND hwnd;
318 LPCWSTR lpVerb;
319 LPCWSTR lpFile;
320 LPCWSTR lpParameters;
321 LPCWSTR lpDirectory;
322 INT nShow;
323 HINSTANCE hInstApp;
324 /* Optional fields*/
325 LPVOID lpIDList;
326 LPCWSTR lpClass;
327 HKEY hkeyClass;
328 DWORD dwHotKey;
329 union
330 { HANDLE hIcon;
331 HANDLE hMonitor;
332 } DUMMYUNIONNAME;
333 HANDLE hProcess;
334 } SHELLEXECUTEINFOW, *LPSHELLEXECUTEINFOW;
336 #define SHELLEXECUTEINFO WINELIB_NAME_AW(SHELLEXECUTEINFO)
337 #define LPSHELLEXECUTEINFO WINELIB_NAME_AW(LPSHELLEXECUTEINFO)
339 BOOL WINAPI ShellExecuteExA(LPSHELLEXECUTEINFOA lpExecInfo);
340 BOOL WINAPI ShellExecuteExW(LPSHELLEXECUTEINFOW lpExecInfo);
341 #define ShellExecuteEx WINELIB_NAME_AW(ShellExecuteEx)
343 void WINAPI WinExecErrorA(HWND hwnd,INT error, LPCSTR lpstrFileName, LPCSTR lpstrTitle);
344 void WINAPI WinExecErrorW(HWND hwnd,INT error, LPCWSTR lpstrFileName, LPCWSTR lpstrTitle);
345 #define WinExecError WINELIB_NAME_AW(WinExecError)
347 /******************************************
348 * Tray Notification
350 /* notifyicondata.uFlags values*/
351 #define NIF_MESSAGE 0x00000001
352 #define NIF_ICON 0x00000002
353 #define NIF_TIP 0x00000004
354 #define NIF_STATE 0x00000008
355 #define NIF_INFO 0x00000010
356 #define NIF_GUID 0x00000020
357 #define NIF_REALTIME 0x00000040
358 #define NIF_SHOWTIP 0x00000080
360 /* notifyicondata.dwState values */
361 #define NIS_HIDDEN 0x00000001
362 #define NIS_SHAREDICON 0x00000002
364 /* notifyicondata.dwInfoFlags values */
365 #define NIIF_NONE 0x00000000
366 #define NIIF_INFO 0x00000001
367 #define NIIF_WARNING 0x00000002
368 #define NIIF_ERROR 0x00000003
369 #define NIIF_USER 0x00000004
370 #define NIIF_ICONMASK 0x0000000f
371 #define NIIF_NOSOUND 0x00000010
372 #define NIIF_LARGEICON 0x00000020
374 /* dwMessage values */
375 #define NIM_ADD 0x00000000
376 #define NIM_MODIFY 0x00000001
377 #define NIM_DELETE 0x00000002
378 #define NIM_SETFOCUS 0x00000003
379 #define NIM_SETVERSION 0x00000004
381 #define NOTIFY_VERSION 3 /* supported by Windows 2000 and later */
382 #define NOTIFY_VERSION_4 4 /* supported by Windows Vista */
384 /* callback message lParam values */
385 #define NIN_SELECT (WM_USER+0)
386 #define NINF_KEY 1
387 #define NIN_KEYSELECT (NIN_SELECT|NINF_KEY) /* WM_USER+1 */
388 #define NIN_BALOONSHOW (WM_USER+2)
389 #define NIN_BALOONHIDE (WM_USER+3)
390 #define NIN_BALOONTIMEOUT (WM_USER+4)
391 #define NIN_BALOONCLICK (WM_USER+5)
392 #define NIN_POPUPOPEN (WM_USER+6)
393 #define NIN_POPUPCLOSE (WM_USER+7)
395 typedef struct _NOTIFYICONDATAA
396 { DWORD cbSize;
397 HWND hWnd;
398 UINT uID;
399 UINT uFlags;
400 UINT uCallbackMessage;
401 HICON hIcon;
402 CHAR szTip[128];
403 DWORD dwState;
404 DWORD dwStateMask;
405 CHAR szInfo[256];
406 union {
407 UINT uTimeout;
408 UINT uVersion;
409 } DUMMYUNIONNAME;
410 CHAR szInfoTitle[64];
411 DWORD dwInfoFlags;
412 GUID guidItem;
413 HICON hBalloonIcon;
414 } NOTIFYICONDATAA, *PNOTIFYICONDATAA;
416 typedef struct _NOTIFYICONDATAW
417 { DWORD cbSize;
418 HWND hWnd;
419 UINT uID;
420 UINT uFlags;
421 UINT uCallbackMessage;
422 HICON hIcon;
423 WCHAR szTip[128];
424 DWORD dwState;
425 DWORD dwStateMask;
426 WCHAR szInfo[256];
427 union {
428 UINT uTimeout;
429 UINT uVersion;
430 } DUMMYUNIONNAME;
431 WCHAR szInfoTitle[64];
432 DWORD dwInfoFlags;
433 GUID guidItem;
434 HICON hBalloonIcon;
435 } NOTIFYICONDATAW, *PNOTIFYICONDATAW;
437 typedef struct _NOTIFYICONIDENTIFIER
439 DWORD cbSize;
440 HWND hWnd;
441 UINT uID;
442 GUID guidItem;
443 } NOTIFYICONIDENTIFIER, *PNOTIFYICONIDENTIFIER;
445 DECL_WINELIB_TYPE_AW(NOTIFYICONDATA)
446 DECL_WINELIB_TYPE_AW(PNOTIFYICONDATA)
448 BOOL WINAPI Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA lpData);
449 BOOL WINAPI Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW lpData);
451 #define Shell_NotifyIcon WINELIB_NAME_AW(Shell_NotifyIcon)
453 HRESULT WINAPI Shell_NotifyIconGetRect(const NOTIFYICONIDENTIFIER* identifier, RECT* iconLocation);
455 /* pre IE 5.0 */
456 #define NOTIFYICONDATAA_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAA, szTip[64])
457 #define NOTIFYICONDATAW_V1_SIZE FIELD_OFFSET(NOTIFYICONDATAW, szTip[64])
459 /* pre Window XP */
460 #define NOTIFYICONDATAA_V2_SIZE FIELD_OFFSET(NOTIFYICONDATAA, guidItem)
461 #define NOTIFYICONDATAW_V2_SIZE FIELD_OFFSET(NOTIFYICONDATAW, guidItem)
463 /* pre Window Vista */
464 #define NOTIFYICONDATAA_V3_SIZE FIELD_OFFSET(NOTIFYICONDATAA, hBalloonIcon)
465 #define NOTIFYICONDATAW_V3_SIZE FIELD_OFFSET(NOTIFYICONDATAW, hBalloonIcon)
468 /******************************************
469 * Links
472 #define SHGNLI_PIDL 0x01
473 #define SHGNLI_PREFIXNAME 0x02
474 #define SHGNLI_NOUNIQUE 0x04
475 #define SHGNLI_NOLNK 0x08
477 BOOL WINAPI SHGetNewLinkInfoA(LPCSTR,LPCSTR,LPSTR,BOOL*,UINT);
478 BOOL WINAPI SHGetNewLinkInfoW(LPCWSTR,LPCWSTR,LPWSTR,BOOL*,UINT);
479 #define SHGetNewLinkInfo WINELIB_NAME_AW(SHGetNewLinkInfo)
481 /******************************************
482 * Recycle bin
485 typedef struct _SHQUERYRBINFO
487 DWORD cbSize;
488 DWORDLONG i64Size;
489 DWORDLONG i64NumItems;
490 } SHQUERYRBINFO, *LPSHQUERYRBINFO;
492 HRESULT WINAPI SHEmptyRecycleBinA(HWND,LPCSTR,DWORD);
493 HRESULT WINAPI SHEmptyRecycleBinW(HWND,LPCWSTR,DWORD);
494 #define SHEmptyRecycleBin WINELIB_NAME_AW(SHEmptyRecycleBin)
495 HRESULT WINAPI SHQueryRecycleBinA(LPCSTR,LPSHQUERYRBINFO);
496 HRESULT WINAPI SHQueryRecycleBinW(LPCWSTR,LPSHQUERYRBINFO);
497 #define SHQueryRecycleBin WINELIB_NAME_AW(SHQueryRecycleBin)
499 /******************************************
500 * Network Address Control
502 typedef struct tagNC_ADDRESS
504 struct NET_ADDRESS_INFO_ *pAddrInfo;
505 USHORT PortNumber;
506 BYTE PrefixLength;
507 } NC_ADDRESS, *PNC_ADDRESS;
509 #define NCM_GETADDRESS (WM_USER+1)
510 #define NCM_SETALLOWTYPE (WM_USER+2)
511 #define NCM_GETALLOWTYPE (WM_USER+3)
512 #define NCM_DISPLAYERRORTIP (WM_USER+4)
514 #define NetAddr_GetAddress(hwnd,addr) \
515 (HRESULT)SNDMSG(hwnd,NCM_GETADDRESS,0,(LPARAM)addr)
516 #define NetAddr_SetAllowType(hwnd, mask) \
517 (HRESULT)SNDMSG(hwnd,NCM_SETALLOWTYPE,(WPARAM)mask,0)
518 #define NetAddr_GetAllowType(hwnd) \
519 (DWORD)SNDMSG(hwnd,NCM_GETALLOWTYPE,0,0)
520 #define NetAddr_DisplayErrorTip(hwnd) \
521 (HRESULT)SNDMSG(hwnd,NCM_DISPLAYERRORTIP,0,0)
523 /******************************************
524 * Misc
527 typedef enum
529 QUNS_NOT_PRESENT = 1,
530 QUNS_BUSY = 2,
531 QUNS_RUNNING_D3D_FULL_SCREEN = 3,
532 QUNS_PRESENTATION_MODE = 4,
533 QUNS_ACCEPTS_NOTIFICATIONS = 5,
534 QUNS_QUIET_TIME = 6,
535 QUNS_APP = 7
536 } QUERY_USER_NOTIFICATION_STATE;
538 HRESULT WINAPI SHQueryUserNotificationState(QUERY_USER_NOTIFICATION_STATE*);
540 typedef enum SHSTOCKICONID
542 SIID_INVALID=-1,
543 SIID_DOCNOASSOC,
544 SIID_DOCASSOC,
545 SIID_APPLICATION,
546 SIID_FOLDER,
547 SIID_FOLDEROPEN,
548 SIID_DRIVE525,
549 SIID_DRIVE35,
550 SIID_DRIVERREMOVE,
551 SIID_DRIVERFIXED,
552 SIID_DRIVERNET,
553 SIID_DRIVERNETDISABLE,
554 SIID_DRIVERCD,
555 SIID_DRIVERRAM,
556 SIID_WORLD,
557 /* Missing: 14 */
558 SIID_SERVER = 15,
559 SIID_PRINTER,
560 SIID_MYNETWORK,
561 /* Missing: 18 - 21 */
562 SIID_FIND = 22,
563 SIID_HELP,
564 /* Missing: 24 - 27 */
565 SIID_SHARE = 28,
566 SIID_LINK,
567 SIID_SLOWFILE,
568 SIID_RECYCLER,
569 SIID_RECYCLERFULL,
570 /* Missing: 33 - 39 */
571 SIID_MEDIACDAUDIO = 40,
572 /* Missing: 41 - 46 */
573 SIID_LOCK = 47,
574 /* Missing: 48 */
575 SIID_AUTOLIST = 49,
576 SIID_PRINTERNET,
577 SIID_SERVERSHARE,
578 SIID_PRINTERFAX,
579 SIID_PRINTERFAXNET,
580 SIID_PRINTERFILE,
581 SIID_STACK,
582 SIID_MEDIASVCD,
583 SIID_STUFFEDFOLDER,
584 SIID_DRIVEUNKNOWN,
585 SIID_DRIVEDVD,
586 SIID_MEDIADVD,
587 SIID_MEDIADVDRAM,
588 SIID_MEDIADVDRW,
589 SIID_MEDIADVDR,
590 SIID_MEDIADVDROM,
591 SIID_MEDIACDAUDIOPLUS,
592 SIID_MEDIACDRW,
593 SIID_MEDIACDR,
594 SIID_MEDIACDBURN,
595 SIID_MEDIABLANKCD,
596 SIID_MEDIACDROM,
597 SIID_AUDIOFILES,
598 SIID_IMAGEFILES,
599 SIID_VIDEOFILES,
600 SIID_MIXEDFILES,
601 SIID_FOLDERBACK,
602 SIID_FOLDERFRONT,
603 SIID_SHIELD,
604 SIID_WARNING,
605 SIID_INFO,
606 SIID_ERROR,
607 SIID_KEY,
608 SIID_SOFTWARE,
609 SIID_RENAME,
610 SIID_DELETE,
611 SIID_MEDIAAUDIODVD,
612 SIID_MEDIAMOVIEDVD,
613 SIID_MEDIAENHANCEDCD,
614 SIID_MEDIAENHANCEDDVD,
615 SIID_MEDIAHDDVD,
616 SIID_MEDIABLUERAY,
617 SIID_MEDIAVCD,
618 SIID_MEDIADVDPLUSR,
619 SIID_MEDIADVDPLUSRW,
620 SIID_DESKTOPPC,
621 SIID_MOBILEPC,
622 SIID_USERS,
623 SIID_MEDIASMARTMEDIA,
624 SIID_MEDIACOMPACTFLASH,
625 SIID_DEVICECELLPHONE,
626 SIID_DEVICECAMERA,
627 SIID_DEVICEVIDEOCAMERA,
628 SIID_DEVICEAUDIOPLAYER,
629 SIID_NETWORKCONNECT,
630 SIID_INTERNET,
631 SIID_ZIPFILE,
632 SIID_SETTINGS,
633 /* Missing: 107 - 131 */
634 SIID_DRIVEHDDVD = 132,
635 SIID_DRIVEBD,
636 SIID_MEDIAHDDVDROM,
637 SIID_MEDIAHDDVDR,
638 SIID_MEDIAHDDVDRAM,
639 SIID_MEDIABDROM,
640 SIID_MEDIABDR,
641 SIID_MEDIABDRE,
642 SIID_CLUSTEREDDRIVE,
643 /* Missing: 141 - 180 */
644 SIID_MAX_ICONS = 181
645 }SHSTOCKICONID;
647 typedef struct _SHSTOCKICONINFO
649 DWORD cbSize;
650 HICON hIcon;
651 INT iSysImageIndex;
652 INT iIcon;
653 WCHAR szPath[MAX_PATH];
654 } SHSTOCKICONINFO;
656 /* flags for SHGetStockIconInfo */
657 #define SHGSI_ICONLOCATION 0
658 #define SHGSI_ICON SHGFI_ICON
659 #define SHGSI_SYSICONINDEX SHGFI_SYSICONINDEX
660 #define SHGSI_LINKOVERLAY SHGFI_LINKOVERLAY
661 #define SHGSI_SELECTED SHGFI_SELECTED
662 #define SHGSI_LARGEICON SHGFI_LARGEICON
663 #define SHGSI_SMALLICON SHGFI_SMALLICON
664 #define SHGSI_SHELLICONSIZE SHGFI_SHELLICONSIZE
666 HRESULT WINAPI SHGetStockIconInfo(SHSTOCKICONID, UINT, SHSTOCKICONINFO*);
667 LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR,int*);
668 HICON WINAPI ExtractIconA(HINSTANCE,LPCSTR,UINT);
669 HICON WINAPI ExtractIconW(HINSTANCE,LPCWSTR,UINT);
670 #define ExtractIcon WINELIB_NAME_AW(ExtractIcon)
671 HICON WINAPI ExtractAssociatedIconA(HINSTANCE,LPSTR,LPWORD);
672 HICON WINAPI ExtractAssociatedIconW(HINSTANCE,LPWSTR,LPWORD);
673 #define ExtractAssociatedIcon WINELIB_NAME_AW(ExtractAssociatedIcon)
674 HICON WINAPI ExtractAssociatedIconExA(HINSTANCE,LPSTR,LPWORD,LPWORD);
675 HICON WINAPI ExtractAssociatedIconExW(HINSTANCE,LPWSTR,LPWORD,LPWORD);
676 #define ExtractAssociatedIconEx WINELIB_NAME_AW(ExtractAssociatedIconEx)
677 UINT WINAPI ExtractIconExA(LPCSTR,INT,HICON*,HICON*,UINT);
678 UINT WINAPI ExtractIconExW(LPCWSTR,INT,HICON*,HICON*,UINT);
679 #define ExtractIconEx WINELIB_NAME_AW(ExtractIconEx)
680 HINSTANCE WINAPI FindExecutableA(LPCSTR,LPCSTR,LPSTR);
681 HINSTANCE WINAPI FindExecutableW(LPCWSTR,LPCWSTR,LPWSTR);
682 #define FindExecutable WINELIB_NAME_AW(FindExecutable)
683 BOOL WINAPI ShellAboutA(HWND,LPCSTR,LPCSTR,HICON);
684 BOOL WINAPI ShellAboutW(HWND,LPCWSTR,LPCWSTR,HICON);
685 #define ShellAbout WINELIB_NAME_AW(ShellAbout)
686 int WINAPIV ShellMessageBoxA(HINSTANCE,HWND,LPCSTR,LPCSTR,UINT,...);
687 int WINAPIV ShellMessageBoxW(HINSTANCE,HWND,LPCWSTR,LPCWSTR,UINT,...);
688 #define ShellMessageBox WINELIB_NAME_AW(ShellMessageBox)
689 DWORD WINAPI DoEnvironmentSubstA(LPSTR, UINT);
690 DWORD WINAPI DoEnvironmentSubstW(LPWSTR, UINT);
691 #define DoEnvironmentSubst WINELIB_NAME_AW(DoEnvironmentSubst)
693 HRESULT WINAPI SHEnumerateUnreadMailAccountsA(HKEY,DWORD,LPSTR,INT);
694 HRESULT WINAPI SHEnumerateUnreadMailAccountsW(HKEY,DWORD,LPWSTR,INT);
695 #define SHEnumerateUnreadMailAccounts WINELIB_NAME_AW(SHEnumerateUnreadMailAccounts)
697 HRESULT WINAPI SHGetPropertyStoreForWindow(HWND,REFIID,void **);
699 #ifdef __cplusplus
700 } /* extern "C" */
701 #endif /* defined(__cplusplus) */
703 #ifndef _WIN64
704 #include <poppack.h>
705 #endif
707 #endif /* __WINE_SHELLAPI_H */