1
0

win32.h 535 B

12345678910111213141516171819202122232425262728293031323334
  1. #pragma once
  2. #include <stdio.h>
  3. #ifndef WIN32
  4. #error this file is only for win32
  5. #endif
  6. // this should be the *only* place windows.h gets included!
  7. #ifndef WIN32_LEAN_AND_MEAN
  8. #define WIN32_LEAN_AND_MEAN
  9. #endif
  10. #include <windows.h>
  11. #ifndef _WIN32_WCE
  12. #include <io.h>
  13. #endif
  14. #if defined(_MSC_VER) // msvc
  15. # define WASABIDLLEXPORT __declspec(dllexport)
  16. # if _MSC_VER >= 1100
  17. # define NOVTABLE __declspec(novtable)
  18. # endif
  19. #endif
  20. #define OSPIPE HANDLE
  21. typedef WCHAR OSFNCHAR;
  22. typedef LPWSTR OSFNSTR;
  23. typedef LPCWSTR OSFNCSTR;