1/* 2 * Copyright 2012 Jacek Caban for CodeWeavers 3 * 4 * This library is free software; you can redistribute it and/or 5 * modify it under the terms of the GNU Lesser General Public 6 * License as published by the Free Software Foundation; either 7 * version 2.1 of the License, or (at your option) any later version. 8 * 9 * This library is distributed in the hope that it will be useful, 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * Lesser General Public License for more details. 13 * 14 * You should have received a copy of the GNU Lesser General Public 15 * License along with this library; if not, write to the Free Software 16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA 17 */ 18 19#pragma makedep typelib 20 21import "oaidl.idl"; 22 23[ 24 version(1.0), 25 uuid(fb137422-de47-4630-848d-a20ccae34725) 26] 27library MSHTMLTest { 28 importlib("stdole2.tlb"); 29 30 [ 31 oleautomation, 32 odl, 33 uuid(e0d1ce9d-e916-4723-ace5-888c3537de78), 34 dual 35 ] 36 interface IActiveXTest : IDispatch { 37 HRESULT nothinginteresting(); 38 } 39 40 [ 41 uuid(0d853edb-cb70-447e-9d8a-b9661c5da56f) 42 ] 43 dispinterface DispActiveXTest { 44 properties: 45 methods: 46 [id(1)] long testfunc(); 47 [id(2)] long testfunc2(long a, long b); 48 } 49 50 [ 51 uuid(ba9d587b-1aad-4192-a29a-99bd5f7482c3) 52 ] 53 coclass ActiveXTest { 54 [default] interface IActiveXTest; 55 [source, default] interface DispActiveXTest; 56 } 57} 58