source: trunk/src/shell32/dialogs.cpp@ 4032

Last change on this file since 4032 was 4032, checked in by phaller, 25 years ago

Synchronized shell32 with wine

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