windows.h 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104
  1. /*
  2. * Copyright (C) the Wine project
  3. *
  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.
  8. *
  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.
  13. *
  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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
  17. */
  18. #ifndef __WINE_WINDOWS_H
  19. #define __WINE_WINDOWS_H
  20. #ifdef __WINESRC__
  21. #error Wine should not include windows.h internally
  22. #endif
  23. #if defined(_MSC_VER) && (_MSC_VER >= 800) && !defined(__cplusplus)
  24. /* TYPE_ALIGNMENT generates this - move it outside the warning push/pop scope. */
  25. # pragma warning(disable:4116)
  26. #endif
  27. #if defined(RC_INVOKED) && !defined(NOWINRES)
  28. #include <winresrc.h>
  29. #else /* RC_INVOKED && !NOWINRES */
  30. /* All the basic includes */
  31. #include <excpt.h>
  32. #include <stdarg.h>
  33. #include <windef.h>
  34. #include <winbase.h>
  35. #include <wingdi.h>
  36. #include <winuser.h>
  37. #include <winnls.h>
  38. #include <wincon.h>
  39. #include <winver.h>
  40. #include <winreg.h>
  41. #include <winnetwk.h>
  42. /* Not so essential ones */
  43. #ifndef WIN32_LEAN_AND_MEAN
  44. #include <cderr.h>
  45. #include <dde.h>
  46. #include <ddeml.h>
  47. #include <dlgs.h>
  48. #include <lzexpand.h>
  49. #include <mmsystem.h>
  50. #include <nb30.h>
  51. #include <rpc.h>
  52. #include <shellapi.h>
  53. /* #include <winperf.h> */
  54. #ifndef WINE_NOWINSOCK
  55. #include <winsock2.h>
  56. #endif /* WINE_NOWINSOCK */
  57. #ifndef NOCRYPT
  58. #include <wincrypt.h>
  59. /* #include <winefs.h> */
  60. /* #include <winscard.h> */
  61. #endif /* !NOCRYPT */
  62. #ifndef NOGDI
  63. #include <winspool.h>
  64. #ifdef INC_OLE1
  65. /* #include <ole.h> */
  66. #else
  67. #include <ole2.h>
  68. #endif
  69. #include <commdlg.h>
  70. #endif /* !NOGDI */
  71. #endif /* !WIN32_LEAN_AND_MEAN */
  72. /* #include <stralign.h> */
  73. #ifdef INC_OLE2
  74. #include <ole2.h>
  75. #endif /* INC_OLE2 */
  76. #ifndef NOSERVICE
  77. #include <winsvc.h>
  78. #endif /* !NOSERVICE */
  79. #ifndef NOMCX
  80. #include <mcx.h>
  81. #endif /* !NOMCX */
  82. #ifndef NOIMM
  83. #include <imm.h>
  84. #endif /* !NOIMM */
  85. #endif /* RC_INVOKED && !NOWINRES */
  86. #endif /* __WINE_WINDOWS_H */