Commit b0a069dc authored by Hans Leidekker's avatar Hans Leidekker Committed by Alexandre Julliard

inetcomm: Add a stub implementation of IIMAPTransport.

parent 181d2fb6
......@@ -7,6 +7,7 @@ IMPORTLIB = inetcomm
IMPORTS = uuid oleaut32 ole32 ws2_32 user32 advapi32 kernel32
C_SRCS = \
imaptransport.c \
inetcomm_main.c \
internettransport.c \
mimeintl.c \
......
......@@ -147,6 +147,9 @@ HRESULT WINAPI DllGetClassObject(REFCLSID rclsid, REFIID iid, LPVOID *ppv)
TRACE("%s %s %p\n", debugstr_guid(rclsid), debugstr_guid(iid), ppv );
if (IsEqualCLSID(rclsid, &CLSID_IIMAPTransport))
return IMAPTransportCF_Create(iid, ppv);
if( IsEqualCLSID( rclsid, &CLSID_IMimeBody ))
{
cf = (IClassFactory*) &mime_body_cf.lpVtbl;
......
......@@ -33,6 +33,7 @@ struct InternetTransport
{
const IInternetTransportVtbl *vtbl;
const ISMTPTransportVtbl *vtblSMTP;
const IIMAPTransportVtbl *vtblIMAP;
} u;
ITransportCallback *pCallback;
......@@ -73,3 +74,5 @@ HRESULT MimeBody_create(IUnknown *outer, void **obj);
HRESULT MimeAllocator_create(IUnknown *outer, void **obj);
HRESULT MimeInternational_Construct(IMimeInternational **internat);
HRESULT IMAPTransportCF_Create(REFIID riid, LPVOID *ppv);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment