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.

36 lines
1.2 KiB

  1. #ifndef _CATUTIL_H
  2. #define _CATUTIL_H
  3. /************************************************************
  4. * FILE: catutil.h
  5. * PURPOSE: Handy utility stuff used by categorizer code
  6. * HISTORY:
  7. * // jstamerj 980211 15:50:26: Created
  8. ************************************************************/
  9. #include <abtype.h>
  10. #include "aqueue.h"
  11. #include "catconfig.h"
  12. #include "cattype.h"
  13. /************************************************************
  14. * MACROS
  15. ************************************************************/
  16. #define ISHRESULT(hr) (((hr) == S_OK) || ((hr) & 0xFFFF0000))
  17. /************************************************************
  18. * FUNCTION PROTOTYPES
  19. ************************************************************/
  20. HRESULT CatMsgCompletion(HRESULT hr, PVOID pContext, IUnknown *pIMsg, IUnknown **rgpIMsg);
  21. HRESULT CatDLMsgCompletion(HRESULT hr, PVOID pContext, IUnknown *pIMsg, IUnknown **rgpIMsg);
  22. HRESULT CheckMessageStatus(IUnknown *pIMsg);
  23. HRESULT GenerateCCatConfigInfo(
  24. PCCATCONFIGINFO pCatConfig,
  25. AQConfigInfo *pAQConfig,
  26. ISMTPServer *pISMTPServer,
  27. IAdvQueueDomainType *pIDomainInfo,
  28. DWORD *pdwVSID);
  29. #endif //_CATUTIL_H