annotate netinstall/win32.h @ 637:2538b7200a20

[xemacs-hg @ 2001-07-26 06:21:45 by stephent] WinME fixes to nt/xemacs.mak.
author stephent
date Thu, 26 Jul 2001 06:21:45 +0000
parents 3078fd1074e8
children ce0b3f2eff35
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
448
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
1 /*
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
2 * Copyright (c) 2000, Red Hat, Inc.
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
3 *
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
4 * This program is free software; you can redistribute it and/or modify
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
5 * it under the terms of the GNU General Public License as published by
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
6 * the Free Software Foundation; either version 2 of the License, or
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
7 * (at your option) any later version.
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
8 *
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
9 * A copy of the GNU General Public License can be found at
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
10 * http://www.gnu.org/
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
11 *
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
12 * Written by DJ Delorie <dj@cygnus.com>
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
13 *
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
14 */
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
15
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
16 /* The purpose of this file is to limit the number of Win32 headers we
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
17 actually have to parse. The Setup program only uses a few of them,
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
18 so there's no point in parsing them all (even lean-n-mean). Doing
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
19 this cuts compile time in half. */
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
20
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
21 #ifndef _MINI_WIN32_
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
22 #define _MINI_WIN32_
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
23
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
24 #define _UNION_NAME(x)
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
25 #define _STRUCT_NAME(x)
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
26 #define NOCOMATTRIBUTE
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
27
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
28 #include <stdarg.h>
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
29 #ifdef WIN32_NATIVE
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
30 /* MSVC is barking with the list above, something else is missing, so
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
31 I'm using <windows.h> and lean-n-mean. FP, 2000-23-12 */
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
32 #include <windows.h>
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
33 #endif
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
34 #include <windef.h>
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
35 #include <basetyps.h>
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
36 #include <winbase.h>
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
37 #include <wingdi.h>
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
38 #include <winuser.h>
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
39 #include <wininet.h>
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
40 #include <winreg.h>
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
41
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
42 #include <windowsx.h>
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
43
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
44 /* Cope with native win32 & mingw differences. Written by F. Popineau
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
45 <Fabrice.Popineau@supelec.fr> */
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
46 #ifdef WIN32_NATIVE
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
47 # pragma warning( disable : 4007 4096 4018 4244 )
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
48 # define strdup _strdup
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
49 # define stat _stat
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
50 # define strnicmp _strnicmp
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
51 #endif
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
52
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
53 #ifndef CDECL
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
54 #define CDECL __cdecl
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
55 #endif
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
56
3078fd1074e8 Import from CVS: tag r21-2-39
cvs
parents:
diff changeset
57 #endif /* _MINI_WIN32_ */