Thanks for review! I sent a new one.
2018-04-03 17:00 GMT+08:00 Huw Davies huw@codeweavers.com:
On Mon, Apr 02, 2018 at 12:08:15PM +0800, Jactry Zeng wrote:
static HRESULT WINAPI ITextRange_fnMoveWhile(ITextRange *me, VARIANT
*charset, LONG count,
@@ -4695,12 +4741,12 @@ static HRESULT WINAPI ITextSelection_fnMoveEnd(ITextSelection
*me, LONG unit, LO
{ ITextSelectionImpl *This = impl_from_ITextSelection(me);
- FIXME("(%p)->(%d %d %p): stub\n", This, unit, count, delta);
TRACE("(%p)->(%d %d %p)\n", This, unit, count, delta);
if (!This->reOle) return CO_E_RELEASED;
- return E_NOTIMPL;
- return textrange_moveend((ITextRange*)me, unit, count, delta);
The cast here is messy (I know ITextSelection inherits ITextRange, but still). You should probably get a ITextRange ptr by calling QueryInterface.
Huw.