Commit 5c15ca13 authored by Jacek Caban's avatar Jacek Caban Committed by Alexandre Julliard

mshtml: Added ActiveX event binding test.

parent eda756db
......@@ -72,6 +72,8 @@ dlls/msdaps/msdaps_p.c
dlls/msdaps/row_server.h
dlls/msdaps/row_server_p.c
dlls/mshtml/nsiface.h
dlls/mshtml/tests/test_tlb.h
dlls/mshtml/tests/test_tlb.tlb
dlls/msi/cond.tab.c
dlls/msi/cond.tab.h
dlls/msi/msiserver.h
......
......@@ -12,6 +12,9 @@ C_SRCS = \
script.c \
style.c
IDL_TLB_SRCS = test_tlb.idl
IDL_H_SRCS = test_tlb.idl
RC_SRCS = rsrc.rc
@MAKE_TEST_RULES@
......@@ -27,3 +27,6 @@ vbtest.html HTML "vbtest.html"
/* @makedep: events.html */
events.html HTML "events.html"
/* @makedep: test_tlb.tlb */
1 TYPELIB test_tlb.tlb
/*
* Copyright 2012 Jacek Caban for CodeWeavers
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
import "oaidl.idl";
[
version(1.0),
uuid(fb137422-de47-4630-848d-a20ccae34725)
]
library MSHTMLTest {
importlib("stdole2.tlb");
[
oleautomation,
odl,
uuid(e0d1ce9d-e916-4723-ace5-888c3537de78),
dual
]
interface IActiveXTest : IDispatch {
HRESULT nothinginteresting();
}
[
uuid(0d853edb-cb70-447e-9d8a-b9661c5da56f)
]
dispinterface DispActiveXTest {
properties:
methods:
[id(1)] long testfunc();
[id(2)] long testfunc2(long a, long b);
}
[
uuid(ba9d587b-1aad-4192-a29a-99bd5f7482c3)
]
coclass ActiveXTest {
[default] interface IActiveXTest;
[source, default] interface DispActiveXTest;
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment