Return an error instead of a success code in OleCreate stub function.
This commit is contained in:
parent
047513f3de
commit
453e2dcf3a
|
@ -103,7 +103,7 @@ HRESULT WINAPI OleCreate(REFCLSID rclsid, REFIID riid, DWORD renderopt, LPFORMAT
|
||||||
LPSTORAGE pStg, LPVOID* ppvObj)
|
LPSTORAGE pStg, LPVOID* ppvObj)
|
||||||
{
|
{
|
||||||
FIXME("(not shown), stub!\n");
|
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)
|
HRESULT WINAPI OleRegEnumVerbs (REFCLSID clsid, LPENUMOLEVERB* ppenum)
|
||||||
{
|
{
|
||||||
FIXME("(%p,%p), stub!\n", clsid, 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;
|
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]
|
* PropVariantClear [OLE32.166]
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue