diff --git a/dlls/inetcomm/inetcomm.spec b/dlls/inetcomm/inetcomm.spec index 6231ea7abba..23dba3f50de 100644 --- a/dlls/inetcomm/inetcomm.spec +++ b/dlls/inetcomm/inetcomm.spec @@ -55,7 +55,7 @@ @ stub MimeOleCreateMessageParts @ stub MimeOleCreatePropertySet @ stub MimeOleCreateSecurity -@ stub MimeOleCreateVirtualStream +@ stdcall MimeOleCreateVirtualStream(ptr) @ stub MimeOleDecodeHeader @ stub MimeOleEncodeHeader @ stub MimeOleFileTimeToInetDate diff --git a/dlls/inetcomm/mimeole.c b/dlls/inetcomm/mimeole.c index b6676675d34..3231a291e0c 100644 --- a/dlls/inetcomm/mimeole.c +++ b/dlls/inetcomm/mimeole.c @@ -27,6 +27,7 @@ #include "winbase.h" #include "winuser.h" #include "objbase.h" +#include "ole2.h" #include "mimeole.h" #include "wine/debug.h" @@ -54,3 +55,15 @@ HRESULT WINAPI MimeOleCreateMessage(IUnknown *pUnkOuter, IMimeMessage **ppMessag *ppMessage = NULL; return E_NOTIMPL; } + +/*********************************************************************** + * MimeOleCreateVirtualStream (INETCOMM.@) + */ +HRESULT WINAPI MimeOleCreateVirtualStream(IStream **ppStream) +{ + HRESULT hr; + FIXME("(%p)\n", ppStream); + + hr = CreateStreamOnHGlobal(NULL, TRUE, ppStream); + return hr; +}