Re: mshtml: Add new interfaces into mshtml.idl
Hi Konstantin, "Konstantin Kondratyuk" <kondratyuk(a)etersoft.ru> wrote in message news:200811232011.33101.kondratyuk(a)etersoft.ru...> I'm sorry, I have sent a wrong patch...> > -- > Best regards,> Konstantin Kondratyuk.> You have missed POINTER_GRAVITY_Max MARKUP_CONTEXT_TYPE_Max SELECTION_TYPE_Max The following interfacess dont contain dual interfaces IHTMLEditDesigner IMarkupContainer IMarkupPointer ISegment ISelectionServicesListener ISelectionServices IHTMLEditServices 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
On Monday 24 November 2008 00:38:18 Alistair Leslie-Hughes wrote:
You have missed POINTER_GRAVITY_Max MARKUP_CONTEXT_TYPE_Max SELECTION_TYPE_Max
Thanks, fixed.
The following interfacess dont contain dual interfaces IHTMLEditDesigner IMarkupContainer IMarkupPointer ISegment ISelectionServicesListener ISelectionServices IHTMLEditServices
IElementSegment interface too? I have changed it in try2 Also, one question about retval attributes. There can be only one attribute in one method? For example, in IMarkupPointer interface: HRESULT Right( [in] BOOL fMove, [out] MARKUP_CONTEXT_TYPE *pContext, [out] IHTMLElement **ppElement, [out] long *pcch, [retval, out] OLECHAR *pchText); It is correct now? Try 1 contained four attributes "retval" in this method... Thanks for advices. -- Best regards, Konstantin Kondratyuk.
Hi Konstantin,
IElementSegment interface too? I have changed it in try2
Also, one question about retval attributes. There can be only one attribute in one method? For example, in IMarkupPointer interface: HRESULT Right( [in] BOOL fMove, [out] MARKUP_CONTEXT_TYPE *pContext, [out] IHTMLElement **ppElement, [out] long *pcch, [retval, out] OLECHAR *pchText); It is correct now? Try 1 contained four attributes "retval" in this method...
I function can only have one [retval] per function, and the rest should be out. In this case there isn't a retval. Here is for prototype for Right, note the pcch is an [in, out] HRESULT Right([in] BOOL fMove,[out] MARKUP_CONTEXT_TYPE* pContext,[out] IHTMLElement** ppElement,[in, out] long* pcch,[out, size_is(*pcch)] OLECHAR* pchText) Have a look at http://msdn.microsoft.com/en-us/library/aa703614(VS.85).aspx for the IMarkupPointer interface. Best Regards Alistair Leslie-Hughes
participants (2)
-
Alistair Leslie-Hughes -
Konstantin Kondratyuk