Release 20040408.
[wine.git] / dlls / commdlg / generic.c
blobcf69d8d197bca3b4b8e5bbb2235a9ddd4c91191e
1 /*
2 * COMMDLG/COMDLG32 functions
4 * Copyright 1994 Martin Ayotte
5 * Copyright 1996 Albrecht Kleine
6 * Copyright 1998,1999 Bertho Stultiens
7 * Copyright 1999 Klaas van Gend
9 * This library is free software; you can redistribute it and/or
10 * modify it under the terms of the GNU Lesser General Public
11 * License as published by the Free Software Foundation; either
12 * version 2.1 of the License, or (at your option) any later version.
14 * This library is distributed in the hope that it will be useful,
15 * but WITHOUT ANY WARRANTY; without even the implied warranty of
16 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
17 * Lesser General Public License for more details.
19 * You should have received a copy of the GNU Lesser General Public
20 * License along with this library; if not, write to the Free Software
21 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
24 #include <stdarg.h>
26 #include "windef.h"
27 #include "winbase.h"
28 #include "wingdi.h"
29 #include "winuser.h"
30 #include "commdlg.h"
31 #include "wine/debug.h"
33 WINE_DEFAULT_DEBUG_CHANNEL(commdlg);
35 #include "cdlg.h"
36 #include "cdlg16.h"
38 /***********************************************************************
39 * DllEntryPoint [COMMDLG.32]
41 * Initialization code for the COMMDLG DLL
43 * RETURNS:
45 BOOL WINAPI COMMDLG_DllEntryPoint(DWORD Reason, HINSTANCE16 hInst, WORD ds, WORD HeapSize, DWORD res1, WORD res2)
47 TRACE("(%08lx, %04x, %04x, %04x, %08lx, %04x)\n", Reason, hInst, ds, HeapSize, res1, res2);
48 return TRUE;
52 /***********************************************************************
53 * CommDlgExtendedError16 [COMMDLG.26]
55 * Get the last error value if a commdlg function fails.
56 * RETURNS
57 * Current error value which might not be valid
58 * if a previous call succeeded.
60 DWORD WINAPI CommDlgExtendedError16(void)
62 return CommDlgExtendedError();