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. Copyright (c) 1998-2000 Microsoft Corporation
  3. Module Name :
  4. irtlmisc.h
  5. Abstract:
  6. Declares miscellaneous functions and classes in IisRtl.DLL
  7. Author:
  8. George V. Reilly (GeorgeRe) 06-Jan-1998
  9. Environment:
  10. Win32 - User Mode
  11. Project:
  12. Internet Information Server RunTime Library
  13. Revision History:
  14. --*/
  15. #ifndef __IRTLMISC_H__
  16. #define __IRTLMISC_H__
  17. //--------------------------------------------------------------------
  18. // These declarations are needed to export the template classes from
  19. // IisRtl.DLL and import them into other modules.
  20. #ifndef IRTL_DLLEXP
  21. # ifdef IRTLDBG_KERNEL_MODE
  22. # define IRTL_DLLEXP
  23. # define IRTL_EXPIMP
  24. # elif defined(DLL_IMPLEMENTATION)
  25. # define IRTL_DLLEXP __declspec(dllexport)
  26. # ifdef IMPLEMENTATION_EXPORT
  27. # define IRTL_EXPIMP
  28. # else
  29. # undef IRTL_EXPIMP
  30. # endif
  31. # else // !IRTLDBG_KERNEL_MODE && !DLL_IMPLEMENTATION
  32. # define IRTL_DLLEXP __declspec(dllimport)
  33. # define IRTL_EXPIMP extern
  34. # endif // !IRTLDBG_KERNEL_MODE && !DLL_IMPLEMENTATION
  35. #endif // !IRTL_DLLEXP
  36. #endif // __IRTLMISC_H__