source: trunk/src/shell32/dialogs.c@ 5087

Last change on this file since 5087 was 4121, checked in by sandervl, 25 years ago

complete merge with shell32 from wine 20000801

File size: 1.5 KB
Line 
1/* $Id: dialogs.c,v 1.1 2000-08-30 13:52:51 sandervl Exp $ */
2/*
3 * common shell dialogs
4 */
5#ifdef __WIN32OS2__
6#define ICOM_CINTERFACE 1
7#include <odin.h>
8#endif
9#include <string.h>
10#include <stdio.h>
11#include "winerror.h"
12#include "debugtools.h"
13
14#include "shellapi.h"
15#include "shlobj.h"
16#include "shell32_main.h"
17#include "wine/undocshell.h"
18
19DEFAULT_DEBUG_CHANNEL(shell);
20
21
22/*************************************************************************
23 * PickIconDlg [SHELL32.62]
24 *
25 */
26BOOL WINAPI PickIconDlg(
27 HWND hwndOwner,
28 LPSTR lpstrFile,
29 DWORD nMaxFile,
30 LPDWORD lpdwIconIndex)
31{
32 FIXME("(%08x,%s,%08lx,%p):stub.\n",
33 hwndOwner, lpstrFile, nMaxFile,lpdwIconIndex);
34 return 0xffffffff;
35}
36
37/*************************************************************************
38 * RunFileDlg [SHELL32.61]
39 *
40 * NOTES
41 * Original name: RunFileDlg (exported by ordinal)
42 */
43void WINAPI RunFileDlg(
44 HWND hwndOwner,
45 HICON hIcon,
46 LPCSTR lpstrDirectory,
47 LPCSTR lpstrTitle,
48 LPCSTR lpstrDescription,
49 UINT uFlags)
50{
51 FIXME("(0x%04x 0x%04x %s %s %s 0x%08x):stub.\n",
52 hwndOwner, hIcon, lpstrDirectory, lpstrTitle, lpstrDescription, uFlags);
53}
54
55/*************************************************************************
56 * ExitWindowsDialog [SHELL32.60]
57 *
58 * NOTES
59 * exported by ordinal
60 */
61void WINAPI ExitWindowsDialog (HWND hWndOwner)
62{
63 TRACE("(0x%08x)\n", hWndOwner);
64 if (MessageBoxA( hWndOwner, "Do you want to exit WINE?", "Shutdown", MB_YESNO|MB_ICONQUESTION) == IDOK)
65 {
66 SendMessageA ( hWndOwner, WM_QUIT, 0, 0);
67 }
68}
Note: See TracBrowser for help on using the repository browser.