mshtml: Add names for each object and use it in the Navigator.
Signed-off-by: Gabriel Ivăncescu <gabrielopcode@gmail.com> Signed-off-by: Jacek Caban <jacek@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
dc3408b1f4
commit
c667bbe80a
|
@ -886,6 +886,7 @@ static const dispex_static_data_vtbl_t function_dispex_vtbl = {
|
|||
static const tid_t function_iface_tids[] = {0};
|
||||
|
||||
static dispex_static_data_t function_dispex = {
|
||||
L"Function",
|
||||
&function_dispex_vtbl,
|
||||
NULL_tid,
|
||||
function_iface_tids
|
||||
|
@ -1482,6 +1483,34 @@ compat_mode_t dispex_compat_mode(DispatchEx *dispex)
|
|||
: dispex->info->desc->vtbl->get_compat_mode(dispex);
|
||||
}
|
||||
|
||||
HRESULT dispex_to_string(DispatchEx *dispex, BSTR *ret)
|
||||
{
|
||||
static const WCHAR prefix[8] = L"[object ";
|
||||
static const WCHAR suffix[] = L"]";
|
||||
WCHAR buf[ARRAY_SIZE(prefix) + 28 + ARRAY_SIZE(suffix)], *p = buf;
|
||||
compat_mode_t compat_mode = dispex_compat_mode(dispex);
|
||||
const WCHAR *name = dispex->info->desc->name;
|
||||
unsigned len;
|
||||
|
||||
if(!ret)
|
||||
return E_INVALIDARG;
|
||||
|
||||
memcpy(p, prefix, sizeof(prefix));
|
||||
p += ARRAY_SIZE(prefix);
|
||||
if(compat_mode < COMPAT_MODE_IE9)
|
||||
p--;
|
||||
else {
|
||||
len = wcslen(name);
|
||||
assert(len <= 28);
|
||||
memcpy(p, name, len * sizeof(WCHAR));
|
||||
p += len;
|
||||
}
|
||||
memcpy(p, suffix, sizeof(suffix));
|
||||
|
||||
*ret = SysAllocString(buf);
|
||||
return *ret ? S_OK : E_OUTOFMEMORY;
|
||||
}
|
||||
|
||||
static dispex_data_t *ensure_dispex_info(dispex_static_data_t *desc, compat_mode_t compat_mode)
|
||||
{
|
||||
if(!desc->info_cache[compat_mode]) {
|
||||
|
|
|
@ -857,6 +857,7 @@ static const tid_t HTMLAnchorElement_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLAnchorElement_dispex = {
|
||||
L"HTMLAnchorElement",
|
||||
NULL,
|
||||
DispHTMLAnchorElement_tid,
|
||||
HTMLAnchorElement_iface_tids,
|
||||
|
|
|
@ -477,6 +477,7 @@ static const tid_t HTMLAreaElement_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLAreaElement_dispex = {
|
||||
L"HTMLAreaElement",
|
||||
NULL,
|
||||
DispHTMLAreaElement_tid,
|
||||
HTMLAreaElement_iface_tids,
|
||||
|
|
|
@ -484,6 +484,7 @@ static const tid_t HTMLDOMAttribute_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLDOMAttribute_dispex = {
|
||||
L"Attr",
|
||||
NULL,
|
||||
DispHTMLDOMAttribute_tid,
|
||||
HTMLDOMAttribute_iface_tids
|
||||
|
|
|
@ -1008,6 +1008,7 @@ static const tid_t HTMLBodyElement_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLBodyElement_dispex = {
|
||||
L"HTMLBodyElement",
|
||||
NULL,
|
||||
DispHTMLBody_tid,
|
||||
HTMLBodyElement_iface_tids,
|
||||
|
|
|
@ -199,6 +199,7 @@ static const tid_t HTMLCommentElement_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLCommentElement_dispex = {
|
||||
L"Comment",
|
||||
NULL,
|
||||
DispHTMLCommentElement_tid,
|
||||
HTMLCommentElement_iface_tids,
|
||||
|
|
|
@ -1300,6 +1300,7 @@ static const tid_t HTMLCurrentStyle_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLCurrentStyle_dispex = {
|
||||
L"MSCurrentStyleCSSProperties",
|
||||
&CSSStyle_dispex_vtbl,
|
||||
DispHTMLCurrentStyle_tid,
|
||||
HTMLCurrentStyle_iface_tids,
|
||||
|
|
|
@ -5654,6 +5654,7 @@ static void HTMLDocumentNode_init_dispex_info(dispex_data_t *info, compat_mode_t
|
|||
}
|
||||
|
||||
static dispex_static_data_t HTMLDocumentNode_dispex = {
|
||||
L"HTMLDocument",
|
||||
&HTMLDocumentNode_event_target_vtbl.dispex_vtbl,
|
||||
DispHTMLDocument_tid,
|
||||
HTMLDocumentNode_iface_tids,
|
||||
|
@ -5949,6 +5950,7 @@ static const tid_t HTMLDocumentObj_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLDocumentObj_dispex = {
|
||||
L"HTMLDocumentObj",
|
||||
NULL,
|
||||
DispHTMLDocument_tid,
|
||||
HTMLDocumentObj_iface_tids
|
||||
|
|
|
@ -527,6 +527,7 @@ static const tid_t HTMLRect_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLRect_dispex = {
|
||||
L"ClientRect",
|
||||
NULL,
|
||||
IHTMLRect_tid,
|
||||
HTMLRect_iface_tids
|
||||
|
@ -788,6 +789,7 @@ static const tid_t HTMLRectCollection_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLRectCollection_dispex = {
|
||||
L"ClientRectList",
|
||||
&HTMLRectCollection_dispex_vtbl,
|
||||
IHTMLRectCollection_tid,
|
||||
HTMLRectCollection_iface_tids
|
||||
|
@ -6669,6 +6671,7 @@ static const tid_t token_list_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t token_list_dispex = {
|
||||
L"DOMTokenList",
|
||||
&token_list_dispex_vtbl,
|
||||
IWineDOMTokenList_tid,
|
||||
token_list_iface_tids
|
||||
|
@ -6779,6 +6782,7 @@ static const IWineHTMLElementPrivateVtbl WineHTMLElementPrivateVtbl = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLElement_dispex = {
|
||||
L"HTMLElement",
|
||||
&HTMLElement_event_target_vtbl.dispex_vtbl,
|
||||
DispHTMLUnknownElement_tid,
|
||||
HTMLElement_iface_tids,
|
||||
|
@ -7053,6 +7057,7 @@ static const tid_t HTMLFiltersCollection_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLFiltersCollection_dispex = {
|
||||
L"FiltersCollection",
|
||||
&HTMLFiltersCollection_dispex_vtbl,
|
||||
IHTMLFiltersCollection_tid,
|
||||
HTMLFiltersCollection_iface_tids
|
||||
|
@ -7626,6 +7631,7 @@ static const tid_t HTMLAttributeCollection_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLAttributeCollection_dispex = {
|
||||
L"NamedNodeMap",
|
||||
&HTMLAttributeCollection_dispex_vtbl,
|
||||
DispHTMLAttributeCollection_tid,
|
||||
HTMLAttributeCollection_iface_tids
|
||||
|
|
|
@ -618,6 +618,7 @@ static const tid_t HTMLElementCollection_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLElementCollection_dispex = {
|
||||
L"HTMLCollection",
|
||||
&HTMLElementColection_dispex_vtbl,
|
||||
DispHTMLElementCollection_tid,
|
||||
HTMLElementCollection_iface_tids
|
||||
|
|
|
@ -750,6 +750,7 @@ static const tid_t HTMLEventObj_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLEventObj_dispex = {
|
||||
L"MSEventObj",
|
||||
NULL,
|
||||
DispCEventObj_tid,
|
||||
HTMLEventObj_iface_tids
|
||||
|
@ -2135,6 +2136,7 @@ static const tid_t DOMEvent_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t DOMEvent_dispex = {
|
||||
L"Event",
|
||||
NULL,
|
||||
DispDOMEvent_tid,
|
||||
DOMEvent_iface_tids
|
||||
|
@ -2147,6 +2149,7 @@ static const tid_t DOMUIEvent_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t DOMUIEvent_dispex = {
|
||||
L"UIEvent",
|
||||
NULL,
|
||||
DispDOMUIEvent_tid,
|
||||
DOMUIEvent_iface_tids
|
||||
|
@ -2160,6 +2163,7 @@ static const tid_t DOMMouseEvent_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t DOMMouseEvent_dispex = {
|
||||
L"MouseEvent",
|
||||
NULL,
|
||||
DispDOMMouseEvent_tid,
|
||||
DOMMouseEvent_iface_tids
|
||||
|
@ -2173,6 +2177,7 @@ static const tid_t DOMKeyboardEvent_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t DOMKeyboardEvent_dispex = {
|
||||
L"KeyboardEvent",
|
||||
NULL,
|
||||
DispDOMKeyboardEvent_tid,
|
||||
DOMKeyboardEvent_iface_tids
|
||||
|
@ -2185,6 +2190,7 @@ static const tid_t DOMCustomEvent_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t DOMCustomEvent_dispex = {
|
||||
L"CustomEvent",
|
||||
NULL,
|
||||
DispDOMCustomEvent_tid,
|
||||
DOMCustomEvent_iface_tids
|
||||
|
|
|
@ -827,6 +827,7 @@ static const tid_t HTMLFormElement_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLFormElement_dispex = {
|
||||
L"HTMLFormElement",
|
||||
NULL,
|
||||
DispHTMLFormElement_tid,
|
||||
HTMLFormElement_iface_tids,
|
||||
|
|
|
@ -1023,6 +1023,7 @@ static const tid_t HTMLFrameElement_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLFrameElement_dispex = {
|
||||
L"HTMLFrameElement",
|
||||
NULL,
|
||||
DispHTMLFrameElement_tid,
|
||||
HTMLFrameElement_iface_tids,
|
||||
|
@ -1603,6 +1604,7 @@ static const tid_t HTMLIFrame_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLIFrame_dispex = {
|
||||
L"HTMLIFrameElement",
|
||||
NULL,
|
||||
DispHTMLIFrame_tid,
|
||||
HTMLIFrame_iface_tids,
|
||||
|
|
|
@ -168,6 +168,7 @@ static const tid_t HTMLGenericElement_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLGenericElement_dispex = {
|
||||
L"HTMLUnknownElement",
|
||||
NULL,
|
||||
DispHTMLGenericElement_tid,
|
||||
HTMLGenericElement_iface_tids,
|
||||
|
|
|
@ -169,6 +169,7 @@ static const tid_t HTMLTitleElement_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLTitleElement_dispex = {
|
||||
L"HTMLTitleElement",
|
||||
NULL,
|
||||
DispHTMLTitleElement_tid,
|
||||
HTMLTitleElement_iface_tids,
|
||||
|
@ -352,6 +353,7 @@ static const tid_t HTMLHtmlElement_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLHtmlElement_dispex = {
|
||||
L"HTMLHtmlElement",
|
||||
NULL,
|
||||
DispHTMLHtmlElement_tid,
|
||||
HTMLHtmlElement_iface_tids,
|
||||
|
@ -588,6 +590,7 @@ static const tid_t HTMLMetaElement_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLMetaElement_dispex = {
|
||||
L"HTMLMetaElement",
|
||||
NULL,
|
||||
DispHTMLMetaElement_tid,
|
||||
HTMLMetaElement_iface_tids,
|
||||
|
@ -751,6 +754,7 @@ static const tid_t HTMLHeadElement_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLHeadElement_dispex = {
|
||||
L"HTMLHeadElement",
|
||||
NULL,
|
||||
DispHTMLHeadElement_tid,
|
||||
HTMLHeadElement_iface_tids,
|
||||
|
|
|
@ -730,6 +730,7 @@ static const tid_t HTMLImgElement_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLImgElement_dispex = {
|
||||
L"HTMLImageElement",
|
||||
NULL,
|
||||
DispHTMLImg_tid,
|
||||
HTMLImgElement_iface_tids,
|
||||
|
@ -974,6 +975,7 @@ static const dispex_static_data_vtbl_t HTMLImageElementFactory_dispex_vtbl = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLImageElementFactory_dispex = {
|
||||
L"Function",
|
||||
&HTMLImageElementFactory_dispex_vtbl,
|
||||
IHTMLImageElementFactory_tid,
|
||||
HTMLImageElementFactory_iface_tids
|
||||
|
|
|
@ -1441,6 +1441,7 @@ static const tid_t HTMLInputElement_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLInputElement_dispex = {
|
||||
L"HTMLInputElement",
|
||||
NULL,
|
||||
DispHTMLInputElement_tid,
|
||||
HTMLInputElement_iface_tids,
|
||||
|
@ -1637,6 +1638,7 @@ static const tid_t HTMLLabelElement_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLLabelElement_dispex = {
|
||||
L"HTMLLabelElement",
|
||||
NULL,
|
||||
DispHTMLLabelElement_tid,
|
||||
HTMLLabelElement_iface_tids,
|
||||
|
@ -1983,6 +1985,7 @@ static const tid_t HTMLButtonElement_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLButtonElement_dispex = {
|
||||
L"HTMLButtonElement",
|
||||
NULL,
|
||||
DispHTMLButtonElement_tid,
|
||||
HTMLButtonElement_iface_tids,
|
||||
|
|
|
@ -446,6 +446,7 @@ static const tid_t HTMLLinkElement_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLLinkElement_dispex = {
|
||||
L"HTMLLinkElement",
|
||||
NULL,
|
||||
DispHTMLLinkElement_tid,
|
||||
HTMLLinkElement_iface_tids,
|
||||
|
|
|
@ -631,6 +631,7 @@ static const tid_t HTMLLocation_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLLocation_dispex = {
|
||||
L"Object",
|
||||
NULL,
|
||||
DispHTMLLocation_tid,
|
||||
HTMLLocation_iface_tids
|
||||
|
|
|
@ -429,6 +429,7 @@ static const tid_t HTMLDOMChildrenCollection_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLDOMChildrenCollection_dispex = {
|
||||
L"NodeList",
|
||||
&HTMLDOMChildrenCollection_dispex_vtbl,
|
||||
DispDOMChildrenCollection_tid,
|
||||
HTMLDOMChildrenCollection_iface_tids,
|
||||
|
@ -1476,6 +1477,7 @@ static const tid_t HTMLDOMNode_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLDOMNode_dispex = {
|
||||
L"Node",
|
||||
NULL,
|
||||
IHTMLDOMNode_tid,
|
||||
HTMLDOMNode_iface_tids,
|
||||
|
|
|
@ -766,6 +766,7 @@ static const tid_t HTMLObjectElement_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLObjectElement_dispex = {
|
||||
L"HTMLObjectElement",
|
||||
NULL,
|
||||
DispHTMLObjectElement_tid,
|
||||
HTMLObjectElement_iface_tids,
|
||||
|
@ -1028,6 +1029,7 @@ static const tid_t HTMLEmbedElement_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLEmbedElement_dispex = {
|
||||
L"HTMLEmbedElement",
|
||||
NULL,
|
||||
DispHTMLEmbed_tid,
|
||||
HTMLEmbedElement_iface_tids,
|
||||
|
|
|
@ -479,6 +479,7 @@ static const tid_t HTMLScriptElement_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLScriptElement_dispex = {
|
||||
L"HTMLScriptElement",
|
||||
NULL,
|
||||
DispHTMLScriptElement_tid,
|
||||
HTMLScriptElement_iface_tids,
|
||||
|
|
|
@ -416,6 +416,7 @@ static const tid_t HTMLOptionElement_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLOptionElement_dispex = {
|
||||
L"HTMLOptionElement",
|
||||
NULL,
|
||||
DispHTMLOptionElement_tid,
|
||||
HTMLOptionElement_iface_tids,
|
||||
|
@ -595,6 +596,7 @@ static const tid_t HTMLOptionElementFactory_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLOptionElementFactory_dispex = {
|
||||
L"Function",
|
||||
NULL,
|
||||
IHTMLOptionElementFactory_tid,
|
||||
HTMLOptionElementFactory_iface_tids,
|
||||
|
@ -1281,6 +1283,7 @@ static const tid_t HTMLSelectElement_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLSelectElement_dispex = {
|
||||
L"HTMLSelectElement",
|
||||
NULL,
|
||||
DispHTMLSelectElement_tid,
|
||||
HTMLSelectElement_tids,
|
||||
|
|
|
@ -195,6 +195,7 @@ static const tid_t HTMLStorage_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLStorage_dispex = {
|
||||
L"Storage",
|
||||
NULL,
|
||||
IHTMLStorage_tid,
|
||||
HTMLStorage_iface_tids
|
||||
|
|
|
@ -10006,6 +10006,7 @@ static const tid_t HTMLStyle_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLStyle_dispex = {
|
||||
L"MSStyleCSSProperties",
|
||||
&CSSStyle_dispex_vtbl,
|
||||
DispHTMLStyle_tid,
|
||||
HTMLStyle_iface_tids,
|
||||
|
@ -10100,6 +10101,7 @@ static const tid_t HTMLW3CComputedStyle_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLW3CComputedStyle_dispex = {
|
||||
L"CSSStyleDeclaration",
|
||||
&CSSStyle_dispex_vtbl,
|
||||
DispHTMLW3CComputedStyle_tid,
|
||||
HTMLW3CComputedStyle_iface_tids,
|
||||
|
|
|
@ -462,6 +462,7 @@ static const tid_t HTMLStyleElement_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLStyleElement_dispex = {
|
||||
L"HTMLStyleElement",
|
||||
NULL,
|
||||
DispHTMLStyleElement_tid,
|
||||
HTMLStyleElement_iface_tids,
|
||||
|
|
|
@ -202,6 +202,7 @@ static const tid_t HTMLStyleSheetRule_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLStyleSheetRule_dispex = {
|
||||
L"CSSStyleRule",
|
||||
NULL,
|
||||
DispHTMLStyleSheetRule_tid,
|
||||
HTMLStyleSheetRule_iface_tids
|
||||
|
@ -376,6 +377,7 @@ static const tid_t HTMLStyleSheetRulesCollection_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLStyleSheetRulesCollection_dispex = {
|
||||
L"MSCSSRuleList",
|
||||
NULL,
|
||||
DispHTMLStyleSheetRulesCollection_tid,
|
||||
HTMLStyleSheetRulesCollection_iface_tids
|
||||
|
@ -575,6 +577,7 @@ static const tid_t HTMLStyleSheetsCollection_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLStyleSheetsCollection_dispex = {
|
||||
L"StyleSheetList",
|
||||
NULL,
|
||||
DispHTMLStyleSheetsCollection_tid,
|
||||
HTMLStyleSheetsCollection_iface_tids
|
||||
|
@ -1144,6 +1147,7 @@ static const tid_t HTMLStyleSheet_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLStyleSheet_dispex = {
|
||||
L"CSSStyleSheet",
|
||||
NULL,
|
||||
DispHTMLStyleSheet_tid,
|
||||
HTMLStyleSheet_iface_tids,
|
||||
|
|
|
@ -520,6 +520,7 @@ static const tid_t HTMLTableCell_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLTableCell_dispex = {
|
||||
L"HTMLTableDataCellElement",
|
||||
NULL,
|
||||
DispHTMLTableCell_tid,
|
||||
HTMLTableCell_iface_tids,
|
||||
|
@ -964,6 +965,7 @@ static const tid_t HTMLTableRow_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLTableRow_dispex = {
|
||||
L"HTMLTableRowElement",
|
||||
NULL,
|
||||
DispHTMLTableRow_tid,
|
||||
HTMLTableRow_iface_tids,
|
||||
|
@ -1996,6 +1998,7 @@ static const tid_t HTMLTable_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLTable_dispex = {
|
||||
L"HTMLTableElement",
|
||||
NULL,
|
||||
DispHTMLTable_tid,
|
||||
HTMLTable_iface_tids,
|
||||
|
|
|
@ -479,6 +479,7 @@ static const tid_t HTMLTextAreaElement_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLTextAreaElement_dispex = {
|
||||
L"HTMLTextAreaElement",
|
||||
NULL,
|
||||
DispHTMLTextAreaElement_tid,
|
||||
HTMLTextAreaElement_iface_tids,
|
||||
|
|
|
@ -358,6 +358,7 @@ static const tid_t HTMLDOMTextNode_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLDOMTextNode_dispex = {
|
||||
L"Text",
|
||||
NULL,
|
||||
DispHTMLDOMTextNode_tid,
|
||||
HTMLDOMTextNode_iface_tids,
|
||||
|
|
|
@ -3687,6 +3687,7 @@ static const tid_t HTMLWindow_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLWindow_dispex = {
|
||||
L"Window",
|
||||
&HTMLWindow_event_target_vtbl.dispex_vtbl,
|
||||
DispHTMLWindow2_tid,
|
||||
HTMLWindow_iface_tids,
|
||||
|
|
|
@ -327,6 +327,7 @@ typedef struct {
|
|||
} dispex_static_data_vtbl_t;
|
||||
|
||||
typedef struct {
|
||||
const WCHAR *name;
|
||||
const dispex_static_data_vtbl_t *vtbl;
|
||||
const tid_t disp_tid;
|
||||
const tid_t* const iface_tids;
|
||||
|
@ -393,6 +394,7 @@ HRESULT get_class_typeinfo(const CLSID*,ITypeInfo**) DECLSPEC_HIDDEN;
|
|||
const void *dispex_get_vtbl(DispatchEx*) DECLSPEC_HIDDEN;
|
||||
void dispex_info_add_interface(dispex_data_t*,tid_t,const dispex_hook_t*) DECLSPEC_HIDDEN;
|
||||
compat_mode_t dispex_compat_mode(DispatchEx*) DECLSPEC_HIDDEN;
|
||||
HRESULT dispex_to_string(DispatchEx*,BSTR*) DECLSPEC_HIDDEN;
|
||||
|
||||
typedef enum {
|
||||
DISPEXPROP_CUSTOM,
|
||||
|
|
|
@ -304,6 +304,7 @@ static const tid_t HTMLDOMImplementation_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLDOMImplementation_dispex = {
|
||||
L"DOMImplementation",
|
||||
NULL,
|
||||
DispHTMLDOMImplementation_tid,
|
||||
HTMLDOMImplementation_iface_tids
|
||||
|
@ -555,6 +556,7 @@ static const tid_t HTMLScreen_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLScreen_dispex = {
|
||||
L"Screen",
|
||||
NULL,
|
||||
DispHTMLScreen_tid,
|
||||
HTMLScreen_iface_tids
|
||||
|
@ -718,6 +720,7 @@ static const tid_t OmHistory_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t OmHistory_dispex = {
|
||||
L"History",
|
||||
NULL,
|
||||
DispHTMLHistory_tid,
|
||||
OmHistory_iface_tids
|
||||
|
@ -874,6 +877,7 @@ static const tid_t HTMLPluginsCollection_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLPluginsCollection_dispex = {
|
||||
L"PluginArray",
|
||||
NULL,
|
||||
DispCPlugins_tid,
|
||||
HTMLPluginsCollection_iface_tids
|
||||
|
@ -1018,6 +1022,7 @@ static const tid_t HTMLMimeTypesCollection_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLMimeTypesCollection_dispex = {
|
||||
L"MimeTypeArray",
|
||||
NULL,
|
||||
IHTMLMimeTypesCollection_tid,
|
||||
HTMLMimeTypesCollection_iface_tids
|
||||
|
@ -1310,12 +1315,7 @@ static HRESULT WINAPI OmNavigator_toString(IOmNavigator *iface, BSTR *String)
|
|||
|
||||
TRACE("(%p)->(%p)\n", This, String);
|
||||
|
||||
if(!String)
|
||||
return E_INVALIDARG;
|
||||
|
||||
*String = SysAllocString(dispex_compat_mode(&This->dispex) < COMPAT_MODE_IE9
|
||||
? L"[object]" : L"[object Navigator]");
|
||||
return *String ? S_OK : E_OUTOFMEMORY;
|
||||
return dispex_to_string(&This->dispex, String);
|
||||
}
|
||||
|
||||
static HRESULT WINAPI OmNavigator_get_cpuClass(IOmNavigator *iface, BSTR *p)
|
||||
|
@ -1469,6 +1469,7 @@ static const tid_t OmNavigator_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t OmNavigator_dispex = {
|
||||
L"Navigator",
|
||||
NULL,
|
||||
DispHTMLNavigator_tid,
|
||||
OmNavigator_iface_tids
|
||||
|
@ -1849,6 +1850,7 @@ static const tid_t HTMLPerformanceTiming_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLPerformanceTiming_dispex = {
|
||||
L"PerformanceTiming",
|
||||
NULL,
|
||||
IHTMLPerformanceTiming_tid,
|
||||
HTMLPerformanceTiming_iface_tids
|
||||
|
@ -1998,6 +2000,7 @@ static const tid_t HTMLPerformanceNavigation_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLPerformanceNavigation_dispex = {
|
||||
L"PerformanceNavigation",
|
||||
NULL,
|
||||
IHTMLPerformanceNavigation_tid,
|
||||
HTMLPerformanceNavigation_iface_tids
|
||||
|
@ -2188,6 +2191,7 @@ static const tid_t HTMLPerformance_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLPerformance_dispex = {
|
||||
L"Performance",
|
||||
NULL,
|
||||
IHTMLPerformance_tid,
|
||||
HTMLPerformance_iface_tids
|
||||
|
@ -2346,6 +2350,7 @@ static const tid_t HTMLNamespaceCollection_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLNamespaceCollection_dispex = {
|
||||
L"MSNamespaceInfoCollection",
|
||||
NULL,
|
||||
DispHTMLNamespaceCollection_tid,
|
||||
HTMLNamespaceCollection_iface_tids
|
||||
|
@ -2601,6 +2606,7 @@ static const tid_t console_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t console_dispex = {
|
||||
L"Console",
|
||||
NULL,
|
||||
IWineMSHTMLConsole_tid,
|
||||
console_iface_tids
|
||||
|
|
|
@ -1715,6 +1715,7 @@ static const tid_t HTMLTxtRange_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLTxtRange_dispex = {
|
||||
L"TextRange",
|
||||
NULL,
|
||||
IHTMLTxtRange_tid,
|
||||
HTMLTxtRange_iface_tids
|
||||
|
@ -2060,6 +2061,7 @@ static const tid_t HTMLDOMRange_iface_tids[] = {
|
|||
};
|
||||
|
||||
static dispex_static_data_t HTMLDOMRange_dispex = {
|
||||
L"Range",
|
||||
NULL,
|
||||
DispHTMLDOMRange_tid,
|
||||
HTMLDOMRange_iface_tids
|
||||
|
|
|
@ -330,6 +330,7 @@ static const tid_t HTMLSelectionObject_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLSelectionObject_dispex = {
|
||||
L"MSSelection",
|
||||
NULL,
|
||||
IHTMLSelectionObject_tid, /* FIXME: We have a test for that, but it doesn't expose IHTMLSelectionObject2 iface. */
|
||||
HTMLSelectionObject_iface_tids
|
||||
|
|
|
@ -895,6 +895,7 @@ static const tid_t HTMLXMLHttpRequest_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLXMLHttpRequest_dispex = {
|
||||
L"XMLHttpRequest",
|
||||
&HTMLXMLHttpRequest_event_target_vtbl.dispex_vtbl,
|
||||
DispHTMLXMLHttpRequest_tid,
|
||||
HTMLXMLHttpRequest_iface_tids,
|
||||
|
@ -1066,6 +1067,7 @@ static const tid_t HTMLXMLHttpRequestFactory_iface_tids[] = {
|
|||
0
|
||||
};
|
||||
static dispex_static_data_t HTMLXMLHttpRequestFactory_dispex = {
|
||||
L"Function",
|
||||
&HTMLXMLHttpRequestFactory_dispex_vtbl,
|
||||
IHTMLXMLHttpRequestFactory_tid,
|
||||
HTMLXMLHttpRequestFactory_iface_tids
|
||||
|
|
Loading…
Reference in New Issue