diff --git a/include/mshtmdid.h b/include/mshtmdid.h index 87b8877f4e8..4b76d99996f 100644 --- a/include/mshtmdid.h +++ b/include/mshtmdid.h @@ -4714,4 +4714,9 @@ /* IDocumentRange */ #define DISPID_IDOCUMENTRANGE_CREATERANGE DISPID_OMDOCUMENT+111 +/* IHTMLNamespaceCollection */ +#define DISPID_IHTMLNAMESPACECOLLECTION_LENGTH DISPID_NAMESPACE_COLLECTION +#define DISPID_IHTMLNAMESPACECOLLECTION_ITEM DISPID_VALUE +#define DISPID_IHTMLNAMESPACECOLLECTION_ADD DISPID_NAMESPACE_COLLECTION+1 + #endif /* __MSHTMDID_H__ */ diff --git a/include/mshtml.idl b/include/mshtml.idl index ba7ef0db165..2fd1e6f76c7 100644 --- a/include/mshtml.idl +++ b/include/mshtml.idl @@ -28003,6 +28003,61 @@ interface IDOMMessageEvent : IDispatch [in] IHTMLWindow2 *source); } + +/***************************************************************************** + * IHTMLNamespaceCollection interface + */ +[ + odl, + oleautomation, + dual, + uuid(3050f6b8-98b5-11cf-bb82-00aa00bdce0b) +] +interface IHTMLNamespaceCollection : IDispatch +{ + [propget, id(DISPID_IHTMLNAMESPACECOLLECTION_LENGTH)] + HRESULT length([out, retval] long *p); + + [id(DISPID_IHTMLNAMESPACECOLLECTION_ITEM)] + HRESULT item( + [in] VARIANT index, + [out, retval] IDispatch **ppNamespace); + + [id(DISPID_IHTMLNAMESPACECOLLECTION_ADD)] + HRESULT add( + [in] BSTR bstrNamespace, + [in] BSTR bstrUrn, + [in, optional] VARIANT implementationUrl, + [out, retval] IDispatch **ppNamespace); +} + +/***************************************************************************** + * DispHTMLNamespaceCollection dispinterface + */ +[ + hidden, + uuid(3050f550-98b5-11cf-bb82-00aa00bdce0b) +] +dispinterface DispHTMLNamespaceCollection +{ +properties: +methods: + [propget, id(DISPID_IHTMLNAMESPACECOLLECTION_LENGTH)] + long length(); + + [id(DISPID_IHTMLNAMESPACECOLLECTION_ITEM)] + IDispatch *item([in] VARIANT index); + + [id(DISPID_IHTMLNAMESPACECOLLECTION_ADD)] + IDispatch *add( + [in] BSTR bstrNamespace, + [in] BSTR bstrUrn, + [in, optional] VARIANT implementationUrl); + + [propget, id(DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR), hidden] + IDispatch *constructor(); +} + /***************************************************************************** * ILineInfo interface */