Commit 33af76f9 authored by Kevin Koltzau's avatar Kevin Koltzau Committed by Alexandre Julliard

riched20: Enable retrieving data through the ole interface.

parent d52ae24b
...@@ -138,8 +138,16 @@ IRichEditOle_fnGetClipboardData(IRichEditOle *me, CHARRANGE *lpchrg, ...@@ -138,8 +138,16 @@ IRichEditOle_fnGetClipboardData(IRichEditOle *me, CHARRANGE *lpchrg,
DWORD reco, LPDATAOBJECT *lplpdataobj) DWORD reco, LPDATAOBJECT *lplpdataobj)
{ {
IRichEditOleImpl *This = (IRichEditOleImpl *)me; IRichEditOleImpl *This = (IRichEditOleImpl *)me;
FIXME("stub %p\n",This); CHARRANGE tmpchrg;
return E_NOTIMPL;
TRACE("(%p,%p,%ld)\n",This, lpchrg, reco);
if(!lplpdataobj)
return E_INVALIDARG;
if(!lpchrg) {
ME_GetSelection(This->editor, (int*)&tmpchrg.cpMin, (int*)&tmpchrg.cpMax);
lpchrg = &tmpchrg;
}
return ME_GetDataObject(This->editor, lpchrg, lplpdataobj);
} }
static LONG WINAPI IRichEditOle_fnGetLinkCount(IRichEditOle *me) static LONG WINAPI IRichEditOle_fnGetLinkCount(IRichEditOle *me)
......
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