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
810 B

  1. /*++
  2. Copyright (C) 1996-2001 Microsoft Corporation
  3. Module Name:
  4. COREPOL.H
  5. Abstract:
  6. declspec import/export helpers
  7. History:
  8. --*/
  9. //#define TRACKING
  10. // If we are building the DLL then define the
  11. // class as exported otherwise as imported
  12. // ============================================
  13. #ifndef COREPOL_HEADERFILE_IS_INCLUDED
  14. #define COREPOL_HEADERFILE_IS_INCLUDED
  15. //#pragma message( "Including COREPOL.H..." )
  16. #ifdef USE_POLARITY
  17. #ifdef BUILDING_DLL
  18. // #pragma message( "Building static library or DLL..." )
  19. #define POLARITY __declspec( dllexport )
  20. #else
  21. // #pragma message( "Building Provider..." )
  22. #define POLARITY __declspec( dllimport )
  23. #endif
  24. #else
  25. #define POLARITY
  26. // #pragma message( "NO Polarity...")
  27. #endif
  28. #endif