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.

40 lines
1.9 KiB

  1. //-----------------------------------------------------------------------------
  2. //
  3. //
  4. // File: aqdll.h
  5. //
  6. // Description: Declarations for non-COM functionality exported in
  7. // aqueue.dll. This file is included by aqueue.h, so no one should
  8. // need to include this file directly.
  9. //
  10. // Author: mikeswa
  11. //
  12. // Copyright (C) 1997 Microsoft Corporation
  13. //
  14. //-----------------------------------------------------------------------------
  15. #ifndef __AQDLL_H__
  16. #define __AQDLL_H__
  17. #define AQ_DLL_NAME "aqueue.dll"
  18. #define AQ_INITIALIZE_FUNCTION_NAME "HrAdvQueueInitialize"
  19. #define AQ_DEINITIALIZE_FUNCTION_NAME "HrAdvQueueDeinitialize"
  20. #define AQ_INITIALIZE_FUNCTION_NAME_EX "HrAdvQueueInitializeEx"
  21. #define AQ_DEINITIALIZE_FUNCTION_NAME_EX "HrAdvQueueDeinitializeEx"
  22. typedef void (*PSRVUPDATEFN)(PVOID);
  23. typedef HRESULT (*AQ_INITIALIZE_FUNCTION)(ISMTPServer *pISMTPServer, DWORD dwServerInstance, IAdvQueue **ppIAdvQueue, IConnectionManager **ppIConnectionManager, IAdvQueueConfig **ppIAdvQueueConfig, PVOID *ppvContext);
  24. typedef HRESULT (*AQ_INITIALIZE_EX_FUNCTION)(ISMTPServer *pISMTPServer, DWORD dwServerInstance, LPSTR szUser, LPSTR szDomain, LPSTR szPassword, PSRVUPDATEFN pFn, PVOID pvSrvContext, IAdvQueue **ppIAdvQueue, IConnectionManager **ppIConnectionManager, IAdvQueueConfig **ppIAdvQueueConfig, PVOID *ppvContext);
  25. typedef HRESULT (*AQ_DEINITIALIZE_FUNCTION)(PVOID pvContext);
  26. typedef HRESULT (*AQ_DEINITIALIZE_EX_FUNCTION)(PVOID pvContext, PSRVUPDATEFN pFn, PVOID pvSrvContext);
  27. HRESULT HrAdvQueueInitialize(
  28. IN ISMTPServer *pISMTPServer,
  29. IN DWORD dwServerInstance,
  30. OUT IAdvQueue **ppIAdvQueue,
  31. OUT IConnectionManager **ppIConnectionManager,
  32. OUT IAdvQueueConfig **ppIAdvQueueConfig,
  33. OUT PVOID *ppvContext);
  34. HRESULT HrAdvQueueDeinitialize(PVOID pvContext);
  35. #endif //__AQDLL_H__