riched20: Enable retrieving data through the ole interface.
This commit is contained in:
parent
d52ae24b5e
commit
33af76f991
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue