Get rid of E_UNSPEC non-standard error value.
This commit is contained in:
parent
dc4535f91a
commit
f379a1dccf
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue