Commit 453e2dcf authored by Abey George's avatar Abey George Committed by Alexandre Julliard

Return an error instead of a success code in OleCreate stub function.

parent 047513f3
......@@ -103,7 +103,7 @@ HRESULT WINAPI OleCreate(REFCLSID rclsid, REFIID riid, DWORD renderopt, LPFORMAT
LPSTORAGE pStg, LPVOID* ppvObj)
{
FIXME("(not shown), stub!\n");
return S_OK;
return E_OUTOFMEMORY;
}
/******************************************************************************
......@@ -201,7 +201,7 @@ BOOL WINAPI OleIsRunning(LPOLEOBJECT pObject)
HRESULT WINAPI OleRegEnumVerbs (REFCLSID clsid, LPENUMOLEVERB* ppenum)
{
FIXME("(%p,%p), stub!\n", clsid, ppenum);
return S_OK;
return OLEOBJ_E_NOVERBS;
}
/***********************************************************************
......@@ -217,17 +217,6 @@ HRESULT WINAPI OleRegEnumFormatEtc (
return S_OK;
}
#include "oleauto.h"
/***********************************************************************
* SetErrorInfo [OLE32.255]
*/
HRESULT WINAPI SetErrorInfo(DWORD dwReserved, IErrorInfo* perrinfo)
{
FIXME("(%ld, %p): stub:\n", dwReserved, perrinfo);
return S_OK;
}
/***********************************************************************
* PropVariantClear [OLE32.166]
*/
......
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