w32api.h 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. /**
  2. * This file has no copyright assigned and is placed in the Public Domain.
  3. * This file is part of the mingw-w64 runtime package.
  4. * No warranty is given; refer to the file DISCLAIMER.PD within this package.
  5. */
  6. #ifndef _W32API_H
  7. #define _W32API_H
  8. #define _W32API_H_
  9. #if __GNUC__ >=3
  10. #pragma GCC system_header
  11. #endif
  12. #define __W32API_VERSION 3.14
  13. #define __W32API_MAJOR_VERSION 3
  14. #define __W32API_MINOR_VERSION 14
  15. /* The following defines are for documentation purposes. The following defines
  16. * identify the versions of Windows and Internet Explorer. They are not to be
  17. * used in the w32api library but may be used by a user to set the _WIN32_WINNT
  18. * or _WIN32_WINDOWS and the WINVER values to their minimum level of support.
  19. *
  20. * Similarly the user can use the Internet Explorer values to set the _WIN32_IE
  21. * value to their minimum level of support.
  22. */
  23. /* Use these values to set _WIN32_WINDOWS and WINVER to your minimum support
  24. * level */
  25. #define Windows95 0x0400
  26. #define Windows98 0x0410
  27. #define WindowsME 0x0500
  28. /* Use these values to set _WIN32_WINNT and WINVER to your mimimum support
  29. * level. */
  30. #define WindowsNT4 0x0400
  31. #define Windows2000 0x0500
  32. #define WindowsXP 0x0501
  33. #define Windows2003 0x0502
  34. #define WindowsVista 0x0600
  35. #define Windows7 0x0601
  36. #define Windows8 0x0602
  37. /* Use these values to set _WIN32_IE to your minimum support level */
  38. #define IE3 0x0300
  39. #define IE301 0x0300
  40. #define IE302 0x0300
  41. #define IE4 0x0400
  42. #define IE401 0x0401
  43. #define IE5 0x0500
  44. #define IE5a 0x0500
  45. #define IE5b 0x0500
  46. #define IE501 0x0501
  47. #define IE55 0x0501
  48. #define IE56 0x0560
  49. #define IE6 0x0600
  50. #define IE601 0x0601
  51. #define IE602 0x0603
  52. #define IE7 0x0700
  53. #define IE8 0x0800
  54. #define IE9 0x0900
  55. #define IE10 0x0A00
  56. #endif /* ndef _W32API_H */