Add AppDefaults app selection to control panel
[wine/gsoc-2012-control.git] / dlls / oleaut32 / tests / test_reg.idl
blob4598efd5ce71351d64ed435d9779db8efa545d0e
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;