Commit f379a1dc authored by Filip Navara's avatar Filip Navara Committed by Alexandre Julliard

Get rid of E_UNSPEC non-standard error value.

parent dc4535f9
......@@ -925,7 +925,7 @@ static HRESULT WINAPI DefaultHandler_GetMoniker(
}
return E_UNSPEC;
return E_FAIL;
}
/************************************************************************
......
......@@ -708,10 +708,8 @@ HRESULT WINAPI FileMonikerImpl_BindToStorage(IMoniker* iface,
}
else
if ( (IsEqualIID(&IID_IStream, riid)) || (IsEqualIID(&IID_ILockBytes, riid)) )
return E_UNSPEC;
return E_FAIL;
else
return E_NOINTERFACE;
}
else {
......
......@@ -220,7 +220,7 @@ static HRESULT WINAPI WBOOBJ_GetMoniker(LPOLEOBJECT iface, DWORD dwAssign,
DWORD dwWhichMoniker, LPMONIKER *ppmk)
{
FIXME("stub (%p, %ld, %ld, %p)\n", iface, dwAssign, dwWhichMoniker, ppmk);
return E_UNSPEC;
return E_FAIL;
}
/************************************************************************
......
......@@ -1546,10 +1546,6 @@
#define E_POINTER _HRESULT_TYPEDEF_(0x80004003L)
#define E_ABORT _HRESULT_TYPEDEF_(0x80004004L)
#define E_FAIL _HRESULT_TYPEDEF_(0x80004005L)
/* FIXME: E_UNSPEC is not a standard value but it is used by
* FileMoniker, IOleLink and DoDragDrop as a return value.
*/
#define E_UNSPEC E_FAIL
#define CO_E_INIT_TLS _HRESULT_TYPEDEF_(0x80004006L)
......
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