Release 1.6-rc2.
[wine/testsucceed.git] / dlls / oleaut32 / tests / test_reg.idl
blob7f73b2502e968054ea2bd1a35e3e61249a132695
1 /*
2 * A typelib to test registration.
4 * Copyright 2010 Huw Davies
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.
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.
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
21 import "oaidl.idl"; /* needed by widl */
24 uuid(a2cfdbd3-2bbf-4b1c-a414-5a5904e634c9),
25 version(1.0)
27 library register_test
29 importlib("stdole2.tlb");
32 uuid(06c1f5f0-ea49-44f9-8e3b-4be00c7a0689)
34 interface Inon_ole : IUnknown
36 HRESULT test();
40 uuid(06c1f5f1-ea49-44f9-8e3b-4be00c7a0689)
42 interface Inon_ole_from_disp : IDispatch
44 HRESULT test();
48 uuid(06c1f5f2-ea49-44f9-8e3b-4be00c7a0689),
49 oleautomation
51 interface Iole : IUnknown
53 HRESULT test();
57 uuid(06c1f5f3-ea49-44f9-8e3b-4be00c7a0689),
58 oleautomation
60 interface Iole_from_disp : IDispatch
62 HRESULT test();
66 uuid(06c1f5f4-ea49-44f9-8e3b-4be00c7a0689),
67 dual
69 interface Inon_ole_dual : IUnknown
71 HRESULT test();
75 uuid(06c1f5f5-ea49-44f9-8e3b-4be00c7a0689),
76 oleautomation,
77 dual
79 interface Iole_dual : IUnknown
81 HRESULT test();
85 uuid(06c1f5f6-ea49-44f9-8e3b-4be00c7a0689),
86 dual
88 interface Inon_ole_dual_from_disp : IDispatch
90 HRESULT test();
94 uuid(06c1f5f7-ea49-44f9-8e3b-4be00c7a0689),
95 oleautomation,
96 dual
98 interface Iole_dual_from_disp : IDispatch
100 HRESULT test();
103 /* oleautomation not allowed with dispinterfaces */
105 uuid(06c1f5f8-ea49-44f9-8e3b-4be00c7a0689)
107 dispinterface Idisp
109 properties:
110 [id(0x0)] BSTR Name;
111 methods:
115 uuid(06c1f5f9-ea49-44f9-8e3b-4be00c7a0689)
117 dispinterface Idisp_from_non_ole_iface
119 interface Inon_ole;
123 uuid(06c1f5fa-ea49-44f9-8e3b-4be00c7a0689)
125 dispinterface Idisp_from_ole_from_disp_iface
127 interface Iole_from_disp;
131 uuid(f1b68c3b-02a3-4110-bc4c-cf9bc7e7f177)
133 interface IInvokeTest : IDispatch
135 [propget, id(DISPID_VALUE)]
136 LONG test([in] LONG i);