ReactOS Fundraising Campaign 2012
 
€ 4,410 / € 30,000

Information | Donate

Home | Info | Community | Development | myReactOS | Contact Us

  1. Home
  2. Community
  3. Development
  4. myReactOS
  5. Fundraiser 2012

  1. Main Page
  2. Alphabetical List
  3. Data Structures
  4. Directories
  5. File List
  6. Data Fields
  7. Globals
  8. Related Pages

ReactOS Development > Doxygen

windows.h
Go to the documentation of this file.
00001 /*
00002     windows.h - main header file for the Win32 API
00003 
00004     Written by Anders Norlander <anorland@hem2.passagen.se>
00005 
00006     This file is part of a free library for the Win32 API.
00007 
00008     This library is distributed in the hope that it will be useful,
00009     but WITHOUT ANY WARRANTY; without even the implied warranty of
00010     MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00011 
00012 */
00013 #ifndef _WINDOWS_H
00014 #define _WINDOWS_H
00015 
00016 #ifdef __GNUC__
00017 #include <msvctarget.h>
00018 #endif
00019 
00020 #if !defined(_X86_) && !defined(_AMD64_) && !defined(_IA64_) && !defined(_ALPHA_) && \
00021     !defined(_ARM_) && !defined(_PPC_) && !defined(_MIPS_) && !defined(_68K_)
00022 
00023 #if defined(_M_AMD64) || defined(__x86_64__)
00024 #define _AMD64_
00025 #elif defined(_M_IX86) || defined(__i386__)
00026 #define _X86_
00027 #elif defined(_M_IA64) || defined(__ia64__)
00028 #define _IA64_
00029 #elif defined(_M_ALPHA) || defined(__alpha__)
00030 #define _ALPHA_
00031 #elif defined(_M_ARM) || defined(__arm__)
00032 #define _ARM_
00033 #elif defined(_M_PPC) || defined(__powerpc__)
00034 #define _PPC_
00035 #elif defined(_M_MRX000) || defined(__mips__)
00036 #define _MIPS_
00037 #elif defined(_M_M68K) || defined(__68k__)
00038 #define _68K_
00039 #endif
00040 
00041 #endif
00042 
00043 #ifdef RC_INVOKED
00044 /* winresrc.h includes the necessary headers */
00045 #include <winresrc.h>
00046 #else
00047 
00048 #include <excpt.h>
00049 #include <stdarg.h>
00050 #include <windef.h>
00051 #include <winbase.h>
00052 #include <wingdi.h>
00053 #include <winuser.h>
00054 #include <wincon.h>
00055 #include <winnls.h>
00056 #include <winver.h>
00057 #include <winnetwk.h>
00058 #include <winreg.h>
00059 #include <winsvc.h>
00060 
00061 #ifndef WIN32_LEAN_AND_MEAN
00062 #include <cderr.h>
00063 #include <dde.h>
00064 #include <ddeml.h>
00065 #include <dlgs.h>
00066 #include <imm.h>
00067 #include <lzexpand.h>
00068 #include <mmsystem.h>
00069 #include <nb30.h>
00070 #include <rpc.h>
00071 #include <shellapi.h>
00072 #include <winperf.h>
00073 #ifndef NOCRYPT
00074 #include <wincrypt.h>
00075 #include <winefs.h>
00076 #include <winscard.h>
00077 #endif
00078 #ifndef NOGDI
00079 #include <commdlg.h>
00080 #include <winspool.h>
00081 #endif
00082 #if defined(Win32_Winsock)
00083 #warning "The  Win32_Winsock macro name is deprecated.\
00084     Please use __USE_W32_SOCKETS instead"
00085 #ifndef __USE_W32_SOCKETS
00086 #define __USE_W32_SOCKETS
00087 #endif
00088 #endif
00089 #if defined(__USE_W32_SOCKETS) || !(defined(__CYGWIN__) || defined(__MSYS__) || defined(_UWIN))
00090 #if (_WIN32_WINNT >= 0x0400)
00091 #include <winsock2.h>
00092 /*
00093  * MS likes to include mswsock.h here as well,
00094  * but that can cause undefined symbols if
00095  * winsock2.h is included before windows.h
00096  */
00097 #else
00098 #include <winsock.h>
00099 #endif /*  (_WIN32_WINNT >= 0x0400) */
00100 #endif
00101 #ifndef NOGDI
00102 #if !defined (__OBJC__)
00103 #if (defined(__GNUC__) && (__GNUC__ >= 3)) || defined (__WATCOMC__) || defined(_MSC_VER)
00104 #include <ole2.h>
00105 #endif
00106 #endif /* __OBJC__ */
00107 #endif
00108 
00109 #endif /* WIN32_LEAN_AND_MEAN */
00110 
00111 #endif /* RC_INVOKED */
00112 
00113 #ifdef __OBJC__
00114 /* FIXME: Not undefining BOOL here causes all BOOLs to be WINBOOL (int),
00115    but undefining it causes trouble as well if a file is included after
00116    windows.h
00117 */
00118 #undef BOOL
00119 #endif
00120 
00121 #endif

Generated on Thu May 24 2012 04:33:14 for ReactOS by doxygen 1.7.6.1

ReactOS is a registered trademark or a trademark of ReactOS Foundation in the United States and other countries.