WindowsHeaders.h 588 B

1234567891011121314151617181920212223242526272829303132
  1. #pragma once
  2. #if IL2CPP_TARGET_WINDOWS
  3. #pragma once
  4. #ifndef NOMINMAX
  5. #define NOMINMAX
  6. #endif
  7. #ifndef WIN32_LEAN_AND_MEAN
  8. #define WIN32_LEAN_AND_MEAN 1
  9. #endif
  10. #define INC_OLE2 1
  11. #include <Windows.h>
  12. #include <Objidl.h>
  13. #if IL2CPP_TARGET_WINDOWS_DESKTOP || IL2CPP_TARGET_WINRT || IL2CPP_TARGET_WINDOWS_GAMES
  14. #include <wincrypt.h>
  15. #include <winsock2.h>
  16. #include <Iphlpapi.h>
  17. #endif
  18. #if !IL2CPP_TARGET_WINDOWS_DESKTOP
  19. #include <bcrypt.h>
  20. #include <roapi.h>
  21. #include <robuffer.h>
  22. #include <winstring.h>
  23. #endif
  24. #define LINK_TO_WINDOWSRUNTIME_LIBS (!IL2CPP_TARGET_WINDOWS_DESKTOP)
  25. #endif