Hi Konstantin,
Kondratyuk wrote: Hello!
Try 2 changes:
- add missed POINTER_GRAVITY_Max, MARKUP_CONTEXT_TYPE_Max, SELECTION_TYPE_Max
constants
- correct attributes of interfaces: object, pointer_default(unique), uuid(...)
- correct attributes Right and Left methods in IMarkupPointer interface
Non of the Functions in IMarkupPointer should be marked as retval, likewise for IMarkupContainer.
IElementSegment functions are in the wrong order, likewise for ISelectionServicesListener, ISelectionServices and IHTMLEditServices. Also you will need to double check the [] values, since you have retval where they are not needed.
If you have a copy of the mshtml.tlb you can verify the interfaces by using wine's oleview program.
Best Regards Alistair Leslie-Hughes
Hello, Alistair!
On Monday 24 November 2008 14:59:30 you wrote:
Non of the Functions in IMarkupPointer should be marked as retval, likewise for IMarkupContainer.
IElementSegment functions are in the wrong order, likewise for ISelectionServicesListener, ISelectionServices and IHTMLEditServices. Also you will need to double check the [] values, since you have retval where they are not needed.
If you have a copy of the mshtml.tlb you can verify the interfaces by using wine's oleview program.
Is it possible to consider results of oleview it is unique the true? The attribute "retval" is not present in one of adding interfaces. And your advice ([out, size_is(*pcch)])
HRESULT Right([in] BOOL fMove,[out] MARKUP_CONTEXT_TYPE* pContext,[out] IHTMLElement** ppElement,[in, out] long* pcch,[out, size_is(*pcch)] OLECHAR* pchText)
does not prove to be true (from oleview's results).
I have checked up and have corrected an order of methods in all interfaces. But oleview has shown a method in IHTMLEditServices which is not described in MSDN (http://msdn.microsoft.com/en-us/library/aa704048(VS.85).aspx):
HRESULT _stdcall SelectRange( [in] IMarkupPointer* pStart, [in] IMarkupPointer* pEnd, [in] _SELECTION_TYPE eType);
What is correct?
Thanks for your advices
Hi Konstantin,> does not prove to be true (from oleview's results).It appears the oleview doesnt report the [size_is] property.
I have checked up and have corrected an order of methods in all interfaces. > But oleview has shown a method in IHTMLEditServices which is not described in > MSDN (http://msdn.microsoft.com/en-us/library/aa704048(VS.85).aspx):%3E > HRESULT _stdcall SelectRange(> [in] IMarkupPointer* pStart,> [in] IMarkupPointer* pEnd,> [in] _SELECTION_TYPE eType);> What oleview reports is correct.
Best Regards Alistair Leslie-Hughes
_________________________________________________________________ Take a summer road trip with Windows Live Hotmail. Multiple prizes and the ultimate dream beach house! http://www.ninemsn.com.au/hotmailroadtrip