Kevin Koltzau : riched20: Enable retrieving data through the ole
interface.
Alexandre Julliard
julliard at wine.codeweavers.com
Thu Feb 23 05:55:28 CST 2006
Module: wine
Branch: refs/heads/master
Commit: 33af76f991e08ff98499f55d2e9578471007e9ad
URL: http://source.winehq.org/git/?p=wine.git;a=commit;h=33af76f991e08ff98499f55d2e9578471007e9ad
Author: Kevin Koltzau <kevin at plop.org>
Date: Wed Feb 22 23:09:11 2006 -0500
riched20: Enable retrieving data through the ole interface.
---
dlls/riched20/richole.c | 12 ++++++++++--
1 files changed, 10 insertions(+), 2 deletions(-)
diff --git a/dlls/riched20/richole.c b/dlls/riched20/richole.c
index db294e0..68492c9 100644
--- a/dlls/riched20/richole.c
+++ b/dlls/riched20/richole.c
@@ -138,8 +138,16 @@ IRichEditOle_fnGetClipboardData(IRichEdi
DWORD reco, LPDATAOBJECT *lplpdataobj)
{
IRichEditOleImpl *This = (IRichEditOleImpl *)me;
- FIXME("stub %p\n",This);
- return E_NOTIMPL;
+ CHARRANGE tmpchrg;
+
+ 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)
More information about the wine-cvs
mailing list