From 88edfb5701843522fd4da989deede04ca752a92a Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Fri, 20 Mar 2015 16:00:00 +0100 Subject: [PATCH] mshtml.idl: Added IHTMLSelectionObject2 declaration. --- include/mshtmdid.h | 4 ++++ include/mshtml.idl | 18 ++++++++++++++++++ 2 files changed, 22 insertions(+) diff --git a/include/mshtmdid.h b/include/mshtmdid.h index e65a049e749..722686a567d 100644 --- a/include/mshtmdid.h +++ b/include/mshtmdid.h @@ -1759,6 +1759,10 @@ #define DISPID_IHTMLSELECTIONOBJECT_CLEAR (DISPID_SELECTOBJ+3) #define DISPID_IHTMLSELECTIONOBJECT_TYPE (DISPID_SELECTOBJ+4) +/* IHTMLSelectionObject2 */ +#define DISPID_IHTMLSELECTIONOBJECT2_CREATERANGECOLLECTION DISPID_SELECTOBJ+5 +#define DISPID_IHTMLSELECTIONOBJECT2_TYPEDETAIL DISPID_SELECTOBJ+6 + /* IHTMLSelection */ #define DISPID_IHTMLSELECTION_ANCHORNODE DISPID_HTMLSELECTION+1 #define DISPID_IHTMLSELECTION_ANCHOROFFSET DISPID_HTMLSELECTION+2 diff --git a/include/mshtml.idl b/include/mshtml.idl index 0c5a8746ec8..ba456774ecd 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -9493,6 +9493,24 @@ interface IHTMLSelectionObject : IDispatch HRESULT type([retval, out] BSTR *p); } +/***************************************************************************** + * IHTMLSelectionObject2 interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f7ec-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLSelectionObject2 : IDispatch +{ + [id(DISPID_IHTMLSELECTIONOBJECT2_CREATERANGECOLLECTION)] + HRESULT createRangeCollection([out, retval] IDispatch **rangeCollection); + + [propget, id(DISPID_IHTMLSELECTIONOBJECT2_TYPEDETAIL)] + HRESULT typeDetail([out, retval] BSTR *p); +} + /***************************************************************************** * IHTMLSelection interface */