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.

94 lines
1.6 KiB

  1. /*++
  2. Copyright (c) 1998 Microsoft Corporation
  3. Module Name :
  4. pe_supp.cxx
  5. Abstract:
  6. This module provides the implementation for the protocol
  7. event context
  8. Author:
  9. Keith Lau (KeithLau) 7/07/98
  10. Project:
  11. SMTP Server DLL
  12. Revision History:
  13. KeithLau Created
  14. --*/
  15. #define INCL_INETSRV_INCS
  16. #include "smtpinc.h"
  17. //
  18. // ATL includes
  19. //
  20. #define _ATL_NO_DEBUG_CRT
  21. #define _ASSERTE _ASSERT
  22. #define _WINDLL
  23. #include "atlbase.h"
  24. extern CComModule _Module;
  25. #include "atlcom.h"
  26. #undef _WINDLL
  27. //
  28. // SEO includes
  29. //
  30. #include "seo.h"
  31. #include "seolib.h"
  32. #include <memory.h>
  33. #include "smtpcli.hxx"
  34. #include "smtpout.hxx"
  35. //
  36. // Dispatcher implementation
  37. //
  38. #include "pe_dispi.hxx"
  39. HRESULT STDMETHODCALLTYPE CInboundContext::NotifyAsyncCompletion(
  40. HRESULT hrResult
  41. )
  42. {
  43. TraceFunctEnterEx((LPARAM)this, "CInboundContext::NotifyAsyncCompletion");
  44. HRESULT hrRes = S_OK;
  45. SMTP_CONNECTION *pParent = NULL;
  46. // We can obtain the SMTP_CONNECTION object from this
  47. pParent = CONTAINING_RECORD(this, SMTP_CONNECTION, m_CInboundContext);
  48. // Call the notify method on the parent class
  49. hrRes = pParent->OnNotifyAsyncCompletion(
  50. hrResult
  51. );
  52. DebugTrace((LPARAM)this, "returning hr %08lx", hrRes);
  53. TraceFunctLeaveEx((LPARAM)this);
  54. return(hrRes);
  55. }
  56. HRESULT STDMETHODCALLTYPE COutboundContext::NotifyAsyncCompletion(
  57. HRESULT hrResult
  58. )
  59. {
  60. return(E_NOTIMPL);
  61. }
  62. HRESULT STDMETHODCALLTYPE CResponseContext::NotifyAsyncCompletion(
  63. HRESULT hrResult
  64. )
  65. {
  66. return(E_NOTIMPL);
  67. }