riched20: If DataObjectImpl_EnumFormatEtc returns E_NOTIMPL then ensure that returned pointers are nulled.
This commit is contained in:
parent
c02e75cf78
commit
33534916a3
|
@ -282,6 +282,7 @@ static HRESULT WINAPI DataObjectImpl_EnumFormatEtc(IDataObject* iface, DWORD dwD
|
||||||
if(dwDirection != DATADIR_GET) {
|
if(dwDirection != DATADIR_GET) {
|
||||||
FIXME("Unsupported direction: %d\n", dwDirection);
|
FIXME("Unsupported direction: %d\n", dwDirection);
|
||||||
/* WinXP riched20 also returns E_NOTIMPL in this case */
|
/* WinXP riched20 also returns E_NOTIMPL in this case */
|
||||||
|
*ppenumFormatEtc = NULL;
|
||||||
return E_NOTIMPL;
|
return E_NOTIMPL;
|
||||||
}
|
}
|
||||||
return EnumFormatImpl_Create(This->fmtetc, This->fmtetc_cnt, ppenumFormatEtc);
|
return EnumFormatImpl_Create(This->fmtetc, This->fmtetc_cnt, ppenumFormatEtc);
|
||||||
|
|
Loading…
Reference in New Issue