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

This commit is contained in:
Abey George 2000-02-26 18:32:38 +00:00 committed by Alexandre Julliard
parent 047513f3de
commit 453e2dcf3a
1 changed files with 2 additions and 13 deletions

View File

@ -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]
*/