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.

40 lines
815 B

  1. //-----------------------------------------------------------------------------
  2. //
  3. // File: ltapi.h
  4. // Copyright (C) 1994-1996 Microsoft Corporation
  5. // All rights reserved.
  6. //
  7. // Entry point macros for DLL's
  8. //
  9. //-----------------------------------------------------------------------------
  10. #ifdef LTAPIENTRY
  11. #undef LTAPIENTRY
  12. #endif
  13. #ifdef IMPLEMENT
  14. #define LTAPIENTRY __declspec(dllexport)
  15. #else // IMPLEMENT
  16. #define LTAPIENTRY __declspec(dllimport)
  17. #endif // IMPLEMENT
  18. #ifndef LTAPI_H
  19. #define LTAPI_H
  20. //
  21. // Allow the use of C++ reference types and const methods, without
  22. // breaking the 'C' world.
  23. //
  24. #ifdef __cplusplus
  25. #define REFERENCE &
  26. #define CONST_METHOD const
  27. #else
  28. #define REFERENCE *
  29. #define CONST_METHOD
  30. #endif
  31. #include <MitThrow.h>
  32. #endif