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.

60 lines
1.4 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. //
  4. // File: aqincs.h
  5. //
  6. // Description: The base header file for transport advanced queueing.
  7. //
  8. // Author: mikeswa
  9. //
  10. // Copyright (C) 1997 Microsoft Corporation
  11. //
  12. //-----------------------------------------------------------------------------
  13. #ifndef _AQINCS_H_
  14. #define _AQINCS_H_
  15. //General and windows headers
  16. //Define WINSOCKAPI, so atq,h will compile
  17. #define _WINSOCKAPI_
  18. #include <atq.h>
  19. #include <ole2.h>
  20. #include <mapicode.h>
  21. #include <stdio.h>
  22. #include <string.h>
  23. // Transport specific headers - every component should use these
  24. #include "transmem.h"
  25. #include "baseobj.h"
  26. #include <dbgtrace.h>
  27. #include <rwnew.h>
  28. #include <mailmsg.h>
  29. //can be used to mark signatures as deleted
  30. //will shift the signature over 1 character and prepend a '!'
  31. #define MARK_SIG_AS_DELETED(x) {x <<= 8; x |= 0x00000021;}
  32. #ifndef MAXDWORD
  33. #define MAXDWORD 0xffffffff
  34. #endif //MAXDWORD
  35. //my own special Assert
  36. //place holder for MCIS _ASSERT, until I bring code over
  37. #ifdef DEBUG
  38. #undef Assert
  39. #define Assert(x) _ASSERT(x)
  40. #else
  41. #undef Assert
  42. #define Assert(x)
  43. #endif //DEBUG
  44. #ifdef DEBUG
  45. #define DEBUG_DO_IT(x) x
  46. #else
  47. #define DEBUG_DO_IT(x)
  48. #endif //DEBUG
  49. _declspec(selectany) HINSTANCE g_hAQInstance = NULL;
  50. #endif //_AQINCS_H_