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.

42 lines
610 B

  1. /*++
  2. Copyright (C) 1996-1999 Microsoft Corporation
  3. Module Name:
  4. LTAPI.H
  5. History:
  6. --*/
  7. #ifdef LTAPIENTRY
  8. #undef LTAPIENTRY
  9. #endif
  10. #ifdef IMPLEMENT
  11. #define LTAPIENTRY __declspec(dllexport)
  12. #else // IMPLEMENT
  13. #define LTAPIENTRY __declspec(dllimport)
  14. #endif // IMPLEMENT
  15. #ifndef LTAPI_H
  16. #define LTAPI_H
  17. //
  18. // Allow the use of C++ reference types and const methods, without
  19. // breaking the 'C' world.
  20. //
  21. #ifdef __cplusplus
  22. #define REFERENCE &
  23. #define CONST_METHOD const
  24. #else
  25. #define REFERENCE *
  26. #define CONST_METHOD
  27. #endif
  28. #include <MitThrow.h>
  29. #endif