[OLEAUT32_WINETEST] Sync with Wine Staging 1.7.47. CORE-9924
[reactos.git] / rostests / winetests / oleaut32 / test_tlb.idl
1 /*
2 * ITypeLib test IDL - we dump it and compare results in typelib.c
3 *
4 * Copyright 2007 Google (Mikolaj Zalewski)
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 */
20
21 #pragma makedep ident
22 #pragma makedep typelib
23
24 import "oaidl.idl"; /* needed by widl */
25
26 [uuid(8b05fe77-4a6c-4133-b9cd-8f81747af784)]
27 library Test
28 {
29 importlib("stdole2.tlb");
30
31 [dual,uuid(b14b6bb5-904e-4ff9-b247-bd361f7aaedd)]
32 interface IDualIface : IDispatch
33 {
34 HRESULT test();
35 }
36
37 [uuid(ec5dfcd6-eeb0-4cd6-b51e-8030e1dac009)]
38 interface ISimpleIface : IDispatch
39 {
40 HRESULT test();
41 }
42
43 [uuid(4029f190-ca4a-4611-aeb9-673983cb96dd)]
44 struct test_struct
45 {
46 HRESULT hr;
47 VARIANT_BOOL b;
48 IDispatch *disp;
49 BSTR bstr;
50 };
51
52 /* identical to 'test_struct', only guid is different */
53 [uuid(4029f190-ca4a-4611-aeb9-673983cb96de)]
54 struct test_struct2
55 {
56 HRESULT hr;
57 VARIANT_BOOL b;
58 IDispatch *disp;
59 BSTR bstr;
60 };
61 }