VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/comcat.idl@ 40388

Last change on this file since 40388 was 33656, checked in by vboxsync, 14 years ago

*: rebrand Sun (L)GPL disclaimers

  • Property svn:eol-style set to native
File size: 8.7 KB
Line 
1/*
2 * Copyright 2002 John K. Hohm
3 * Copyright 2003 Alexandre Julliard
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
9 *
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18 */
19
20/*
21 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
22 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
23 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
24 * a choice of LGPL license versions is made available with the language indicating
25 * that LGPLv2 or any later version may be used, or where a choice of which version
26 * of the LGPL is applied is otherwise unspecified.
27 */
28
29#ifndef DO_NO_IMPORTS
30import "unknwn.idl";
31#endif
32
33/*****************************************************************************
34 * Types
35 */
36typedef GUID CATID;
37typedef REFGUID REFCATID;
38cpp_quote("#define CATID_NULL GUID_NULL")
39cpp_quote("#define IsEqualCATID(rcatid1, rcatid2) IsEqualGUID(rcatid1, rcatid2)")
40
41/*****************************************************************************
42 * Aliases for EnumGUID
43 */
44#define IEnumCATID IEnumGUID
45cpp_quote("#define IEnumCATID IEnumGUID")
46cpp_quote("#define IID_IEnumCATID IID_IEnumGUID")
47cpp_quote("#define LPENUMCATID LPENUMGUID")
48#define IEnumCLSID IEnumGUID
49cpp_quote("#define IEnumCLSID IEnumGUID")
50cpp_quote("#define IID_IEnumCLSID IID_IEnumGUID")
51cpp_quote("#define LPENUMCLSID LPENUMGUID")
52
53
54/*****************************************************************************
55 * IEnumGUID
56 */
57[
58 object,
59 uuid(0002e000-0000-0000-c000-000000000046),
60 pointer_default(unique)
61]
62interface IEnumGUID : IUnknown
63{
64 typedef [unique] IEnumGUID *LPENUMGUID;
65
66 HRESULT Next(
67 [in] ULONG celt,
68 [out, size_is(celt), length_is(*pceltFetched)] GUID *rgelt,
69 [out] ULONG *pceltFetched);
70
71 HRESULT Skip(
72 [in] ULONG celt);
73
74 HRESULT Reset();
75
76 HRESULT Clone(
77 [out] IEnumGUID **ppenum);
78}
79
80
81/*****************************************************************************
82 * IEnumCATEGORYINFO
83 */
84[
85 object,
86 uuid(0002e011-0000-0000-c000-000000000046),
87 pointer_default(unique)
88]
89interface IEnumCATEGORYINFO : IUnknown
90{
91 typedef [unique] IEnumCATEGORYINFO *LPENUMCATEGORYINFO;
92
93 typedef struct tagCATEGORYINFO
94 {
95 CATID catid; /* category identifier for component */
96 LCID lcid; /* locale identifier */
97 OLECHAR szDescription[128]; /* description of the category */
98 } CATEGORYINFO, *LPCATEGORYINFO;
99
100 HRESULT Next(
101 [in] ULONG celt,
102 [out, size_is(celt), length_is(*pceltFetched)] CATEGORYINFO* rgelt,
103 [out] ULONG* pceltFetched);
104
105 HRESULT Skip(
106 [in] ULONG celt);
107
108 HRESULT Reset();
109
110 HRESULT Clone(
111 [out] IEnumCATEGORYINFO** ppenum);
112}
113
114
115/*****************************************************************************
116 * ICatInformation
117 */
118[
119 object,
120 uuid(0002e013-0000-0000-c000-000000000046),
121 pointer_default(unique)
122]
123interface ICatInformation : IUnknown
124{
125 typedef [unique] ICatInformation* LPCATINFORMATION;
126
127 HRESULT EnumCategories(
128 [in] LCID lcid,
129 [out] IEnumCATEGORYINFO** ppenumCategoryInfo);
130
131 HRESULT GetCategoryDesc(
132 [in] REFCATID rcatid,
133 [in] LCID lcid,
134 [out] LPWSTR* pszDesc);
135
136 [local]
137 HRESULT EnumClassesOfCategories(
138 [in] ULONG cImplemented,
139 [in,size_is(cImplemented)] CATID rgcatidImpl[],
140 [in] ULONG cRequired,
141 [in,size_is(cRequired)] CATID rgcatidReq[],
142 [out] IEnumCLSID** ppenumClsid);
143
144 [call_as(EnumClassesOfCategories)]
145 HRESULT RemoteEnumClassesOfCategories(
146 [in] ULONG cImplemented,
147 [in,unique,size_is(cImplemented)] CATID rgcatidImpl[],
148 [in] ULONG cRequired,
149 [in,unique,size_is(cRequired)] CATID rgcatidReq[],
150 [out] IEnumCLSID** ppenumClsid);
151
152 [local]
153 HRESULT IsClassOfCategories(
154 [in] REFCLSID rclsid,
155 [in] ULONG cImplemented,
156 [in,size_is(cImplemented)] CATID rgcatidImpl[],
157 [in] ULONG cRequired,
158 [in,size_is(cRequired)] CATID rgcatidReq[]);
159
160 [call_as(IsClassOfCategories)]
161 HRESULT RemoteIsClassOfCategories(
162 [in] REFCLSID rclsid,
163 [in] ULONG cImplemented,
164 [in,unique,size_is(cImplemented)] CATID rgcatidImpl[],
165 [in] ULONG cRequired,
166 [in,unique,size_is(cRequired)] CATID rgcatidReq[] );
167
168 HRESULT EnumImplCategoriesOfClass(
169 [in] REFCLSID rclsid,
170 [out] IEnumCATID** ppenumCatid);
171
172 HRESULT EnumReqCategoriesOfClass(
173 [in] REFCLSID rclsid,
174 [out] IEnumCATID** ppenumCatid);
175}
176
177
178/*****************************************************************************
179 * ICatRegister
180 */
181[
182 object,
183 uuid(0002e012-0000-0000-c000-000000000046),
184 pointer_default(unique)
185]
186interface ICatRegister : IUnknown
187{
188 typedef [unique] ICatRegister* LPCATREGISTER;
189
190 HRESULT RegisterCategories(
191 [in] ULONG cCategories,
192 [in, size_is(cCategories)] CATEGORYINFO rgCategoryInfo[]);
193
194 HRESULT UnRegisterCategories(
195 [in] ULONG cCategories,
196 [in, size_is(cCategories)] CATID rgcatid[]);
197
198 HRESULT RegisterClassImplCategories(
199 [in] REFCLSID rclsid,
200 [in] ULONG cCategories,
201 [in, size_is(cCategories)] CATID rgcatid[]);
202
203 HRESULT UnRegisterClassImplCategories(
204 [in] REFCLSID rclsid,
205 [in] ULONG cCategories,
206 [in, size_is(cCategories)] CATID rgcatid[]);
207
208 HRESULT RegisterClassReqCategories(
209 [in] REFCLSID rclsid,
210 [in] ULONG cCategories,
211 [in, size_is(cCategories)] CATID rgcatid[]);
212
213 HRESULT UnRegisterClassReqCategories(
214 [in] REFCLSID rclsid,
215 [in] ULONG cCategories,
216 [in, size_is(cCategories)] CATID rgcatid[]);
217}
218
219
220/*****************************************************************************
221 * Category IDs
222 */
223cpp_quote("DEFINE_GUID( CATID_Insertable, 0x40fc6ed3, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);")
224cpp_quote("DEFINE_GUID( CATID_Control, 0x40fc6ed4, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);")
225cpp_quote("DEFINE_GUID( CATID_Programmable, 0x40fc6ed5, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);")
226cpp_quote("DEFINE_GUID( CATID_IsShortcut, 0x40fc6ed6, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);")
227cpp_quote("DEFINE_GUID( CATID_NeverShowExt, 0x40fc6ed7, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);")
228cpp_quote("DEFINE_GUID( CATID_DocObject, 0x40fc6ed8, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);")
229cpp_quote("DEFINE_GUID( CATID_Printable, 0x40fc6ed9, 0x2438, 0x11cf, 0xa3, 0xdb, 0x08, 0x00, 0x36, 0xf1, 0x25, 0x02);")
230cpp_quote("DEFINE_GUID( CATID_RequiresDataPathHost, 0x0de86a50, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);")
231cpp_quote("DEFINE_GUID( CATID_PersistsToMoniker, 0x0de86a51, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);")
232cpp_quote("DEFINE_GUID( CATID_PersistsToStorage, 0x0de86a52, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);")
233cpp_quote("DEFINE_GUID( CATID_PersistsToStreamInit, 0x0de86a53, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);")
234cpp_quote("DEFINE_GUID( CATID_PersistsToStream, 0x0de86a54, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);")
235cpp_quote("DEFINE_GUID( CATID_PersistsToMemory, 0x0de86a55, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);")
236cpp_quote("DEFINE_GUID( CATID_PersistsToFile, 0x0de86a56, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);")
237cpp_quote("DEFINE_GUID( CATID_PersistsToPropertyBag, 0x0de86a57, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);")
238cpp_quote("DEFINE_GUID( CATID_InternetAware, 0x0de86a58, 0x2baa, 0x11cf, 0xa2, 0x29, 0x00, 0xaa, 0x00, 0x3d, 0x73, 0x52);")
239cpp_quote("DEFINE_GUID( CATID_DesignTimeUIActivatableControl, 0xf2bb56d1, 0xdb07, 0x11d1, 0xaa, 0x6b, 0x00, 0x60, 0x97, 0xdb, 0x95, 0x39);")
240/* The Component Category Manager */
241cpp_quote("DEFINE_GUID(CLSID_StdComponentCategoriesMgr, 0x0002e005, 0x00, 0x00, 0xc0, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x46);")
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette