winspool: Fix a leak in DocumentPropertiesA (valgrind).
[wine/multimedia.git] / include / windows.h
blobec5c6a20028c2a6d81ff4f87a4694140f44ab781
1 /*
2 * Copyright (C) the Wine project
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef __WINE_WINDOWS_H
20 #define __WINE_WINDOWS_H
22 #if defined(_MSC_VER) && (_MSC_VER >= 800) && !defined(__cplusplus)
23 /* TYPE_ALIGNMENT generates this - move it outside the warning push/pop scope. */
24 # pragma warning(disable:4116)
25 #endif
27 #ifndef _INC_WINDOWS
28 #define _INC_WINDOWS
30 #if defined(RC_INVOKED) && !defined(NOWINRES)
31 #include <winresrc.h>
32 #else /* RC_INVOKED && !NOWINRES */
34 /* All the basic includes */
35 #include <excpt.h>
36 #include <stdarg.h>
37 #include <windef.h>
38 #include <winbase.h>
39 #include <wingdi.h>
40 #include <winuser.h>
41 #include <winnls.h>
42 #include <wincon.h>
43 #include <winver.h>
44 #include <winreg.h>
45 #include <winnetwk.h>
47 /* Not so essential ones */
48 #ifndef __WINESRC__
50 #ifndef WIN32_LEAN_AND_MEAN
52 #include <cderr.h>
53 #include <dde.h>
54 #include <ddeml.h>
55 #include <dlgs.h>
56 #include <lzexpand.h>
57 #include <mmsystem.h>
58 #include <nb30.h>
59 #include <rpc.h>
60 #include <shellapi.h>
61 #include <winperf.h>
63 #ifndef WINE_NOWINSOCK
64 #include <winsock.h>
65 #endif /* WINE_NOWINSOCK */
67 #ifndef NOCRYPT
68 #include <wincrypt.h>
69 /* #include <winefs.h> */
70 #include <winscard.h>
71 #endif /* !NOCRYPT */
73 #ifndef NOGDI
74 #include <winspool.h>
75 #ifdef INC_OLE1
76 /* #include <ole.h> */
77 #else
78 #include <ole2.h>
79 #endif
80 #include <commdlg.h>
81 #endif /* !NOGDI */
83 #endif /* !WIN32_LEAN_AND_MEAN */
85 /* #include <stralign.h> */
87 #ifdef INC_OLE2
88 #include <ole2.h>
89 #endif /* INC_OLE2 */
91 #ifndef NOSERVICE
92 #include <winsvc.h>
93 #endif /* !NOSERVICE */
95 #ifndef NOMCX
96 #include <mcx.h>
97 #endif /* !NOMCX */
99 #ifndef NOIMM
100 #include <imm.h>
101 #endif /* !NOIMM */
103 #endif /* __WINESRC__ */
105 #endif /* RC_INVOKED && !NOWINRES */
106 #endif /* _INC_WINDOWS */
107 #endif /* __WINE_WINDOWS_H */