Fixed a few compilation warnings
[wine/multimedia.git] / dlls / shell32 / dialogs.c
blobd57c4778b23a75c3ad4924486af06ed3a7889fdb
1 /*
2 * common shell dialogs
3 */
4 #include <string.h>
5 #include <stdio.h>
6 #include "winerror.h"
7 #include "debugtools.h"
9 #include "shellapi.h"
10 #include "shlobj.h"
11 #include "shell32_main.h"
12 #include "wine/undocshell.h"
14 DEFAULT_DEBUG_CHANNEL(shell);
17 /*************************************************************************
18 * PickIconDlg [SHELL32.62]
21 BOOL WINAPI PickIconDlg(
22 HWND hwndOwner,
23 LPSTR lpstrFile,
24 DWORD nMaxFile,
25 LPDWORD lpdwIconIndex)
27 FIXME("(%08x,%s,%08lx,%p):stub.\n",
28 hwndOwner, lpstrFile, nMaxFile,lpdwIconIndex);
29 return 0xffffffff;
32 /*************************************************************************
33 * RunFileDlg [SHELL32.61]
35 * NOTES
36 * Original name: RunFileDlg (exported by ordinal)
38 void WINAPI RunFileDlg(
39 HWND hwndOwner,
40 HICON hIcon,
41 LPCSTR lpstrDirectory,
42 LPCSTR lpstrTitle,
43 LPCSTR lpstrDescription,
44 UINT uFlags)
46 FIXME("(0x%04x 0x%04x %s %s %s 0x%08x):stub.\n",
47 hwndOwner, hIcon, lpstrDirectory, lpstrTitle, lpstrDescription, uFlags);
50 /*************************************************************************
51 * ExitWindowsDialog [SHELL32.60]
53 * NOTES
54 * exported by ordinal
56 void WINAPI ExitWindowsDialog (HWND hWndOwner)
58 TRACE("(0x%08x)\n", hWndOwner);
59 if (MessageBoxA( hWndOwner, "Do you want to exit WINE?", "Shutdown", MB_YESNO|MB_ICONQUESTION) == IDOK)
61 SendMessageA ( hWndOwner, WM_QUIT, 0, 0);