23#define DEFINE_EXPECT(func) \
24 static BOOL expect_ ## func = FALSE, called_ ## func = FALSE
26#define SET_EXPECT(func) \
27 do { called_ ## func = FALSE; expect_ ## func = TRUE; } while(0)
29#define CHECK_EXPECT2(func) \
31 ok(expect_ ##func, "unexpected call " #func "\n"); \
32 called_ ## func = TRUE; \
35#define CHECK_EXPECT(func) \
37 CHECK_EXPECT2(func); \
38 expect_ ## func = FALSE; \
41#define CHECK_CALLED(func) \
43 ok(called_ ## func, "expected " #func "\n"); \
44 expect_ ## func = called_ ## func = FALSE; \
47#define CLEAR_CALLED(func) \
48 expect_ ## func = called_ ## func = FALSE
90#define DISPID_SCRIPTPROP 1000
91#define DISPID_SCRIPTCALL 1001
105#define TESTACTIVEX_CLSID "{178fc163-f585-4e24-9c13-4bb7f6680746}"
108 {0x178fc163,0xf585,0x4e24,{0x9c,0x13,0x4b,0xb7,0xf6,0x68,0x07,0x46}};
111 {0x178fc663,0xf585,0x4e24,{0x9c,0x13,0x4b,0xb7,0xf6,0x68,0x07,0x46}};
114 "<html><head></head><body>"
115 "<object classid=\"clsid:" TESTACTIVEX_CLSID "\" width=\"300\" height=\"200\" id=\"objid\">"
116 "<param name=\"param_name\" value=\"param_value\">"
117 "<param name=\"num_param\" value=\"3\">"
120 "objid.scriptCall();"
125 "<html><head></head><body>"
126 "<object classid=\"clsid:" TESTACTIVEX_CLSID "\" width=\"300\" height=\"200\" id=\"objid\">"
127 "<param name=\"param_name\" value=\"param_value\">"
128 "<param name=\"num_param\" value=\"3\">"
130 "<script for=\"objid\" event=\"testfunc\">return 6;</script>"
131 "<script for=\"objid\" event=\"testfunc2(x,y)\">return x+2*y;</script>"
142 &IID_IOleInPlaceSiteEx,
145 &IID_IServiceProvider,
157 IUnknown_Release(
unk1);
158 IUnknown_QueryInterface(iface2, &
IID_IUnknown, (
void**)&unk2);
159 IUnknown_Release(unk2);
164#define test_ifaces(i,ids) _test_ifaces(__LINE__,i,ids)
167 const IID *
const *piid;
171 for(piid = iids; *piid; piid++) {
172 hres = IUnknown_QueryInterface(iface, *piid, (
void**)&unk);
175 IUnknown_Release(unk);
211 ok(
hres ==
S_OK,
"Could not get IPropertyNotifySink iface: %08x\n",
hres);
214 ok(
hres ==
S_OK,
"OnChanged(DISPID_READYSTATE) failed: %08x\n",
hres);
216 IPropertyNotifySink_Release(prop_notif);
225 hres = IMoniker_GetDisplayName(mon,
NULL,
NULL, &display_name);
231 hres = IMoniker_IsSystemMoniker(mon, &mksys);
233 ok(mksys == MKSYS_URLMONIKER,
"mksys = %d\n", mksys);
262 static const WCHAR plugin_testW[] =
263 {
'p',
'l',
'u',
'g',
'i',
'n',
' ',
't',
'e',
's',
't',0};
297 ok(0,
"unexpected call\n");
304 ok(0,
"unexpected call\n");
310 DispActiveXTest *ax_test;
319 hres = IUnknown_QueryInterface(pUnkSink, &IID_IDispatchEx, (
void**)&dispex);
322 hres = IUnknown_QueryInterface(pUnkSink, &DIID_DispActiveXTest, (
void**)&ax_test);
323 ok(
hres ==
S_OK,
"Could not get DispActiveXTest iface: %08x\n",
hres);
324 DispActiveXTest_Release(ax_test);
326 *pdwCookie = 0xdeadbeef;
334 ok(dwCookie == 0xdeadbeef,
"dwCookie = %x\n", dwCookie);
346 ok(0,
"unexpected call\n");
382 ok(0,
"unexpected call\n");
388 ok(0,
"unexpected call\n");
399 ok(0,
"unexpected call %d\n", dispID);
447 ok(
container->pClientSite !=
NULL,
"container->pClientSite == NULL\n");
448 ok(
container->pAdviseSink !=
NULL,
"container->pAdviseSink == NULL\n");
449 ok(
container->pPropertyNotifySink !=
NULL,
"container->pPropertyNotifySink == NULL\n");
450 ok(!
container->pUnkEventSink,
"container->pUnkEventSink != NULL\n");
451 ok(
container->dwAmbientFlags == (QACONTAINER_SUPPORTSMNEMONICS|QACONTAINER_MESSAGEREFLECT|QACONTAINER_USERMODE),
452 "container->dwAmbientFlags = %x\n",
container->dwAmbientFlags);
456 ok(
container->colorBack,
"container->colorBack == 0\n");
467 ok(!
container->pBindHost,
"container->pBindHost != NULL\n");
468 ok(!
container->pOleControlSite,
"container->pOleControlSite != NULL\n");
469 ok(!
container->pServiceProvider,
"container->pServiceProvider != NULL\n");
472 ok(!
control->dwMiscStatus,
"control->dwMiscStatus = %x\n",
control->dwMiscStatus);
473 ok(!
control->dwViewStatus,
"control->dwViewStatus = %x\n",
control->dwViewStatus);
474 ok(!
control->dwEventCookie,
"control->dwEventCookie = %x\n",
control->dwEventCookie);
475 ok(!
control->dwPropNotifyCookie,
"control->dwPropNotifyCookie = %x\n",
control->dwPropNotifyCookie);
476 ok(!
control->dwPointerActivationPolicy,
"control->dwPointerActivationPolicy = %x\n",
control->dwPointerActivationPolicy);
479 "container->pClientSite != container->pAdviseSink\n");
481 "container->pClientSite != container->pPropertyNotifySink\n");
484 IOleClientSite_AddRef(
container->pClientSite);
490 control->dwPropNotifyCookie = 1;
497 ok(0,
"unexpected call\n");
503 ok(0,
"unexpected call\n");
535 ok(0,
"unexpected call\n");
553 static const WCHAR param_nameW[] = {
'p',
'a',
'r',
'a',
'm',
'_',
'n',
'a',
'm',
'e',0};
554 static const WCHAR num_paramW[] = {
'n',
'u',
'm',
'_',
'p',
'a',
'r',
'a',
'm',0};
555 static const WCHAR no_paramW[] = {
'n',
'o',
'_',
'p',
'a',
'r',
'a',
'm',0};
556 static WCHAR test_swfW[] = {
't',
'e',
's',
't',
'.',
's',
'w',
'f',0};
558 static const IID *propbag_ifaces[] = {
566 ok(pPropBag !=
NULL,
"pPropBag == NULL\n");
567 ok(!pErrorLog,
"pErrorLog != NULL\n");
572 hres = IPropertyBag_Read(pPropBag, param_nameW, &
v,
NULL);
578 V_I4(&
v) = 0xdeadbeef;
579 hres = IPropertyBag_Read(pPropBag, param_nameW, &
v,
NULL);
585 hres = IPropertyBag_Read(pPropBag, num_paramW, &
v,
NULL);
592 V_I4(&
v) = 0xdeadbeef;
593 hres = IPropertyBag_Read(pPropBag, num_paramW, &
v,
NULL);
600 hres = IPropertyBag_Read(pPropBag, no_paramW, &
v,
NULL);
607 hres = IOleClientSite_QueryInterface(
client_site, &IID_IBindHost, (
void**)&bind_host);
610 hres = IOleClientSite_QueryInterface(
client_site, &IID_IServiceProvider, (
void**)&
sp);
611 ok(
hres ==
S_OK,
"Could not get IServiceProvider iface: %08x\n",
hres);
613 hres = IServiceProvider_QueryService(
sp, &SID_SBindHost, &IID_IBindHost, (
void**)&bind_host2);
614 ok(
hres ==
S_OK,
"QueryService(SID_SBindHost) failed: %08x\n",
hres);
615 IServiceProvider_Release(
sp);
618 IBindHost_Release(bind_host2);
621 hres = IBindHost_CreateMoniker(bind_host, test_swfW,
NULL, &mon, 0);
623 ok(mon !=
NULL,
"mon == NULL\n");
625 IMoniker_Release(mon);
627 IBindHost_Release(bind_host);
630 hres = IOleClientSite_GetMoniker(
client_site, OLEGETMONIKER_ONLYIFTHERE, OLEWHICHMK_CONTAINER, &mon);
632 ok(mon !=
NULL,
"mon == NULL\n");
634 IMoniker_Release(mon);
643 ok(0,
"unexpected call\n");
677 ok(0,
"unexpected call\n");
695 ok(cNames == 1,
"cNames = %d\n", cNames);
696 ok(rgszNames !=
NULL,
"rgszNames == NULL\n");
697 ok(rgDispId !=
NULL,
"rgDispId == NULL\n");
699 if(!
strcmp_wa(rgszNames[0],
"scriptprop")) {
702 }
else if(!
strcmp_wa(rgszNames[0],
"scriptCall")) {
713 EXCEPINFO *pExcepInfo,
UINT *puArgErr)
716 ok(pDispParams !=
NULL,
"pDispParams == NULL\n");
717 ok(!pDispParams->cNamedArgs,
"pDispParams->cNamedArgs = %d\n", pDispParams->cNamedArgs);
718 ok(!pDispParams->rgdispidNamedArgs,
"pDispParams->rgdispidNamedArgs != NULL\n");
720 switch(dispIdMember) {
724 ok(!pDispParams->cArgs,
"pDispParams->cArgs = %d\n", pDispParams->cArgs);
725 ok(!pDispParams->rgvarg,
"pDispParams->rgvarg != NULL\n");
726 ok(!pExcepInfo,
"pExcepInfo != NULL\n");
727 ok(puArgErr !=
NULL,
"puArgErr == NULL\n");
728 ok(pVarResult !=
NULL,
"pVarResult == NULL\n");
736 ok(!pDispParams->cArgs,
"pDispParams->cArgs = %d\n", pDispParams->cArgs);
737 ok(!pDispParams->rgvarg,
"pDispParams->rgvarg != NULL\n");
738 ok(!pExcepInfo,
"pExcepInfo != NULL\n");
739 ok(puArgErr !=
NULL,
"puArgErr == NULL\n");
740 ok(pVarResult !=
NULL,
"pVarResult == NULL\n");
745 ok(!pDispParams->cArgs,
"pDispParams->cArgs = %d\n", pDispParams->cArgs);
746 ok(!pDispParams->rgvarg,
"pDispParams->rgvarg != NULL\n");
747 ok(!pExcepInfo,
"pExcepInfo != NULL\n");
748 ok(puArgErr !=
NULL,
"puArgErr == NULL\n");
749 ok(pVarResult !=
NULL,
"pVarResult == NULL\n");
754 ok(!pDispParams->cArgs,
"pDispParams->cArgs = %d\n", pDispParams->cArgs);
755 ok(!pDispParams->rgvarg,
"pDispParams->rgvarg != NULL\n");
756 ok(!pExcepInfo,
"pExcepInfo != NULL\n");
757 ok(puArgErr !=
NULL,
"puArgErr == NULL\n");
758 ok(pVarResult !=
NULL,
"pVarResult == NULL\n");
763 ok(!pDispParams->cArgs,
"pDispParams->cArgs = %d\n", pDispParams->cArgs);
764 ok(!pDispParams->rgvarg,
"pDispParams->rgvarg != NULL\n");
765 ok(pExcepInfo !=
NULL,
"pExcepInfo == NULL\n");
766 ok(!puArgErr,
"puArgErr != NULL\n");
767 ok(pVarResult !=
NULL,
"pVarResult == NULL\n");
770 V_I4(pVarResult) = 4;
775 ok(!pDispParams->cArgs,
"pDispParams->cArgs = %d\n", pDispParams->cArgs);
776 ok(pExcepInfo !=
NULL,
"pExcepInfo == NULL\n");
777 ok(!puArgErr,
"puArgErr != NULL\n");
778 ok(!pVarResult,
"pVarResult != NULL\n");
785 ok(0,
"unexpected call %d\n", dispIdMember);
854 ok(0,
"unexpected call\n");
863 trace(
"FindConnectionPoint(IID_IPropertyNotifySink)\n");
903 ok(0,
"unexpected call\n");
910 ok(0,
"unexpected call\n");
916 ok(0,
"unexpected call\n");
922 ok(0,
"unexpected call\n");
930 ok(aspects == DVASPECT_CONTENT,
"aspects = %x\n", aspects);
931 ok(!advf,
"advf = %x\n", advf);
932 ok(pAdvSink !=
NULL,
"pAdvSink = NULL\n");
939 ok(0,
"unexpected call\n");
945 ok(0,
"unexpected call\n");
951 ok(0,
"unexpected call\n");
959 *pdwStatus = VIEWSTATUS_OPAQUE|VIEWSTATUS_SOLIDBKGND;
966 trace(
"QueryHitPoint call ignored\n");
973 ok(0,
"unexpected call\n");
978 HDC hicTargetDev, DVEXTENTINFO *pExtentIngo,
LPSIZEL pSizel)
980 ok(0,
"unexpected call\n");
1028 IOleClientSite_AddRef(pClientSite);
1035 ok(0,
"unexpected call\n");
1041 ok(0,
"unexpected call\n");
1049 ok(dwSaveOption == OLECLOSE_NOSAVE,
"dwSaveOption = %d\n", dwSaveOption);
1055 ok(0,
"unexpected call\n");
1061 ok(0,
"unexpected call\n");
1068 ok(0,
"unexpected call\n");
1074 ok(0,
"unexpected call\n");
1081 OLEINPLACEFRAMEINFO
frame_info = {0xdeadbeef};
1085 RECT pos_rect, clip_rect;
1093 ok(!lpmsg,
"lpmsg != NULL\n");
1094 ok(pActiveSite !=
NULL,
"pActiveSite == NULL\n");
1095 ok(!lindex,
"lindex = %d\n", lindex);
1097 ok(lprcPosRect !=
NULL,
"lprcPosRect == NULL\n");
1099 hres = IOleClientSite_QueryInterface(pActiveSite, &IID_IOleInPlaceSiteEx, (
void**)&ip_site);
1100 ok(
hres ==
S_OK,
"Could not get IOleInPlaceSiteEx iface: %08x\n",
hres);
1102 hres = IOleInPlaceSiteEx_CanInPlaceActivate(ip_site);
1106 no_redraw = 0xdeadbeef;
1107 hres = IOleInPlaceSiteEx_OnInPlaceActivateEx(ip_site, &no_redraw, 0);
1109 ok(!no_redraw,
"no_redraw = %x\n", no_redraw);
1112 no_redraw = 0xdeadbeef;
1113 hres = IOleInPlaceSiteEx_OnInPlaceActivateEx(ip_site, &no_redraw, 0);
1115 ok(no_redraw == 0xdeadbeef,
"no_redraw = %x\n", no_redraw);
1118 hres = IOleInPlaceSiteEx_GetWindow(ip_site, &
hwnd);
1128 hres = IOleInPlaceSiteEx_GetWindowContext(ip_site, &ip_frame, &ip_uiwindow, &pos_rect, &clip_rect, &
frame_info);
1130 ok(ip_frame !=
NULL,
"ip_frame == NULL\n");
1131 ok(ip_uiwindow !=
NULL,
"ip_uiwindow == NULL\n");
1133 ok(!
memcmp(&pos_rect, lprcPosRect,
sizeof(
RECT)),
"pos_rect != lpecPosRect\n");
1134 ok(!
memcmp(&clip_rect, lprcPosRect,
sizeof(
RECT)),
"clip_rect != lpecPosRect\n");
1140 ok(!
frame_info.cAccelEntries,
"frame_info.cAccelEntried != 0\n");
1142 IOleInPlaceFrame_Release(ip_frame);
1143 IOleInPlaceUIWindow_Release(ip_uiwindow);
1146 IOleInPlaceSiteEx_Release(ip_site);
1159 ok(0,
"unexpected call\n");
1165 ok(0,
"unexpected call\n");
1171 ok(0,
"unexpected call\n");
1177 ok(0,
"unexpected call\n");
1183 ok(0,
"unexpected call\n");
1201 ok(0,
"unexpected call\n");
1207 ok(0,
"unexpected call\n");
1213 ok(0,
"unexpected call\n");
1220 ok(dwAspect == DVASPECT_CONTENT,
"dwAspect = %d\n", dwAspect);
1221 ok(pdwStatus !=
NULL,
"pdwStatus == NULL\n");
1229 ok(0,
"unexpected call\n");
1283 ok(phwnd !=
NULL,
"phwnd == NULL\n");
1292 ok(0,
"unexpected call\n");
1304 ok(
hres ==
S_OK,
"Could not get IOleInPlaceSite iface: %08x\n",
hres);
1306 hres = IOleInPlaceSite_OnInPlaceDeactivate(ip_site);
1309 IOleInPlaceSite_Release(ip_site);
1328 ok(0,
"unexpected call\n");
1335 ok(0,
"unexpected call\n");
1342 ok(0,
"unexpected call\n");
1367 ok(0,
"unexpected wrapped_QueryInterface call\n");
1386 ok(0,
"unexpected call\n");
1394 ok(
i == 10,
"i = %d\n",
i);
1395 ok(
d == 32.0,
"d = %lf\n",
d);
1407 for(
i=3;
i<100;
i++)
1485 ok(!outer,
"outer = %p\n", outer);
1495 ok(0,
"unexpected call\n");
1520 hres = IDispatchEx_GetDispID(dispex,
str, 0, &
id);
1529 memset(&dp, 0,
sizeof(dp));
1530 memset(&ei, 0,
sizeof(ei));
1542 IHTMLObjectElement *elem2;
1551 unk = (
void*)0xdeadbeef;
1553 ok(
hres ==
S_OK,
"QueryInerface(IID_ITestActiveX failed: %08x\n",
hres);
1560 ok(unk->lpVtbl !=
wrapped_iface.lpVtbl,
"unk->lpVtbl == wrapped_iface->lpVtbl\n");
1565 vtbl = (
void**)unk->lpVtbl;
1574 hres = IUnknown_QueryInterface(unk, &IID_IHTMLObjectElement, (
void**)&elem2);
1575 ok(
hres ==
S_OK,
"Could not get IHTMLObjectElement from wrapped iface: %08x\n",
hres);
1577 IHTMLObjectElement_Release(elem2);
1580 ref = IUnknown_Release(unk);
1587 unk = (
void*)0xdeadbeef;
1589 ok(
hres ==
S_OK,
"QueryInerface(IID_ITestActiveX failed: %08x\n",
hres);
1594 ok(unk != unk2,
"unk == unk2\n");
1597 ref = IUnknown_Release(unk2);
1604 IHTMLObjectElement *objelem;
1605 IHTMLDocument3 *doc3;
1613 hres = IHTMLDocument2_QueryInterface(doc, &IID_IHTMLDocument3, (
void**)&doc3);
1614 ok(
hres ==
S_OK,
"Could not get IHTMLDocument3 iface: %08x\n",
hres);
1617 elem = (
void*)0xdeadbeef;
1618 hres = IHTMLDocument3_getElementById(doc3,
str, &
elem);
1619 IHTMLDocument3_Release(doc3);
1624 hres = IHTMLElement_QueryInterface(
elem, &IID_IHTMLObjectElement, (
void**)&objelem);
1625 IHTMLElement_Release(
elem);
1626 ok(
hres ==
S_OK,
"Could not get IHTMLObjectElement iface: %08x\n",
hres);
1629 hres = IHTMLObjectElement_get_object(objelem, &disp);
1634 hres = IHTMLObjectElement_QueryInterface(objelem, &IID_IDispatchEx, (
void**)&dispex);
1637 IDispatchEx_Release(dispex);
1641 hres = IHTMLObjectElement_get_width(objelem, &
v);
1647 hres = IHTMLObjectElement_get_height(objelem, &
v);
1657 hres = IHTMLObjectElement_put_width(objelem,
v);
1662 hres = IHTMLObjectElement_get_width(objelem, &
v);
1672 hres = IHTMLObjectElement_put_height(objelem,
v);
1677 hres = IHTMLObjectElement_get_height(objelem, &
v);
1683 IHTMLObjectElement_Release(objelem);
1691 IHTMLDocument2 *doc;
1700 hres = IHTMLDocument2_get_parentWindow(doc_obj, &parent_window);
1702 ok(parent_window !=
NULL,
"parentWindow == NULL\n");
1704 hres = IHTMLWindow2_get_document(parent_window, &doc);
1706 ok(doc !=
NULL,
"doc == NULL\n");
1708 IHTMLDocument2_Release(doc);
1710 hres = IOleClientSite_QueryInterface(
client_site, &IID_IServiceProvider, (
void**)&serv_prov);
1711 ok(
hres ==
S_OK,
"Could not get IServiceProvider iface: %08x\n",
hres);
1713 hres = IServiceProvider_QueryService(serv_prov, &IID_IHTMLWindow2, &IID_IHTMLWindow2, (
void**)&html_window);
1714 ok(
hres ==
S_OK,
"Could not get IHTMLWindow2 service: %08x\n",
hres);
1717 IHTMLWindow2_Release(html_window);
1721 ok(
hres ==
S_OK,
"QueryService(CLSID_TestActiveX) failed: %08x\n",
hres);
1724 IUnknown_Release(unk);
1726 IServiceProvider_Release(serv_prov);
1728 IHTMLWindow2_Release(parent_window);
1738 ok(
hres ==
S_OK,
"Could not get IOleInPlaceSite iface: %08x\n",
hres);
1741 hres = IOleInPlaceSite_OnUIActivate(ip_site);
1745 IOleInPlaceSite_Release(ip_site);
1753 static const GUID undocumented_frame_iid = {0xfbece6c9,0x48d7,0x4a37,{0x8f,0xe3,0x6a,0xd4,0x27,0x2f,0xdd,0xac}};
1788 LPCBORDERWIDTHS pborderwidths)
1794 LPCBORDERWIDTHS pborderwidths)
1812 LPOLEMENUGROUPWIDTHS lpMenuWidths)
1818 HOLEMENU holemenu,
HWND hwndActiveObject)
1820 ok(0,
"unexpected call\n");
1826 ok(0,
"unexpected call\n");
1842 ok(0,
"unexpected call\n");
1903 ok(0,
"unexpected call\n");
1924 LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
1926 static const RECT rect = {0,0,500,500};
1930 *lprcPosRect =
rect;
1931 *lprcClipRect =
rect;
1933 lpFrameInfo->fMDIApp =
FALSE;
1935 lpFrameInfo->haccel =
NULL;
1936 lpFrameInfo->cAccelEntries = 0;
2008 ok(0,
"unexpected call\n");
2015 ok(0,
"unexpected call\n");
2026 ok(0,
"unexpected call\n");
2032 ok(0,
"unexpected call\n");
2038 ok(0,
"unexpected call\n");
2077 hres = IOleDocumentView_QueryInterface(pViewToActivate, &IID_IOleDocument, (
void**)&document);
2081 IOleDocument_Release(document);
2174 ok(0,
"unexpected call\n");
2194 static const WCHAR completeW[] = {
'c',
'o',
'm',
'p',
'l',
'e',
't',
'e',0};
2210 ok(0,
"unexpected call\n");
2242 IPersistStreamInit_Release(
init);
2254 ok(
hres ==
S_OK,
"QueryInterface(IID_IConnectionPointContainer) failed: %08x\n",
hres);
2257 IConnectionPointContainer_Release(
container);
2260 hres = IConnectionPoint_Advise(
cp, unk_advise, &
cookie);
2261 IConnectionPoint_Release(
cp);
2272 IOleDocumentView_CloseView(
view, 0);
2273 IOleDocumentView_SetInPlaceSite(
view,
NULL);
2274 IOleDocumentView_Release(
view);
2287 hres = IOleObject_QueryInterface(oleobj, &IID_IHlinkTarget, (
void**)&hlink);
2288 ok(
hres ==
S_OK,
"Could not get IHlinkTarget iface: %08x\n",
hres);
2290 hres = IHlinkTarget_Navigate(hlink, 0,
NULL);
2293 IHlinkTarget_Release(hlink);
2296 IOleObject_Release(oleobj);
2300 IHTMLDocument2 *doc;
2304 &IID_IHTMLDocument2, (
void**)&doc);
2312 IHTMLDocument2 *doc;
2333 ref = IHTMLDocument2_Release(doc);
2361 DISPPARAMS dp = {
args};
2388 IHTMLDocument2 *doc;
2434 skip(
"Skipping test_ui_activate(). ROSTESTS-114.\n");
2435 skip(
"Skipping test_container(notif_doc). ROSTESTS-114.\n");
2436 skip(
"Skipping test_object_elem(notif_doc). ROSTESTS-114.\n");
2457 IOleClientSite_Release(
cs);
2462 IHTMLDocument2 *doc;
2511 IHTMLDocument2 *doc;
2559 skip(
"Skipping test_event_call(). ROSTESTS-114.\n");
2576 IHTMLDocument2 *doc;
2602 hres = IHTMLDocument2_get_parentWindow(doc, &
window);
2613 IHTMLWindow2_Release(
window);
2618 IHTMLDocument2 *doc;
2634 "var test_elem = document.createElement('object');"
2635 "test_elem.classid = 'CLSID:178fc163-f585-4e24-9c13-4bb7f6680746';",
2649 "document.body.appendChild(test_elem);",
2669 static const WCHAR html_document_testW[] =
2670 {
'H',
'T',
'M',
'L',
'D',
'o',
'c',
'u',
'm',
'e',
'n',
't',
'T',
'e',
's',
't',0};
2676 html_document_testW,
2681 return CreateWindowW(html_document_testW, html_document_testW,
2698 ok(
hres ==
S_OK,
"GetTypeInfoOfGuid(DIID_DispActiveXTest) failed: %08x\n",
hres);
2701 ok(
hres ==
S_OK,
"GetTypeInfoOfGuid(CLSID_ActiveXTest) failed: %08x\n",
hres);
2756 IHTMLDocument5 *doc;
2760 &IID_IHTMLDocument5, (
void**)&doc);
2764 IHTMLDocument5_Release(doc);
2780 win_skip(
"IE running in Enhanced Security Configuration\n");
2790 trace(
"Testing emulated flash embedding...\n");
2792 trace(
"Testing plugin without IQuickActivate iface...\n");
2794 trace(
"Testing plugin with IDispatch iface only...\n");
2796 trace(
"Testing event object binding...\n");
2798 trace(
"Testing createElement(object)...\n");
2802 skip(
"Could not register ActiveX\n");
int memcmp(void *Buffer1, void *Buffer2, ACPI_SIZE Count)
ACPI_SIZE strlen(const char *String)
const GUID IID_IClassFactory
#define RegCloseKey(hKey)
const CLSID CLSID_IdentityUnmarshal
LONG WINAPI RegCreateKeyA(HKEY hKey, LPCSTR lpSubKey, PHKEY phkResult)
LONG WINAPI RegSetValueA(HKEY hKeyOriginal, LPCSTR lpSubKey, DWORD dwType, LPCSTR lpData, DWORD cbData)
LONG WINAPI RegDeleteKeyA(_In_ HKEY hKey, _In_ LPCSTR lpSubKey)
#define WideCharToMultiByte
#define MultiByteToWideChar
DWORD WINAPI GetModuleFileNameW(HINSTANCE hModule, LPWSTR lpFilename, DWORD nSize)
int WINAPI lstrcmpW(LPCWSTR str1, LPCWSTR str2)
int WINAPI lstrcmpA(LPCSTR str1, LPCSTR str2)
HRESULT WINAPI CoRegisterClassObject(REFCLSID rclsid, LPUNKNOWN pUnk, DWORD dwClsContext, DWORD flags, LPDWORD lpdwRegister)
HRESULT WINAPI DECLSPEC_HOTPATCH CoCreateInstance(REFCLSID rclsid, LPUNKNOWN pUnkOuter, DWORD dwClsContext, REFIID iid, LPVOID *ppv)
HRESULT WINAPI CoInitialize(LPVOID lpReserved)
void WINAPI DECLSPEC_HOTPATCH CoUninitialize(void)
HRESULT WINAPI CreateStreamOnHGlobal(HGLOBAL hGlobal, BOOL fDeleteOnRelease, LPSTREAM *ppstm)
HRESULT WINAPI LoadTypeLib(const OLECHAR *szFile, ITypeLib **pptLib)
unsigned int(__cdecl typeof(jpeg_read_scanlines))(struct jpeg_decompress_struct *
GLenum GLuint GLint GLenum face
GLenum GLuint GLenum GLsizei const GLchar * buf
GLsizei GLenum const GLvoid GLsizei GLenum GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLint GLint GLint GLshort GLshort GLshort GLubyte GLubyte GLubyte GLuint GLuint GLuint GLushort GLushort GLushort GLbyte GLbyte GLbyte GLbyte GLdouble GLdouble GLdouble GLdouble GLfloat GLfloat GLfloat GLfloat GLint GLint GLint GLint GLshort GLshort GLshort GLshort GLubyte GLubyte GLubyte GLubyte GLuint GLuint GLuint GLuint GLushort GLushort GLushort GLushort GLboolean const GLdouble const GLfloat const GLint const GLshort const GLbyte const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLdouble const GLfloat const GLfloat const GLint const GLint const GLshort const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort const GLdouble const GLfloat const GLint const GLshort GLenum GLenum GLenum GLfloat GLenum GLint GLenum GLenum GLenum GLfloat GLenum GLenum GLint GLenum GLfloat GLenum GLint GLint GLushort GLenum GLenum GLfloat GLenum GLenum GLint GLfloat const GLubyte GLenum GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLint GLint GLsizei GLsizei GLint GLenum GLenum const GLvoid GLenum GLenum const GLfloat GLenum GLenum const GLint GLenum GLenum const GLdouble GLenum GLenum const GLfloat GLenum GLenum const GLint GLsizei GLuint GLfloat GLuint GLbitfield GLfloat GLint GLuint GLboolean GLenum GLfloat GLenum GLbitfield GLenum GLfloat GLfloat GLint GLint const GLfloat GLenum GLfloat GLfloat GLint GLint GLfloat GLfloat GLint GLint const GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat GLint GLfloat GLfloat const GLdouble const GLfloat const GLdouble const GLfloat GLint i
HGLOBAL NTAPI GlobalAlloc(UINT uFlags, SIZE_T dwBytes)
#define DISPID_READYSTATE
VOID WINAPI CoTaskMemFree(LPVOID ptr)
HRESULT QueryInterface([in] REFIID riid, [out, iid_is(riid)] void **ppvObject)
#define memcpy(s1, s2, n)
static HRESULT WINAPI ServiceProvider_QueryService(IServiceProvider *iface, REFGUID guidService, REFIID riid, void **ppv)
static HRESULT WINAPI ClassFactory_CreateInstance(IClassFactory *iface, IUnknown *outer, REFIID riid, void **ppv)
static IClassFactory activex_cf
static HRESULT WINAPI ClassFactory_LockServer(IClassFactory *iface, BOOL dolock)
static ULONG WINAPI ServiceProvider_Release(IServiceProvider *iface)
static const IClassFactoryVtbl ClassFactoryVtbl
static BOOL init_registry(BOOL init)
#define CHECK_EXPECT(func)
static ULONG WINAPI ClassFactory_Release(IClassFactory *iface)
#define DEFINE_EXPECT(func)
static BSTR a2bstr(const char *str)
static int strcmp_wa(LPCWSTR strw, const char *stra)
static IServiceProvider ServiceProvider
static BOOL init_key(const char *key_name, const char *def_value, BOOL init)
static HRESULT WINAPI ClassFactory_QueryInterface(IClassFactory *iface, REFIID riid, void **ppv)
#define CHECK_CALLED(func)
static ULONG WINAPI ClassFactory_AddRef(IClassFactory *iface)
static BOOL register_activex(void)
static HRESULT WINAPI ServiceProvider_QueryInterface(IServiceProvider *iface, REFIID riid, void **ppv)
static IServiceProviderVtbl ServiceProviderVtbl
static ULONG WINAPI ServiceProvider_AddRef(IServiceProvider *iface)
static const char * strw(LPCWSTR x)
static HRESULT WINAPI InPlaceFrame_InsertMenus(IOleInPlaceFrame *iface, HMENU hmenuShared, LPOLEMENUGROUPWIDTHS lpMenuWidths)
static const IProvideClassInfoVtbl ProvideClassInfoVtbl
static ULONG WINAPI wrapped_AddRef(IUnknown *iface)
static HRESULT WINAPI OleControl_FreezeEvents(IOleControl *iface, BOOL bFreeze)
static HRESULT WINAPI OleInPlaceObject_QueryInterface(IOleInPlaceObjectWindowless *iface, REFIID riid, void **ppv)
static const IOleInPlaceFrameVtbl InPlaceFrameVtbl
static const GUID CLSID_TestActiveX
static ITypeInfo * actxtest_typeinfo
static IOleDocumentSite DocumentSite
static IPropertyNotifySinkVtbl PropertyNotifySinkVtbl
static const IQuickActivateVtbl QuickActivateVtbl
static HRESULT WINAPI InPlaceSite_OnPosRectChange(IOleInPlaceSite *iface, LPCRECT lprcPosRect)
#define CLEAR_CALLED(func)
static HRESULT WINAPI InPlaceUIWindow_SetActiveObject(IOleInPlaceFrame *iface, IOleInPlaceActiveObject *pActiveObject, LPCOLESTR pszObjName)
static HRESULT WINAPI OleInPlaceObjectWindowless_GetDropTarget(IOleInPlaceObjectWindowless *iface, IDropTarget **ppDropTarget)
static HRESULT WINAPI OleObject_GetMiscStatus(IOleObject *iface, DWORD dwAspect, DWORD *pdwStatus)
static HRESULT WINAPI ConnectionPoint_Advise(IConnectionPoint *iface, IUnknown *pUnkSink, DWORD *pdwCookie)
static HRESULT WINAPI OleObject_IsUpToDate(IOleObject *iface)
static HRESULT WINAPI OleObject_Advise(IOleObject *iface, IAdviseSink *pAdvSink, DWORD *pdwConnection)
static HRESULT WINAPI OleInPlaceObject_ContextSensitiveHelp(IOleInPlaceObjectWindowless *iface, BOOL fEnterMode)
static ULONG WINAPI QuickActivate_AddRef(IQuickActivate *iface)
static HRESULT WINAPI ClientSite_RequestNewObjectLayout(IOleClientSite *iface)
static HRESULT WINAPI InPlaceFrame_EnableModeless(IOleInPlaceFrame *iface, BOOL fEnable)
static HRESULT WINAPI ViewObjectEx_Unfreeze(IViewObjectEx *iface, DWORD dwFreeze)
static HRESULT WINAPI ViewObjectEx_GetRect(IViewObjectEx *iface, DWORD dwAspect, LPRECTL pRect)
static int plugin_behavior
static HRESULT WINAPI ViewObjectEx_Draw(IViewObjectEx *iface, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DVTARGETDEVICE *ptd, HDC hdcTargetDev, HDC hdcDraw, LPCRECTL lprcBounds, LPCRECTL lprcWBoungs, BOOL(WINAPI *pfnContinue)(ULONG_PTR), ULONG_PTR dwContinue)
static REFIID pluginhost_iids[]
static ULONG WINAPI DocumentSite_Release(IOleDocumentSite *iface)
static const IOleDocumentSiteVtbl DocumentSiteVtbl
static ULONG WINAPI InPlaceSite_AddRef(IOleInPlaceSite *iface)
static const char event_binding_str[]
static HRESULT WINAPI ConnectionPoint_QueryInterface(IConnectionPoint *iface, REFIID riid, void **ppv)
static HRESULT WINAPI ViewObjectEx_QueryHitRect(IViewObjectEx *iface, DWORD dwAspect, LPCRECT pRectBounds, LPCRECT pRectLoc, LONG lCloseHint, DWORD *pHitResult)
static HRESULT WINAPI PropertyNotifySink_OnChanged(IPropertyNotifySink *iface, DISPID dispID)
static HRESULT WINAPI OleInPlaceObject_GetWindow(IOleInPlaceObjectWindowless *iface, HWND *phwnd)
static void release_doc(IHTMLDocument2 *doc)
static ULONG WINAPI OleInPlaceObject_AddRef(IOleInPlaceObjectWindowless *iface)
static HRESULT WINAPI Dispatch_GetTypeInfoCount(IDispatch *iface, UINT *pctinfo)
static void init_wrapped_iface(void)
static void _test_ifaces(unsigned line, IUnknown *iface, REFIID *iids)
static HRESULT WINAPI PersistPropertyBag_Save(IPersistPropertyBag *face, IPropertyBag *pPropBag, BOOL fClearDisrty, BOOL fSaveAllProperties)
static HRESULT WINAPI OleObject_QueryInterface(IOleObject *iface, REFIID riid, void **ppv)
static HRESULT WINAPI ViewObjectEx_GetExtent(IViewObjectEx *iface, DWORD dwDrawAspect, LONG lindex, DVTARGETDEVICE *ptd, LPSIZEL lpsizel)
static IOleInPlaceFrame InPlaceFrame
static const IOleInPlaceSiteVtbl InPlaceSiteVtbl
static HRESULT WINAPI wrapped_func_nocall(IUnknown *iface, int i, double d)
static HRESULT WINAPI InPlaceSite_OnUIDeactivate(IOleInPlaceSite *iface, BOOL fUndoable)
static IQuickActivate QuickActivate
static IOleClientSite ClientSite
static LONG activex_refcnt
static HRESULT WINAPI InPlaceSite_CanInPlaceActivate(IOleInPlaceSite *iface)
static HRESULT WINAPI OleObject_EnumAdvise(IOleObject *iface, IEnumSTATDATA **ppenumAdvise)
static HRESULT WINAPI InPlaceFrame_GetWindow(IOleInPlaceFrame *iface, HWND *phwnd)
static HRESULT WINAPI ClientSite_ShowObject(IOleClientSite *iface)
static BOOL iface_cmp(IUnknown *iface1, IUnknown *iface2)
static ULONG WINAPI ClientSite_AddRef(IOleClientSite *iface)
static ULONG WINAPI OleObject_AddRef(IOleObject *iface)
static HRESULT WINAPI ConnectionPointContainer_FindConnectionPoint(IConnectionPointContainer *iface, REFIID riid, IConnectionPoint **ppCP)
static IDispatch * sink_disp
static READYSTATE plugin_readystate
static IOleObject OleObject
static IProvideClassInfo ProvideClassInfo
static ULONG WINAPI Dispatch_Release(IDispatch *iface)
static LRESULT WINAPI wnd_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
static HRESULT WINAPI ViewObjectEx_GetViewStatus(IViewObjectEx *iface, DWORD *pdwStatus)
static IPersistPropertyBag PersistPropertyBag
static HRESULT WINAPI OleInPlaceObjectWindowless_OnWindowMessage(IOleInPlaceObjectWindowless *iface, UINT msg, WPARAM wParam, LPARAM lParam, LRESULT *lpResult)
static HRESULT WINAPI InPlaceFrame_GetBorder(IOleInPlaceFrame *iface, LPRECT lprectBorder)
static IDispatch Dispatch
static HRESULT WINAPI PersistPropertyBag_Load(IPersistPropertyBag *face, IPropertyBag *pPropBag, IErrorLog *pErrorLog)
static HRESULT WINAPI QuickActivate_GetContentExtent(IQuickActivate *iface, LPSIZEL pSizel)
static HRESULT WINAPI OleInPlaceObject_UIDeactivate(IOleInPlaceObjectWindowless *iface)
#define DISPID_SCRIPTPROP
static HRESULT WINAPI InPlaceSite_OnInPlaceActivate(IOleInPlaceSite *iface)
static HRESULT WINAPI OleObject_GetMoniker(IOleObject *iface, DWORD dwAssign, DWORD dwWhichMoniker, IMoniker **ppmk)
static ULONG WINAPI PropertyNotifySink_AddRef(IPropertyNotifySink *iface)
static BOOL check_ie(void)
static ULONG WINAPI InPlaceFrame_Release(IOleInPlaceFrame *iface)
static HRESULT WINAPI InPlaceSite_ContextSensitiveHelp(IOleInPlaceSite *iface, BOOL fEnterMode)
static HRESULT WINAPI ConnectionPoint_GetConnectionInterface(IConnectionPoint *iface, IID *pIID)
static HRESULT WINAPI ConnectionPointContainer_QueryInterface(IConnectionPointContainer *iface, REFIID riid, void **ppv)
static HRESULT ax_qi(REFIID, void **)
static HRESULT WINAPI OleObject_GetClipboardData(IOleObject *iface, DWORD dwReserved, IDataObject **ppDataObject)
static HRESULT WINAPI ConnectionPointContainer_EnumConnectionPoints(IConnectionPointContainer *iface, IEnumConnectionPoints **ppEnum)
static ULONG WINAPI ClientSite_Release(IOleClientSite *iface)
static HRESULT WINAPI ViewObjectEx_GetNaturalExtent(IViewObjectEx *iface, DWORD dwAspect, LONG lindex, DVTARGETDEVICE *ptd, HDC hicTargetDev, DVEXTENTINFO *pExtentIngo, LPSIZEL pSizel)
static HRESULT WINAPI OleObject_GetExtent(IOleObject *iface, DWORD dwDrawAspect, SIZEL *psizel)
static ULONG WINAPI ProvideClassInfo_AddRef(IProvideClassInfo *iface)
static HRESULT WINAPI ViewObjectEx_GetAdvise(IViewObjectEx *iface, DWORD *pAspects, DWORD *pAdvf, IAdviseSink **ppAdvSink)
static void test_iface_wrapping(IHTMLObjectElement *elem)
static void test_nooleobj_ax(void)
static HRESULT WINAPI wrapped_QueryInterface(IUnknown *iface, REFIID riid, void **ppv)
static HRESULT WINAPI InPlaceFrame_SetActiveObject(IOleInPlaceFrame *iface, IOleInPlaceActiveObject *pActiveObject, LPCOLESTR pszObjName)
static HRESULT WINAPI Dispatch_Invoke(IDispatch *iface, DISPID dispIdMember, REFIID riid, LCID lcid, WORD wFlags, DISPPARAMS *pDispParams, VARIANT *pVarResult, EXCEPINFO *pExcepInfo, UINT *puArgErr)
static ULONG WINAPI DocumentSite_AddRef(IOleDocumentSite *iface)
static HRESULT WINAPI InPlaceFrame_ContextSensitiveHelp(IOleInPlaceFrame *iface, BOOL fEnterMode)
static const IOleInPlaceObjectWindowlessVtbl OleInPlaceObjectWindowlessVtbl
static HRESULT WINAPI OleObject_GetUserType(IOleObject *iface, DWORD dwFormOfType, LPOLESTR *pszUserType)
static void test_container(IHTMLDocument2 *doc_obj)
static HRESULT WINAPI PropertyNotifySink_OnRequestEdit(IPropertyNotifySink *iface, DISPID dispID)
static HRESULT cs_qi(REFIID, void **)
static HRESULT WINAPI ViewObjectEx_QueryHitPoint(IViewObjectEx *iface, DWORD dwAspect, LPCRECT pRectBounds, POINT ptlLoc, LONG lCloseHint, DWORD *pHitResult)
static HRESULT WINAPI OleControl_OnAmbientPropertyChange(IOleControl *iface, DISPID dispID)
static const IConnectionPointVtbl ConnectionPointVtbl
static HRESULT WINAPI InPlaceSite_OnUIActivate(IOleInPlaceSite *iface)
static void set_plugin_readystate(READYSTATE state)
static HRESULT WINAPI DocumentSite_QueryInterface(IOleDocumentSite *iface, REFIID riid, void **ppv)
#define TESTACTIVEX_CLSID
static HRESULT WINAPI OleInPlaceObject_InPlaceDeactivate(IOleInPlaceObjectWindowless *iface)
static ULONG WINAPI OleObject_Release(IOleObject *iface)
static IHTMLDocument2 * create_document(void)
static HRESULT WINAPI OleObject_SetHostNames(IOleObject *iface, LPCOLESTR szContainerApp, LPCOLESTR szContainerObj)
static const GUID IID_ITestActiveX
static HRESULT WINAPI OleControl_QueryInterface(IOleControl *iface, REFIID riid, void **ppv)
static HRESULT WINAPI OleObject_GetUserClassID(IOleObject *iface, CLSID *pClsid)
static ULONG WINAPI PersistPropertyBag_Release(IPersistPropertyBag *iface)
static void do_advise(IUnknown *unk, REFIID riid, IUnknown *unk_advise)
static HRESULT WINAPI InPlaceFrame_SetStatusText(IOleInPlaceFrame *iface, LPCOLESTR pszStatusText)
static IOleClientSite * client_site
#define CHECK_EXPECT2(func)
static HRESULT WINAPI ViewObjectEx_QueryInterface(IViewObjectEx *iface, REFIID riid, void **ppv)
static HRESULT WINAPI InPlaceFrame_SetMenu(IOleInPlaceFrame *iface, HMENU hmenuShared, HOLEMENU holemenu, HWND hwndActiveObject)
static HRESULT WINAPI ClientSite_SaveObject(IOleClientSite *iface)
static HRESULT WINAPI InPlaceSite_GetWindow(IOleInPlaceSite *iface, HWND *phwnd)
static HRESULT WINAPI InPlaceSite_GetWindowContext(IOleInPlaceSite *iface, IOleInPlaceFrame **ppFrame, IOleInPlaceUIWindow **ppDoc, LPRECT lprcPosRect, LPRECT lprcClipRect, LPOLEINPLACEFRAMEINFO lpFrameInfo)
static LRESULT WINAPI plugin_proc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lParam)
static HRESULT WINAPI OleObject_DoVerb(IOleObject *iface, LONG iVerb, LPMSG lpmsg, IOleClientSite *pActiveSite, LONG lindex, HWND hwndParent, LPCRECT lprcPosRect)
static void test_noquickact_ax(void)
static HRESULT WINAPI QuickActivate_QueryInterface(IQuickActivate *iface, REFIID riid, void **ppv)
static HRESULT WINAPI Dispatch_GetTypeInfo(IDispatch *iface, UINT iTInfo, LCID lcid, ITypeInfo **ppTInfo)
static ULONG WINAPI OleControl_Release(IOleControl *iface)
static HRESULT WINAPI ConnectionPoint_Unadvise(IConnectionPoint *iface, DWORD dwCookie)
static ULONG WINAPI Dispatch_AddRef(IDispatch *iface)
static HRESULT WINAPI QuickActivate_SetContentExtent(IQuickActivate *iface, LPSIZEL pSizel)
static const IOleInPlaceFrameVtbl InPlaceUIWindowVtbl
static HWND container_hwnd
static void test_flash_ax(void)
static HRESULT WINAPI OleObject_SetClientSite(IOleObject *iface, IOleClientSite *pClientSite)
static HRESULT WINAPI InPlaceSite_DeactivateAndUndo(IOleInPlaceSite *iface)
static ULONG WINAPI InPlaceSite_Release(IOleInPlaceSite *iface)
static IOleDocumentView * view
static ULONG WINAPI PropertyNotifySink_Release(IPropertyNotifySink *iface)
static const IDispatchVtbl DispatchVtbl
static BOOL have_container
static HRESULT WINAPI InPlaceSite_QueryInterface(IOleInPlaceSite *iface, REFIID riid, void **ppv)
static IOleControl OleControl
static void load_typelib(void)
static void test_event_binding(void)
static ULONG WINAPI QuickActivate_Release(IQuickActivate *iface)
static const IOleObjectVtbl OleObjectVtbl
static const char object_ax_str[]
static void test_mon_displayname(IMoniker *mon, const char *exname, const char *broken_name)
static HRESULT WINAPI OleObject_SetMoniker(IOleObject *iface, DWORD dwWhichMoniker, IMoniker *pmk)
static ULONG WINAPI wrapped_Release(IUnknown *iface)
static const IConnectionPointContainerVtbl ConnectionPointContainerVtbl
#define test_ifaces(i, ids)
static IOleInPlaceObjectWindowless OleInPlaceObjectWindowless
static HRESULT WINAPI InPlaceFrame_RemoveMenus(IOleInPlaceFrame *iface, HMENU hmenuShared)
static ULONG WINAPI ConnectionPointContainer_AddRef(IConnectionPointContainer *iface)
static HRESULT WINAPI QuickActivate_QuickActivate(IQuickActivate *iface, QACONTAINER *container, QACONTROL *control)
static IConnectionPoint ConnectionPoint
static void test_ui_activate(void)
static HRESULT WINAPI ViewObjectEx_Freeze(IViewObjectEx *iface, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DWORD *pdwFreeze)
static IUnknown wrapped_iface
static HRESULT WINAPI Dispatch_QueryInterface(IDispatch *iface, REFIID riid, void **ppv)
static ULONG WINAPI OleInPlaceObject_Release(IOleInPlaceObjectWindowless *iface)
static HRESULT WINAPI Dispatch_GetIDsOfNames(IDispatch *iface, REFIID riid, LPOLESTR *rgszNames, UINT cNames, LCID lcid, DISPID *rgDispId)
static void * wrapped_iface_vtbl[100]
static IConnectionPointContainer ConnectionPointContainer
static HRESULT WINAPI ViewObjectEx_SetAdvise(IViewObjectEx *iface, DWORD aspects, DWORD advf, IAdviseSink *pAdvSink)
static HRESULT WINAPI OleInPlaceObject_SetObjectRects(IOleInPlaceObjectWindowless *iface, LPCRECT lprcPosRect, LPCRECT lprcClipRect)
static ITypeInfo * class_typeinfo
static IViewObjectEx ViewObjectEx
static HRESULT WINAPI OleObject_EnumVerbs(IOleObject *iface, IEnumOLEVERB **ppEnumOleVerb)
static void test_object_elem(IHTMLDocument2 *doc)
static HRESULT WINAPI OleObject_Update(IOleObject *iface)
static HRESULT WINAPI PersistPropertyBag_GetClassID(IPersistPropertyBag *face, CLSID *pClassID)
static const IPersistPropertyBagVtbl PersistPropertyBagVtbl
static void doc_load_string(IHTMLDocument2 *doc, const char *str)
static HRESULT WINAPI PropertyNotifySink_QueryInterface(IPropertyNotifySink *iface, REFIID riid, void **ppv)
static ULONG WINAPI OleControl_AddRef(IOleControl *iface)
static IOleInPlaceSite InPlaceSite
static HRESULT WINAPI InPlaceFrame_TranslateAccelerator(IOleInPlaceFrame *iface, LPMSG lpmsg, WORD wID)
static HRESULT WINAPI OleObject_SetExtent(IOleObject *iface, DWORD dwDrawAspect, SIZEL *psizel)
static HRESULT WINAPI InPlaceFrame_QueryInterface(IOleInPlaceFrame *iface, REFIID riid, void **ppv)
static ULONG WINAPI ViewObjectEx_AddRef(IViewObjectEx *iface)
static HRESULT WINAPI ClientSite_QueryInterface(IOleClientSite *iface, REFIID riid, void **ppv)
static HRESULT WINAPI ClientSite_GetMoniker(IOleClientSite *iface, DWORD dwAssign, DWORD dwWhichMoniker, IMoniker **ppmon)
static HRESULT WINAPI ViewObjectEx_GetColorSet(IViewObjectEx *iface, DWORD dwDrawAspect, LONG lindex, void *pvAspect, DVTARGETDEVICE *ptd, HDC hicTargetDev, LOGPALETTE **ppColorSet)
static ULONG WINAPI ProvideClassInfo_Release(IProvideClassInfo *iface)
static HRESULT WINAPI OleInPlaceObjectWindowless_ReactivateAndUndo(IOleInPlaceObjectWindowless *iface)
static void set_client_site(IHTMLDocument2 *doc, BOOL set)
static HRESULT WINAPI PersistPropertyBag_QueryInterface(IPersistPropertyBag *iface, REFIID riid, void **ppv)
static HRESULT WINAPI ConnectionPoint_GetConnectionPointContainer(IConnectionPoint *iface, IConnectionPointContainer **ppCPC)
static HRESULT WINAPI ProvideClassInfo_QueryInterface(IProvideClassInfo *iface, REFIID riid, void **ppv)
static ULONG WINAPI InPlaceFrame_AddRef(IOleInPlaceFrame *iface)
static HRESULT WINAPI ConnectionPoint_EnumConnections(IConnectionPoint *iface, IEnumConnections **ppEnum)
static ULONG WINAPI ConnectionPoint_AddRef(IConnectionPoint *iface)
static HRESULT WINAPI InPlaceFrame_SetBorderSpace(IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
static HWND create_container_window(void)
static HRESULT WINAPI ProvideClassInfo_GetClassInfo(IProvideClassInfo *iface, ITypeInfo **ppTI)
static ULONG WINAPI ConnectionPointContainer_Release(IConnectionPointContainer *iface)
static ULONG WINAPI PersistPropertyBag_AddRef(IPersistPropertyBag *iface)
static HRESULT WINAPI ClientSite_OnShowWindow(IOleClientSite *iface, BOOL fShow)
static IHTMLDocument2 * notif_doc
static const IOleClientSiteVtbl ClientSiteVtbl
static HRESULT WINAPI OleObject_SetColorScheme(IOleObject *iface, LOGPALETTE *pLogpal)
static HRESULT WINAPI InPlaceSite_Scroll(IOleInPlaceSite *iface, SIZE scrollExtant)
static HRESULT WINAPI OleControl_OnMnemonic(IOleControl *iface, MSG *mMsg)
static void test_event_call(void)
static HRESULT WINAPI ClientSite_GetContainer(IOleClientSite *iface, IOleContainer **ppContainer)
static HRESULT WINAPI PersistPropertyBag_InitNew(IPersistPropertyBag *face)
static HRESULT WINAPI OleObject_Unadvise(IOleObject *iface, DWORD dwConnection)
static HRESULT WINAPI DocumentSite_ActivateMe(IOleDocumentSite *iface, IOleDocumentView *pViewToActivate)
static HRESULT WINAPI InPlaceSite_OnInPlaceDeactivate(IOleInPlaceSite *iface)
static HRESULT WINAPI OleObject_Close(IOleObject *iface, DWORD dwSaveOption)
static ULONG WINAPI ConnectionPoint_Release(IConnectionPoint *iface)
static HRESULT WINAPI OleObject_GetClientSite(IOleObject *iface, IOleClientSite **ppClientSite)
static ULONG WINAPI ViewObjectEx_Release(IViewObjectEx *iface)
static HRESULT WINAPI InPlaceFrame_RequestBorderSpace(IOleInPlaceFrame *iface, LPCBORDERWIDTHS pborderwidths)
static HRESULT WINAPI InPlaceSite_DiscardUndoState(IOleInPlaceSite *iface)
static const IOleControlVtbl OleControlVtbl
static IPropertyNotifySink PropertyNotifySink
static HRESULT WINAPI OleObject_InitFromData(IOleObject *iface, IDataObject *pDataObject, BOOL fCreation, DWORD dwReserved)
static HRESULT WINAPI OleControl_GetControlInfo(IOleControl *iface, CONTROLINFO *pCI)
static IHTMLDocument2 * create_doc(const char *str)
static void test_create_element(void)
static void create_plugin_window(HWND parent, const RECT *rect)
static HRESULT WINAPI wrapped_func(IUnknown *iface, int i, double d)
static void test_exec_script(IHTMLDocument2 *doc, const char *codea, const char *langa)
static void test_elem_dispex(IDispatchEx *dispex)
static const IViewObjectExVtbl ViewObjectExVtbl
#define DISPID_SCRIPTCALL
static IHTMLWindow2 * window
static const char mbstate_t *static wchar_t const char mbstate_t *static const wchar_t int *static double
static const CLSID *static CLSID *static const GUID VARIANT VARIANT *static IServiceProvider DWORD *static HMENU
static VARIANTARG static DISPID
#define DISPID_SECURITYCTX
interface IHTMLWindow2 IHTMLWindow2
static BOOL is_ie_hardened(void)
_In_ HANDLE _In_ DWORD _In_ DWORD _Inout_opt_ LPOVERLAPPED _In_opt_ LPTRANSMIT_FILE_BUFFERS _In_ DWORD dwReserved
#define OLEIVERB_INPLACEACTIVATE
void WINAPI DECLSPEC_HOTPATCH SysFreeString(BSTR str)
BSTR WINAPI SysAllocStringLen(const OLECHAR *str, unsigned int len)
#define DISPATCH_PROPERTYGET
#define CONNECT_E_NOCONNECTION
const GUID IID_IOleInPlaceSite
const GUID IID_IViewObject
const GUID IID_IConnectionPointContainer
const GUID IID_IPropertyNotifySink
const GUID IID_IProvideClassInfo
const GUID IID_IPropertyBag
const GUID IID_IAdviseSink
const GUID IID_IOleWindow
const GUID IID_IViewObject2
const GUID IID_IOleControlSite
const GUID IID_IOleClientSite
const GUID IID_IOleInPlaceObject
const GUID IID_IOleObject
const GUID IID_IOleControl
const GUID IID_IPersistStreamInit
#define WS_OVERLAPPEDWINDOW
const GUID IID_IPersistPropertyBag
#define IsEqualGUID(rguid1, rguid2)
static __inline const char * wine_dbgstr_guid(const GUID *id)
@ OLEMISC_ACTIVATEWHENVISIBLE