blob: 74bbefd7e515b8dba2aa0d5e1153aa73b784caec [file] [log] [blame]
Alexandre Julliard0799c1a2002-03-09 23:29:33 +00001/*
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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
17 */
18
Patrik Stridvall857eb391999-06-12 18:36:54 +000019#ifndef __WINE_SHELLAPI_H
20#define __WINE_SHELLAPI_H
Michael Veksler17822f41999-02-09 15:46:25 +000021
Patrik Stridvall14da7b11999-06-12 10:53:06 +000022#ifdef __cplusplus
23extern "C" {
24#endif /* defined(__cplusplus) */
25
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +000026#include <pshpack1.h>
Juergen Schmied28613d31999-04-22 10:11:04 +000027
François Gougetdea3d782001-01-02 21:00:46 +000028DECLARE_HANDLE(HDROP);
29
Juergen Schmied28613d31999-04-22 10:11:04 +000030/******************************************
31 * DragObject
32 */
33
Vincent Béron9a624912002-05-31 23:06:46 +000034typedef struct _DRAGINFOA
Juergen Schmied28613d31999-04-22 10:11:04 +000035{ UINT uSize;
36 POINT pt;
37 BOOL fNC;
38 LPSTR lpFileList;
39 DWORD grfKeyState;
Patrik Stridvallced69a92002-11-12 01:05:00 +000040} DRAGINFOA, *LPDRAGINFOA;
Juergen Schmied28613d31999-04-22 10:11:04 +000041
Vincent Béron9a624912002-05-31 23:06:46 +000042typedef struct _DRAGINFOW
Juergen Schmied28613d31999-04-22 10:11:04 +000043{ UINT uSize;
44 POINT pt;
45 BOOL fNC;
46 LPWSTR lpFileList;
47 DWORD grfKeyState;
Patrik Stridvallced69a92002-11-12 01:05:00 +000048} DRAGINFOW, *LPDRAGINFOW;
Juergen Schmied28613d31999-04-22 10:11:04 +000049
Alexandre Julliard83f52d12000-09-26 22:20:14 +000050DECL_WINELIB_TYPE_AW(DRAGINFO)
51DECL_WINELIB_TYPE_AW(LPDRAGINFO)
Juergen Schmied28613d31999-04-22 10:11:04 +000052
Alexandre Julliard83f52d12000-09-26 22:20:14 +000053void WINAPI DragAcceptFiles(HWND hWnd, BOOL b);
Juergen Schmied28613d31999-04-22 10:11:04 +000054UINT WINAPI DragQueryFileA(HDROP hDrop, UINT lFile, LPSTR lpszFile, UINT lLength);
55UINT WINAPI DragQueryFileW(HDROP hDrop, UINT lFile, LPWSTR lpszFile, UINT lLength);
Alexandre Julliard83f52d12000-09-26 22:20:14 +000056#define DragQueryFile WINELIB_NAME_AW(DragQueryFile)
Juergen Schmied28613d31999-04-22 10:11:04 +000057void WINAPI DragFinish(HDROP h);
Juergen Schmied28613d31999-04-22 10:11:04 +000058BOOL WINAPI DragQueryPoint(HDROP hDrop, POINT *p);
59
Jim Aston10141fe1999-04-25 12:31:20 +000060#define NIF_MESSAGE 0x00000001
61#define NIF_ICON 0x00000002
62#define NIF_TIP 0x00000004
63
64#define NIM_ADD 0x00000000
65#define NIM_MODIFY 0x00000001
66#define NIM_DELETE 0x00000002
67
68
Juergen Schmied28613d31999-04-22 10:11:04 +000069
70/******************************************
71 * Application Bar
72 */
73#define ABM_NEW 0x00000000
74#define ABM_REMOVE 0x00000001
75#define ABM_QUERYPOS 0x00000002
76#define ABM_SETPOS 0x00000003
77#define ABM_GETSTATE 0x00000004
78#define ABM_GETTASKBARPOS 0x00000005
79#define ABM_ACTIVATE 0x00000006
80#define ABM_GETAUTOHIDEBAR 0x00000007
81#define ABM_SETAUTOHIDEBAR 0x00000008
82#define ABM_WINDOWPOSCHANGED 0x00000009
83
84#define ABN_STATECHANGE 0x00000000
85#define ABN_POSCHANGED 0x00000001
86#define ABN_FULLSCREENAPP 0x00000002
87#define ABN_WINDOWARRANGE 0x00000003
88
89#define ABS_AUTOHIDE 0x00000001
90#define ABS_ALWAYSONTOP 0x00000002
91
92#define ABE_LEFT 0
93#define ABE_TOP 1
94#define ABE_RIGHT 2
95#define ABE_BOTTOM 3
96
Vincent Béron9a624912002-05-31 23:06:46 +000097typedef struct _AppBarData
Juergen Schmied28613d31999-04-22 10:11:04 +000098{ DWORD cbSize;
99 HWND hWnd;
100 UINT uCallbackMessage;
101 UINT uEdge;
102 RECT rc;
103 LPARAM lParam;
104} APPBARDATA, *PAPPBARDATA;
105
Francois Gouget8be11ca2000-12-12 00:36:16 +0000106UINT WINAPI SHAppBarMessage(DWORD,PAPPBARDATA);
Juergen Schmied28613d31999-04-22 10:11:04 +0000107
108/******************************************
109 * SHGetFileInfo
110 */
111
112#define SHGFI_LARGEICON 0x000000000 /* get large icon */
113#define SHGFI_SMALLICON 0x000000001 /* get small icon */
114#define SHGFI_OPENICON 0x000000002 /* get open icon */
115#define SHGFI_SHELLICONSIZE 0x000000004 /* get shell size icon */
116#define SHGFI_PIDL 0x000000008 /* pszPath is a pidl */
117#define SHGFI_USEFILEATTRIBUTES 0x000000010 /* use passed dwFileAttribute */
Mike McCormacka830bf52005-02-15 15:43:54 +0000118#define SHGFI_ADDOVERLAYS 0x000000020
119#define SHGFI_OVERLAYINDEX 0x000000040
Juergen Schmied28613d31999-04-22 10:11:04 +0000120#define SHGFI_ICON 0x000000100 /* get icon */
121#define SHGFI_DISPLAYNAME 0x000000200 /* get display name */
122#define SHGFI_TYPENAME 0x000000400 /* get type name */
123#define SHGFI_ATTRIBUTES 0x000000800 /* get attributes */
124#define SHGFI_ICONLOCATION 0x000001000 /* get icon location */
125#define SHGFI_EXETYPE 0x000002000 /* return exe type */
126#define SHGFI_SYSICONINDEX 0x000004000 /* get system icon index */
127#define SHGFI_LINKOVERLAY 0x000008000 /* put a link overlay on icon */
128#define SHGFI_SELECTED 0x000010000 /* show icon in selected state */
129#define SHGFI_ATTR_SPECIFIED 0x000020000 /* get only specified attributes */
130
Vincent Béron9a624912002-05-31 23:06:46 +0000131typedef struct tagSHFILEINFOA
Juergen Schmied28613d31999-04-22 10:11:04 +0000132{ HICON hIcon; /* icon */
133 int iIcon; /* icon index */
134 DWORD dwAttributes; /* SFGAO_ flags */
135 CHAR szDisplayName[MAX_PATH];/* display name (or path) */
136 CHAR szTypeName[80]; /* type name */
137} SHFILEINFOA;
138
Vincent Béron9a624912002-05-31 23:06:46 +0000139typedef struct tagSHFILEINFOW
Juergen Schmied28613d31999-04-22 10:11:04 +0000140{ HICON hIcon; /* icon */
141 int iIcon; /* icon index */
142 DWORD dwAttributes; /* SFGAO_ flags */
143 WCHAR szDisplayName[MAX_PATH];/* display name (or path) */
144 WCHAR szTypeName[80]; /* type name */
145} SHFILEINFOW;
146
147DECL_WINELIB_TYPE_AW(SHFILEINFO)
148
149DWORD WINAPI SHGetFileInfoA(LPCSTR,DWORD,SHFILEINFOA*,UINT,UINT);
150DWORD WINAPI SHGetFileInfoW(LPCWSTR,DWORD,SHFILEINFOW*,UINT,UINT);
151#define SHGetFileInfo WINELIB_NAME_AW(SHGetFileInfo)
152
153/******************************************
154 * SHSetFileInfo
155 */
156
157/******************************************
158* SHFileOperation
159*/
160#define FO_MOVE 0x0001
161#define FO_COPY 0x0002
162#define FO_DELETE 0x0003
163#define FO_RENAME 0x0004
164
165#define FOF_MULTIDESTFILES 0x0001
166#define FOF_CONFIRMMOUSE 0x0002
Vincent Béron9a624912002-05-31 23:06:46 +0000167#define FOF_SILENT 0x0004
Juergen Schmied28613d31999-04-22 10:11:04 +0000168#define FOF_RENAMEONCOLLISION 0x0008
Vincent Béron9a624912002-05-31 23:06:46 +0000169#define FOF_NOCONFIRMATION 0x0010
170#define FOF_WANTMAPPINGHANDLE 0x0020
Juergen Schmied28613d31999-04-22 10:11:04 +0000171#define FOF_ALLOWUNDO 0x0040
Vincent Béron9a624912002-05-31 23:06:46 +0000172#define FOF_FILESONLY 0x0080
173#define FOF_SIMPLEPROGRESS 0x0100
174#define FOF_NOCONFIRMMKDIR 0x0200
175#define FOF_NOERRORUI 0x0400
Rolf Kalbermattera25967c2003-04-19 20:09:09 +0000176#define FOF_NOCOPYSECURITYATTRIBS 0x0800
Rolf Kalbermatter9e06d0c2004-04-01 21:01:04 +0000177#define FOF_NORECURSION 0x1000 /* don't do recursion into directories */
178#define FOF_NO_CONNECTED_ELEMENTS 0x2000 /* don't do connected files */
179#define FOF_WANTNUKEWARNING 0x4000 /* during delete operation, warn if delete instead
180 of recycling (even if FOF_NOCONFIRMATION) */
181#define FOF_NORECURSEREPARSE 0x8000 /* don't do recursion into reparse points */
Juergen Schmied28613d31999-04-22 10:11:04 +0000182
183typedef WORD FILEOP_FLAGS;
184
Vincent Béron9a624912002-05-31 23:06:46 +0000185#define PO_DELETE 0x0013
186#define PO_RENAME 0x0014
187#define PO_PORTCHANGE 0x0020
Rolf Kalbermatter9e06d0c2004-04-01 21:01:04 +0000188#define PO_REN_PORT (PO_RENAME | PO_PORTCHANGE)
Juergen Schmied28613d31999-04-22 10:11:04 +0000189
190typedef WORD PRINTEROP_FLAGS;
191
192typedef struct _SHFILEOPSTRUCTA
193{ HWND hwnd;
194 UINT wFunc;
195 LPCSTR pFrom;
196 LPCSTR pTo;
197 FILEOP_FLAGS fFlags;
198 BOOL fAnyOperationsAborted;
199 LPVOID hNameMappings;
200 LPCSTR lpszProgressTitle;
201} SHFILEOPSTRUCTA, *LPSHFILEOPSTRUCTA;
202
203typedef struct _SHFILEOPSTRUCTW
204{ HWND hwnd;
205 UINT wFunc;
206 LPCWSTR pFrom;
207 LPCWSTR pTo;
208 FILEOP_FLAGS fFlags;
209 BOOL fAnyOperationsAborted;
210 LPVOID hNameMappings;
211 LPCWSTR lpszProgressTitle;
212} SHFILEOPSTRUCTW, *LPSHFILEOPSTRUCTW;
213
214#define SHFILEOPSTRUCT WINELIB_NAME_AW(SHFILEOPSTRUCT)
215#define LPSHFILEOPSTRUCT WINELIB_NAME_AW(LPSHFILEOPSTRUCT)
216
Martin Fuchsc0a5a272004-01-05 21:13:37 +0000217int WINAPI SHFileOperationA (LPSHFILEOPSTRUCTA lpFileOp);
218int WINAPI SHFileOperationW (LPSHFILEOPSTRUCTW lpFileOp);
Juergen Schmied28613d31999-04-22 10:11:04 +0000219#define SHFileOperation WINELIB_NAME_AW(SHFileOperation)
220
Rolf Kalbermatter9e06d0c2004-04-01 21:01:04 +0000221typedef struct _SHNAMEMAPPINGA
222{
223 LPSTR pszOldPath;
224 LPSTR pszNewPath;
225 int cchOldPath;
226 int cchNewPath;
227} SHNAMEMAPPINGA, *LPSHNAMEMAPPINGA;
228
229typedef struct _SHNAMEMAPPINGW
230{
231 LPWSTR pszOldPath;
232 LPWSTR pszNewPath;
233 int cchOldPath;
234 int cchNewPath;
235} SHNAMEMAPPINGW, *LPSHNAMEMAPPINGW;
236
237DECL_WINELIB_TYPE_AW(SHNAMEMAPPING)
238DECL_WINELIB_TYPE_AW(LPSHNAMEMAPPING)
239
Rolf Kalbermatter8d3111c2004-10-21 19:54:36 +0000240void WINAPI SHFreeNameMappings(HANDLE hNameMappings);
241
Juergen Schmied28613d31999-04-22 10:11:04 +0000242/******************************************
243 * ShellExecute
244 */
245#define SE_ERR_SHARE 26
246#define SE_ERR_ASSOCINCOMPLETE 27
247#define SE_ERR_DDETIMEOUT 28
248#define SE_ERR_DDEFAIL 29
249#define SE_ERR_DDEBUSY 30
250#define SE_ERR_NOASSOC 31
251
Juergen Schmied28613d31999-04-22 10:11:04 +0000252HINSTANCE WINAPI ShellExecuteA(HWND,LPCSTR,LPCSTR,LPCSTR,LPCSTR,INT);
253HINSTANCE WINAPI ShellExecuteW(HWND,LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,INT);
254#define ShellExecute WINELIB_NAME_AW(ShellExecute)
255
Alexandre Julliard29cff122003-11-26 03:59:16 +0000256#define SE_ERR_FNF 2 /* file not found */
257#define SE_ERR_PNF 3 /* path not found */
258#define SE_ERR_ACCESSDENIED 5 /* access denied */
259#define SE_ERR_OOM 8 /* out of memory */
260#define SE_ERR_DLLNOTFOUND 32
261#define SE_ERR_SHARE 26
262#define SE_ERR_ASSOCINCOMPLETE 27
263#define SE_ERR_DDETIMEOUT 28
264#define SE_ERR_DDEFAIL 29
265#define SE_ERR_DDEBUSY 30
266#define SE_ERR_NOASSOC 31
267
268#define SEE_MASK_CLASSNAME 0x00000001
269#define SEE_MASK_CLASSKEY 0x00000003
270#define SEE_MASK_IDLIST 0x00000004
271#define SEE_MASK_INVOKEIDLIST 0x0000000c
272#define SEE_MASK_ICON 0x00000010
273#define SEE_MASK_HOTKEY 0x00000020
274#define SEE_MASK_NOCLOSEPROCESS 0x00000040
275#define SEE_MASK_CONNECTNETDRV 0x00000080
276#define SEE_MASK_FLAG_DDEWAIT 0x00000100
277#define SEE_MASK_DOENVSUBST 0x00000200
278#define SEE_MASK_FLAG_NO_UI 0x00000400
279#define SEE_MASK_UNICODE 0x00004000
280#define SEE_MASK_NO_CONSOLE 0x00008000
281#define SEE_MASK_ASYNCOK 0x00100000
282#define SEE_MASK_HMONITOR 0x00200000
283
284typedef struct _SHELLEXECUTEINFOA
285{ DWORD cbSize;
286 ULONG fMask;
287 HWND hwnd;
288 LPCSTR lpVerb;
289 LPCSTR lpFile;
290 LPCSTR lpParameters;
291 LPCSTR lpDirectory;
292 INT nShow;
293 HINSTANCE hInstApp;
294 /* Optional fields */
295 LPVOID lpIDList;
296 LPCSTR lpClass;
297 HKEY hkeyClass;
298 DWORD dwHotKey;
299 union
300 { HANDLE hIcon;
301 HANDLE hMonitor;
302 } DUMMYUNIONNAME;
303 HANDLE hProcess;
304} SHELLEXECUTEINFOA, *LPSHELLEXECUTEINFOA;
305
306typedef struct _SHELLEXECUTEINFOW
307{ DWORD cbSize;
308 ULONG fMask;
309 HWND hwnd;
310 LPCWSTR lpVerb;
311 LPCWSTR lpFile;
312 LPCWSTR lpParameters;
313 LPCWSTR lpDirectory;
314 INT nShow;
315 HINSTANCE hInstApp;
316 /* Optional fields*/
317 LPVOID lpIDList;
318 LPCWSTR lpClass;
319 HKEY hkeyClass;
320 DWORD dwHotKey;
321 union
322 { HANDLE hIcon;
323 HANDLE hMonitor;
324 } DUMMYUNIONNAME;
325 HANDLE hProcess;
326} SHELLEXECUTEINFOW, *LPSHELLEXECUTEINFOW;
327
328#define SHELLEXECUTEINFO WINELIB_NAME_AW(SHELLEXECUTEINFO)
329#define LPSHELLEXECUTEINFO WINELIB_NAME_AW(LPSHELLEXECUTEINFO)
330
331BOOL WINAPI ShellExecuteExA(LPSHELLEXECUTEINFOA lpExecInfo);
332BOOL WINAPI ShellExecuteExW(LPSHELLEXECUTEINFOW lpExecInfo);
333#define ShellExecuteEx WINELIB_NAME_AW(ShellExecuteEx)
334
335void WINAPI WinExecErrorA(HWND hwnd,INT error, LPCSTR lpstrFileName, LPCSTR lpstrTitle);
336void WINAPI WinExecErrorW(HWND hwnd,INT error, LPCWSTR lpstrFileName, LPCWSTR lpstrTitle);
337#define WinExecError WINELIB_NAME_AW(WinExecError)
338
Juergen Schmied28613d31999-04-22 10:11:04 +0000339/******************************************
340 * Tray Notification
341 */
342typedef struct _NOTIFYICONDATAA
343{ DWORD cbSize;
344 HWND hWnd;
345 UINT uID;
346 UINT uFlags;
347 UINT uCallbackMessage;
348 HICON hIcon;
Francois Gouget466f5e72004-08-19 19:16:31 +0000349 CHAR szTip[128];
350 DWORD dwState;
351 DWORD dwStateMask;
352 CHAR szInfo[256];
353 union {
354 UINT uTimeout;
355 UINT uVersion;
356 } DUMMYUNIONNAME;
357 CHAR szInfoTitle[64];
358 DWORD dwInfoFlags;
Juergen Schmied28613d31999-04-22 10:11:04 +0000359} NOTIFYICONDATAA, *PNOTIFYICONDATAA;
360
361typedef struct _NOTIFYICONDATAW
362{ DWORD cbSize;
363 HWND hWnd;
364 UINT uID;
365 UINT uFlags;
366 UINT uCallbackMessage;
367 HICON hIcon;
Francois Gouget466f5e72004-08-19 19:16:31 +0000368 WCHAR szTip[128];
369 DWORD dwState;
370 DWORD dwStateMask;
371 WCHAR szInfo[256];
372 union {
373 UINT uTimeout;
374 UINT uVersion;
375 } DUMMYUNIONNAME;
376 WCHAR szInfoTitle[64];
377 DWORD dwInfoFlags;
Juergen Schmied28613d31999-04-22 10:11:04 +0000378} NOTIFYICONDATAW, *PNOTIFYICONDATAW;
379
Peter Hunnisett565b0082000-09-19 02:43:00 +0000380DECL_WINELIB_TYPE_AW(NOTIFYICONDATA)
381DECL_WINELIB_TYPE_AW(PNOTIFYICONDATA)
382
383BOOL WINAPI Shell_NotifyIconA(DWORD dwMessage, PNOTIFYICONDATAA lpData);
384BOOL WINAPI Shell_NotifyIconW(DWORD dwMessage, PNOTIFYICONDATAW lpData);
385
386#define Shell_NotifyIcon WINELIB_NAME_AW(Shell_NotifyIcon)
Juergen Schmied28613d31999-04-22 10:11:04 +0000387
388/******************************************
Alexandre Julliard487b9f52004-02-11 06:21:45 +0000389 * Links
390 */
391
392#define SHGNLI_PIDL 0x01
393#define SHGNLI_PREFIXNAME 0x02
394#define SHGNLI_NOUNIQUE 0x04
395#define SHGNLI_NOLNK 0x08
396
397BOOL WINAPI SHGetNewLinkInfoA(LPCSTR,LPCSTR,LPSTR,BOOL*,UINT);
398BOOL WINAPI SHGetNewLinkInfoW(LPCWSTR,LPCWSTR,LPWSTR,BOOL*,UINT);
399#define SHGetNewLinkInfo WINELIB_NAME_AW(SHGetNewLinkInfo)
400
401/******************************************
Hans Leidekkerc1236fd2005-01-03 20:26:06 +0000402 * Recycle bin
403 */
404
405typedef struct _SHQUERYRBINFO
406{
407 DWORD cbSize;
408 DWORDLONG i64Size;
409 DWORDLONG i64NumItems;
410} SHQUERYRBINFO, *LPSHQUERYRBINFO;
411
412HRESULT WINAPI SHEmptyRecycleBinA(HWND,LPCSTR,DWORD);
413HRESULT WINAPI SHEmptyRecycleBinW(HWND,LPCWSTR,DWORD);
414#define SHEmptyRecycleBin WINELIB_NAME_AW(SHEmptyRecycleBin)
415HRESULT WINAPI SHQueryRecycleBinA(LPCSTR,LPSHQUERYRBINFO);
416HRESULT WINAPI SHQueryRecycleBinW(LPCWSTR,LPSHQUERYRBINFO);
417#define SHQueryRecycleBin WINELIB_NAME_AW(SHQueryRecycleBin)
418
419/******************************************
Juergen Schmied28613d31999-04-22 10:11:04 +0000420 * Misc
421 */
422
Francois Gougetf8142d32001-07-17 00:39:58 +0000423LPWSTR* WINAPI CommandLineToArgvW(LPCWSTR,int*);
Alexandre Julliard83f52d12000-09-26 22:20:14 +0000424HICON WINAPI ExtractIconA(HINSTANCE,LPCSTR,UINT);
425HICON WINAPI ExtractIconW(HINSTANCE,LPCWSTR,UINT);
Michael Veksler17822f41999-02-09 15:46:25 +0000426#define ExtractIcon WINELIB_NAME_AW(ExtractIcon)
Alexandre Julliard83f52d12000-09-26 22:20:14 +0000427HICON WINAPI ExtractAssociatedIconA(HINSTANCE,LPSTR,LPWORD);
428HICON WINAPI ExtractAssociatedIconW(HINSTANCE,LPWSTR,LPWORD);
Michael Veksler17822f41999-02-09 15:46:25 +0000429#define ExtractAssociatedIcon WINELIB_NAME_AW(ExtractAssociatedIcon)
Rolf Kalbermattere2b06d22002-11-30 02:22:24 +0000430HICON WINAPI ExtractAssociatedIconExA(HINSTANCE,LPSTR,LPWORD,LPWORD);
431HICON WINAPI ExtractAssociatedIconExW(HINSTANCE,LPWSTR,LPWORD,LPWORD);
432#define ExtractAssociatedIconEx WINELIB_NAME_AW(ExtractAssociatedIconEx)
Rolf Kalbermatter58c04da2002-12-10 19:10:11 +0000433UINT WINAPI ExtractIconExA(LPCSTR,INT,HICON*,HICON*,UINT);
434UINT WINAPI ExtractIconExW(LPCWSTR,INT,HICON*,HICON*,UINT);
Alexandre Julliard83f52d12000-09-26 22:20:14 +0000435#define ExtractIconEx WINELIB_NAME_AW(ExtractIconEx)
Alexandre Julliard83f52d12000-09-26 22:20:14 +0000436HINSTANCE WINAPI FindExecutableA(LPCSTR,LPCSTR,LPSTR);
437HINSTANCE WINAPI FindExecutableW(LPCWSTR,LPCWSTR,LPWSTR);
Michael Veksler17822f41999-02-09 15:46:25 +0000438#define FindExecutable WINELIB_NAME_AW(FindExecutable)
Alexandre Julliard83f52d12000-09-26 22:20:14 +0000439BOOL WINAPI ShellAboutA(HWND,LPCSTR,LPCSTR,HICON);
440BOOL WINAPI ShellAboutW(HWND,LPCWSTR,LPCWSTR,HICON);
Michael Veksler17822f41999-02-09 15:46:25 +0000441#define ShellAbout WINELIB_NAME_AW(ShellAbout)
Alexandre Julliard487b9f52004-02-11 06:21:45 +0000442int WINAPIV ShellMessageBoxA(HINSTANCE,HWND,LPCSTR,LPCSTR,UINT,...);
443int WINAPIV ShellMessageBoxW(HINSTANCE,HWND,LPCWSTR,LPCWSTR,UINT,...);
444#define ShellMessageBox WINELIB_NAME_AW(ShellMessageBox)
Vitaly Lipatovb39c3982005-06-20 15:33:48 +0000445DWORD WINAPI DoEnvironmentSubstA(LPSTR, UINT);
446DWORD WINAPI DoEnvironmentSubstW(LPWSTR, UINT);
447#define DoEnvironmentSubst WINELIB_NAME_AW(DoEnvironmentSubst)
448
Michael Veksler17822f41999-02-09 15:46:25 +0000449
Patrik Stridvall14da7b11999-06-12 10:53:06 +0000450#ifdef __cplusplus
451} /* extern "C" */
452#endif /* defined(__cplusplus) */
453
Dimitrie O. Paun53f9c212003-08-28 21:43:34 +0000454#include <poppack.h>
Michael Veksler17822f41999-02-09 15:46:25 +0000455
Patrik Stridvall857eb391999-06-12 18:36:54 +0000456#endif /* __WINE_SHELLAPI_H */