Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.2 KiB

  1. /***************************************************************************\
  2. * Module Name: 1632PORT.H
  3. *
  4. * Copyright (c) 1985-1999, Microsoft Corporation
  5. *
  6. * Master include file for Portable Windows applications.
  7. *
  8. * History:
  9. * sanfords 1/10/91 Created
  10. *
  11. \***************************************************************************/
  12. /*
  13. * This file maps a Meta-API for Windows to specific 16-bit or 32-bit forms
  14. * allowing a single portable C source for windows to work on multiple
  15. * versions of Windows.
  16. */
  17. #ifndef _PORT1632_
  18. #define _PORT1632_
  19. #if _MSC_VER > 1000
  20. #pragma once
  21. #endif
  22. #if defined(WIN16)
  23. /* ---------------- Maps to windows 3.0 and 3.1 16-bit APIs ----------------*/
  24. #include "ptypes16.h"
  25. #include "pwin16.h"
  26. #include "plan16.h"
  27. /* -------------------------------------------------------------------------*/
  28. #elif defined(WIN32)
  29. /* ---------------- Maps to windows 3.2 and 4.0 32-bit APIs ----------------*/
  30. #include "ptypes32.h"
  31. #include "pcrt32.h"
  32. #include "pwin32.h"
  33. #include "plan32.h"
  34. /* -------------------------------------------------------------------------*/
  35. #else
  36. #error You must define either WIN32 or WIN16
  37. #endif /* WIN32 or WIN16 */
  38. #endif /* ndef _PORT1632_ */