From 957c020fdc2c4aff987b92bfeb56bc43195c14ec Mon Sep 17 00:00:00 2001 From: Jacek Caban Date: Tue, 14 Jun 2016 19:04:47 +0200 Subject: [PATCH] mshtml.idl: Added IDocumentSelector declaration. Signed-off-by: Jacek Caban Signed-off-by: Alexandre Julliard --- include/mshtmdid.h | 4 ++++ include/mshtml.idl | 28 ++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+) diff --git a/include/mshtmdid.h b/include/mshtmdid.h index 341da28b240..d17af33ae9b 100644 --- a/include/mshtmdid.h +++ b/include/mshtmdid.h @@ -3330,4 +3330,8 @@ #define DISPID_IDOMPROCESSINGINSTRUCTION_TARGET DISPID_PROCESSINGINSTRUCTION #define DISPID_IDOMPROCESSINGINSTRUCTION_DATA DISPID_PROCESSINGINSTRUCTION+1 +/* IDocumentSelector */ +#define DISPID_IDOCUMENTSELECTOR_QUERYSELECTOR DISPID_OMDOCUMENT+105 +#define DISPID_IDOCUMENTSELECTOR_QUERYSELECTORALL DISPID_OMDOCUMENT+106 + #endif /* __MSHTMDID_H__ */ diff --git a/include/mshtml.idl b/include/mshtml.idl index 8284b255cbd..c73a0f5a83f 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -14946,6 +14946,28 @@ interface IHTMLDocument7 : IDispatch HRESULT head([out, retval] IHTMLElement **p); } +/***************************************************************************** + * IDocumentSelector interface + */ +[ + odl, + oleautomation, + dual, + uuid(30510462-98b5-11cf-bb82-00aa00bdce0b) +] +interface IDocumentSelector : IDispatch +{ + [id(DISPID_IDOCUMENTSELECTOR_QUERYSELECTOR)] + HRESULT querySelector( + [in] BSTR v, + [out, retval] IHTMLElement **pel); + + [id(DISPID_IDOCUMENTSELECTOR_QUERYSELECTORALL)] + HRESULT querySelectorAll( + [in] BSTR v, + [out, retval] IHTMLDOMChildrenCollection **pel); +} + /***************************************************************************** * DispHTMLDocument dispinterface */ @@ -15547,6 +15569,12 @@ methods: void updateSettings(); WINE_HTMLDOMNODE_DISPINTERFACE_DECL; + + [id(DISPID_IDOCUMENTSELECTOR_QUERYSELECTOR)] + IHTMLElement *querySelector([in] BSTR v); + + [id(DISPID_IDOCUMENTSELECTOR_QUERYSELECTORALL)] + IHTMLDOMChildrenCollection *querySelectorAll([in] BSTR v); } /*****************************************************************************