2007-11-02 12:49:29 +01:00
|
|
|
/*
|
|
|
|
* MIME OLE Interfaces
|
|
|
|
*
|
|
|
|
* Copyright 2006 Robert Shearman for CodeWeavers
|
|
|
|
*
|
|
|
|
* This library is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU Lesser General Public
|
|
|
|
* License as published by the Free Software Foundation; either
|
|
|
|
* version 2.1 of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This library is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
|
|
* Lesser General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Lesser General Public
|
|
|
|
* License along with this library; if not, write to the Free Software
|
|
|
|
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
|
|
|
*/
|
|
|
|
|
|
|
|
#define COBJMACROS
|
|
|
|
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
|
|
|
#include "windef.h"
|
|
|
|
#include "winbase.h"
|
2007-11-02 12:51:23 +01:00
|
|
|
#include "winuser.h"
|
2007-11-02 12:49:29 +01:00
|
|
|
#include "objbase.h"
|
2007-11-02 12:52:27 +01:00
|
|
|
#include "ole2.h"
|
2007-11-02 12:51:23 +01:00
|
|
|
#include "mimeole.h"
|
2007-11-02 12:49:29 +01:00
|
|
|
|
|
|
|
#include "wine/debug.h"
|
|
|
|
|
|
|
|
#include "inetcomm_private.h"
|
|
|
|
|
|
|
|
WINE_DEFAULT_DEBUG_CHANNEL(inetcomm);
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* MimeOleSetCompatMode (INETCOMM.@)
|
|
|
|
*/
|
|
|
|
HRESULT WINAPI MimeOleSetCompatMode(DWORD dwMode)
|
|
|
|
{
|
|
|
|
FIXME("(0x%x)\n", dwMode);
|
|
|
|
return S_OK;
|
|
|
|
}
|
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* MimeOleCreateMessage (INETCOMM.@)
|
|
|
|
*/
|
2007-11-02 12:51:23 +01:00
|
|
|
HRESULT WINAPI MimeOleCreateMessage(IUnknown *pUnkOuter, IMimeMessage **ppMessage)
|
2007-11-02 12:49:29 +01:00
|
|
|
{
|
|
|
|
FIXME("(%p, %p)\n", pUnkOuter, ppMessage);
|
|
|
|
|
|
|
|
*ppMessage = NULL;
|
|
|
|
return E_NOTIMPL;
|
|
|
|
}
|
2007-11-02 12:52:27 +01:00
|
|
|
|
|
|
|
/***********************************************************************
|
|
|
|
* MimeOleCreateVirtualStream (INETCOMM.@)
|
|
|
|
*/
|
|
|
|
HRESULT WINAPI MimeOleCreateVirtualStream(IStream **ppStream)
|
|
|
|
{
|
|
|
|
HRESULT hr;
|
|
|
|
FIXME("(%p)\n", ppStream);
|
|
|
|
|
|
|
|
hr = CreateStreamOnHGlobal(NULL, TRUE, ppStream);
|
|
|
|
return hr;
|
|
|
|
}
|