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
94 lines
1.6 KiB
/*++
|
|
|
|
Copyright (c) 1998 Microsoft Corporation
|
|
|
|
Module Name :
|
|
|
|
pe_supp.cxx
|
|
|
|
Abstract:
|
|
|
|
This module provides the implementation for the protocol
|
|
event context
|
|
|
|
Author:
|
|
|
|
Keith Lau (KeithLau) 7/07/98
|
|
|
|
Project:
|
|
|
|
SMTP Server DLL
|
|
|
|
Revision History:
|
|
|
|
KeithLau Created
|
|
|
|
--*/
|
|
|
|
#define INCL_INETSRV_INCS
|
|
#include "smtpinc.h"
|
|
|
|
//
|
|
// ATL includes
|
|
//
|
|
#define _ATL_NO_DEBUG_CRT
|
|
#define _ASSERTE _ASSERT
|
|
#define _WINDLL
|
|
#include "atlbase.h"
|
|
extern CComModule _Module;
|
|
#include "atlcom.h"
|
|
#undef _WINDLL
|
|
|
|
//
|
|
// SEO includes
|
|
//
|
|
#include "seo.h"
|
|
#include "seolib.h"
|
|
|
|
#include <memory.h>
|
|
#include "smtpcli.hxx"
|
|
#include "smtpout.hxx"
|
|
|
|
//
|
|
// Dispatcher implementation
|
|
//
|
|
#include "pe_dispi.hxx"
|
|
|
|
|
|
HRESULT STDMETHODCALLTYPE CInboundContext::NotifyAsyncCompletion(
|
|
HRESULT hrResult
|
|
)
|
|
{
|
|
TraceFunctEnterEx((LPARAM)this, "CInboundContext::NotifyAsyncCompletion");
|
|
|
|
HRESULT hrRes = S_OK;
|
|
SMTP_CONNECTION *pParent = NULL;
|
|
|
|
// We can obtain the SMTP_CONNECTION object from this
|
|
pParent = CONTAINING_RECORD(this, SMTP_CONNECTION, m_CInboundContext);
|
|
|
|
// Call the notify method on the parent class
|
|
hrRes = pParent->OnNotifyAsyncCompletion(
|
|
hrResult
|
|
);
|
|
|
|
DebugTrace((LPARAM)this, "returning hr %08lx", hrRes);
|
|
|
|
TraceFunctLeaveEx((LPARAM)this);
|
|
|
|
return(hrRes);
|
|
}
|
|
|
|
HRESULT STDMETHODCALLTYPE COutboundContext::NotifyAsyncCompletion(
|
|
HRESULT hrResult
|
|
)
|
|
{
|
|
return(E_NOTIMPL);
|
|
}
|
|
|
|
HRESULT STDMETHODCALLTYPE CResponseContext::NotifyAsyncCompletion(
|
|
HRESULT hrResult
|
|
)
|
|
{
|
|
return(E_NOTIMPL);
|
|
}
|