Huw Davies : inetcomm: Implement IMimeMessage_GetMessageSource.

Alexandre Julliard julliard at winehq.org
Wed Feb 13 10:40:07 CST 2008


Module: wine
Branch: master
Commit: e03f478aee2262ee265cc00ed1d92b1947bf9fac
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=e03f478aee2262ee265cc00ed1d92b1947bf9fac

Author: Huw Davies <huw at codeweavers.com>
Date:   Tue Feb 12 14:30:59 2008 +0000

inetcomm: Implement IMimeMessage_GetMessageSource.

---

 dlls/inetcomm/mimeole.c |    6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diff --git a/dlls/inetcomm/mimeole.c b/dlls/inetcomm/mimeole.c
index b67a898..dd47a68 100644
--- a/dlls/inetcomm/mimeole.c
+++ b/dlls/inetcomm/mimeole.c
@@ -1674,8 +1674,12 @@ static HRESULT WINAPI MimeMessage_GetMessageSource(
     IStream **ppStream,
     DWORD dwFlags)
 {
+    MimeMessage *This = (MimeMessage *)iface;
     FIXME("(%p)->(%p, 0x%x)\n", iface, ppStream, dwFlags);
-    return E_NOTIMPL;
+
+    IStream_AddRef(This->stream);
+    *ppStream = This->stream;
+    return S_OK;
 }
 
 static HRESULT WINAPI MimeMessage_GetMessageSize(




More information about the wine-cvs mailing list