Source code of Windows XP (NT5)
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.

51 lines
1.1 KiB

  1. /*
  2. * t120.h
  3. *
  4. * Copyright (c) 1994, 1995 by DataBeam Corporation, Lexington, KY
  5. *
  6. * Abstract:
  7. * This is the interface file for the communications infrastructure of
  8. * T120.
  9. *
  10. * Note that this is a "C" language interface in order to prevent any "C++"
  11. * naming conflicts between different compiler manufacturers. Therefore,
  12. * if this file is included in a module that is being compiled with a "C++"
  13. * compiler, it is necessary to use the following syntax:
  14. *
  15. * extern "C"
  16. * {
  17. * #include "t120.h"
  18. * }
  19. *
  20. * This disables C++ name mangling on the API entry points defined within
  21. * this file.
  22. *
  23. * Author:
  24. * blp
  25. *
  26. * Caveats:
  27. * none
  28. */
  29. #ifndef __T120_H__
  30. #define __T120_H__
  31. /*
  32. * These macros are used to pack 2 16-bit values into a 32-bit variable, and
  33. * get them out again.
  34. */
  35. #ifndef LOWUSHORT
  36. #define LOWUSHORT(ul) (LOWORD(ul))
  37. #endif
  38. #ifndef HIGHUSHORT
  39. #define HIGHUSHORT(ul) (HIWORD(ul))
  40. #endif
  41. #include "t120type.h"
  42. #include "mcatmcs.h"
  43. #include "gcc.h"
  44. #endif // __T120_H__