Merged the two serializer and unserializer functions into one, cleaned
[wine.git] / dlls / shell32 / dialogs.c
blob0452e49c3d6e88d383af783bb6b8ddf44d3aeee2
1 /*
2 * common shell dialogs
4 * Copyright 2000 Juergen Schmied
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21 #include <string.h>
22 #include <stdio.h>
23 #include "winerror.h"
24 #include "wine/debug.h"
26 #include "shellapi.h"
27 #include "shlobj.h"
28 #include "shell32_main.h"
29 #include "undocshell.h"
31 WINE_DEFAULT_DEBUG_CHANNEL(shell);
34 /*************************************************************************
35 * PickIconDlg [SHELL32.62]
38 BOOL WINAPI PickIconDlg(
39 HWND hwndOwner,
40 LPSTR lpstrFile,
41 DWORD nMaxFile,
42 LPDWORD lpdwIconIndex)
44 FIXME("(%08x,%s,%08lx,%p):stub.\n",
45 hwndOwner, lpstrFile, nMaxFile,lpdwIconIndex);
46 return 0xffffffff;
49 /*************************************************************************
50 * RunFileDlg [SHELL32.61]
52 * NOTES
53 * Original name: RunFileDlg (exported by ordinal)
55 void WINAPI RunFileDlg(
56 HWND hwndOwner,
57 HICON hIcon,
58 LPCSTR lpstrDirectory,
59 LPCSTR lpstrTitle,
60 LPCSTR lpstrDescription,
61 UINT uFlags)
63 FIXME("(0x%04x 0x%04x %s %s %s 0x%08x):stub.\n",
64 hwndOwner, hIcon, lpstrDirectory, lpstrTitle, lpstrDescription, uFlags);
67 /*************************************************************************
68 * ExitWindowsDialog [SHELL32.60]
70 * NOTES
71 * exported by ordinal
73 void WINAPI ExitWindowsDialog (HWND hWndOwner)
75 TRACE("(0x%08x)\n", hWndOwner);
76 if (MessageBoxA( hWndOwner, "Do you want to exit WINE?", "Shutdown", MB_YESNO|MB_ICONQUESTION) == IDYES)
78 SendMessageA ( hWndOwner, WM_QUIT, 0, 0);