diff --git a/dlls/ole32/defaulthandler.c b/dlls/ole32/defaulthandler.c index 4158f508a77..a1af68e40de 100644 --- a/dlls/ole32/defaulthandler.c +++ b/dlls/ole32/defaulthandler.c @@ -972,6 +972,9 @@ static HRESULT WINAPI DefaultHandler_GetData( IDataObject_Release(cacheDataObject); + if (FAILED(hres) && This->pDataDelegate) + hres = IDataObject_GetData(This->pDataDelegate, pformatetcIn, pmedium); + return hres; } @@ -1015,6 +1018,9 @@ static HRESULT WINAPI DefaultHandler_QueryGetData( IDataObject_Release(cacheDataObject); + if (FAILED(hres) && This->pDataDelegate) + hres = IDataObject_QueryGetData(This->pDataDelegate, pformatetc); + return hres; }