windows.h 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the w64 mingw-runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER within this package.
  5. */
  6. #ifndef _WINDOWS_
  7. #define _WINDOWS_
  8. #ifndef WIN32_LEAN_AND_MEAN
  9. #define WIN32_LEAN_AND_MEAN 1
  10. #endif
  11. #ifndef WINVER
  12. #define WINVER 0x0502
  13. #endif
  14. #include <_mingw.h>
  15. #ifndef _INC_WINDOWS
  16. #define _INC_WINDOWS
  17. #if defined(RC_INVOKED) && !defined(NOWINRES)
  18. #include <winresrc.h>
  19. #else
  20. #ifdef RC_INVOKED
  21. #define NOATOM
  22. #define NOGDI
  23. #define NOGDICAPMASKS
  24. #define NOMETAFILE
  25. #define NOMINMAX
  26. #define NOMSG
  27. #define NOOPENFILE
  28. #define NORASTEROPS
  29. #define NOSCROLL
  30. #define NOSOUND
  31. #define NOSYSMETRICS
  32. #define NOTEXTMETRIC
  33. #define NOWH
  34. #define NOCOMM
  35. #define NOKANJI
  36. #define NOCRYPT
  37. #define NOMCX
  38. #endif
  39. #if !defined(I_X86_) && !defined(_IA64_) && !defined(_AMD64_) && (defined(_X86_) && !defined(__x86_64))
  40. #define I_X86_
  41. #endif
  42. #if !defined(I_X86_) && !defined(_IA64_) && !defined(_AMD64_) && defined(__x86_64)
  43. #define _AMD64_
  44. #endif
  45. #if !defined(I_X86_) && !(defined(_X86_) && !defined(__x86_64)) && !defined(_AMD64_) && defined(__ia64__)
  46. #if !defined(_IA64_)
  47. #define _IA64_
  48. #endif
  49. #endif
  50. #ifndef RC_INVOKED
  51. #include <excpt.h>
  52. #include <stdarg.h>
  53. #endif
  54. #include <windef.h>
  55. #include <winbase.h>
  56. #include <wingdi.h>
  57. #include <winuser.h>
  58. //gr #include <winnls.h>
  59. #include <wincon.h>
  60. #include <winver.h>
  61. #include <winreg.h>
  62. //gr #include <winnetwk.h>
  63. #ifndef WIN32_LEAN_AND_MEAN
  64. #include <cderr.h>
  65. #include <dde.h>
  66. #include <ddeml.h>
  67. #include <dlgs.h>
  68. #include <lzexpand.h>
  69. #include <mmsystem.h>
  70. #include <nb30.h>
  71. #include <rpc.h>
  72. #include <shellapi.h>
  73. #include <winperf.h>
  74. #include <winsock.h>
  75. #ifndef NOCRYPT
  76. #include <wincrypt.h>
  77. #include <winefs.h>
  78. #include <winscard.h>
  79. #endif
  80. #ifndef NOUSER
  81. #ifndef NOGDI
  82. #include <winspool.h>
  83. #ifdef INC_OLE1
  84. #include <ole.h>
  85. #else
  86. #include <ole2.h>
  87. #endif
  88. #include <commdlg.h>
  89. #endif
  90. #endif
  91. #endif
  92. //gr #include <stralign.h>
  93. #ifdef INC_OLE2
  94. #include <ole2.h>
  95. #endif
  96. #ifndef NOSERVICE
  97. #include <winsvc.h>
  98. #endif
  99. #ifndef NOMCX
  100. #include <mcx.h>
  101. #endif
  102. #ifndef NOIME
  103. #include <imm.h>
  104. #endif
  105. #endif
  106. #endif
  107. #endif