VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/fusion.idl@ 78046

Last change on this file since 78046 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 11.3 KB
Line 
1/*
2 * Copyright 2008 James Hawkins
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/*
20 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28import "objidl.idl";
29
30interface IAssemblyCache;
31interface IAssemblyCacheItem;
32interface IAssemblyEnum;
33interface IAssemblyName;
34
35typedef enum
36{
37 ASM_CACHE_ZAP = 0x1,
38 ASM_CACHE_GAC = 0x2,
39 ASM_CACHE_DOWNLOAD = 0x4,
40 ASM_CACHE_ROOT = 0x8,
41 ASM_CACHE_ROOT_EX = 0x80
42} ASM_CACHE_FLAGS;
43
44typedef enum
45{
46 peNone = 0x00000000,
47 peMSIL = 0x00000001,
48 peI386 = 0x00000002,
49 peIA64 = 0x00000003,
50 peAMD64 = 0x00000004,
51 peARM = 0x00000005,
52 peInvalid = 0xffffffff
53} PEKIND;
54
55typedef enum _tagAssemblyComparisonResult
56{
57 ACR_Unknown,
58 ACR_EquivalentFullMatch,
59 ACR_EquivalentWeakNamed,
60 ACR_EquivalentFXUnified,
61 ACR_EquivalentUnified,
62 ACR_NonEquivalentVersion,
63 ACR_NonEquivalent,
64 ACR_EquivalentPartialMatch,
65 ACR_EquivalentPartialWeakNamed,
66 ACR_EquivalentPartialUnified,
67 ACR_EquivalentPartialFXUnified,
68 ACR_NonEquivalentPartialVersion
69} AssemblyComparisonResult;
70
71[
72 local,
73 object,
74 uuid(e707dcde-d1cd-11d2-bab9-00c04f8eceae),
75 pointer_default(unique)
76]
77interface IAssemblyCache : IUnknown
78{
79 typedef struct _FUSION_INSTALL_REFERENCE_
80 {
81 DWORD cbSize;
82 DWORD dwFlags;
83 GUID guidScheme;
84 LPCWSTR szIdentifier;
85 LPCWSTR szNonCannonicalData;
86 } FUSION_INSTALL_REFERENCE, *LPFUSION_INSTALL_REFERENCE;
87
88 typedef const FUSION_INSTALL_REFERENCE *LPCFUSION_INSTALL_REFERENCE;
89
90 typedef struct _ASSEMBLY_INFO
91 {
92 ULONG cbAssemblyInfo;
93 DWORD dwAssemblyFlags;
94 ULARGE_INTEGER uliAssemblySizeInKB;
95 LPWSTR pszCurrentAssemblyPathBuf;
96 ULONG cchBuf;
97 } ASSEMBLY_INFO;
98
99 cpp_quote("#define IASSEMBLYCACHE_INSTALL_FLAG_REFRESH 0x00000001")
100 cpp_quote("#define IASSEMBLYCACHE_INSTALL_FLAG_FORCE_REFRESH 0x00000002")
101
102 cpp_quote("#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_UNINSTALLED 1")
103 cpp_quote("#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_STILL_IN_USE 2")
104 cpp_quote("#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_ALREADY_UNINSTALLED 3")
105 cpp_quote("#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_DELETE_PENDING 4")
106 cpp_quote("#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_HAS_INSTALL_REFERENCES 5")
107 cpp_quote("#define IASSEMBLYCACHE_UNINSTALL_DISPOSITION_REFERENCE_NOT_FOUND 6")
108
109 cpp_quote("#define QUERYASMINFO_FLAG_VALIDATE 0x00000001")
110 cpp_quote("#define QUERYASMINFO_FLAG_GETSIZE 0x00000002")
111
112 cpp_quote("#define ASSEMBLYINFO_FLAG_INSTALLED 0x00000001")
113 cpp_quote("#define ASSEMBLYINFO_FLAG_PAYLOADRESIDENT 0x00000002")
114
115 HRESULT UninstallAssembly(
116 [in] DWORD dwFlags,
117 [in] LPCWSTR pszAssemblyName,
118 [in] LPCFUSION_INSTALL_REFERENCE pRefData,
119 [out, optional] ULONG *pulDisposition);
120
121 HRESULT QueryAssemblyInfo(
122 [in] DWORD dwFlags,
123 [in] LPCWSTR pszAssemblyName,
124 [in, out] ASSEMBLY_INFO *pAsmInfo);
125
126 HRESULT CreateAssemblyCacheItem(
127 [in] DWORD dwFlags,
128 [in] PVOID pvReserved,
129 [out] IAssemblyCacheItem **ppAsmItem,
130 [in, optional] LPCWSTR pszAssemblyName);
131
132 HRESULT CreateAssemblyScavenger([out] IUnknown **ppUnkReserved);
133
134 HRESULT InstallAssembly(
135 [in] DWORD dwFlags,
136 [in] LPCWSTR pszManifestFilePath,
137 [in] LPCFUSION_INSTALL_REFERENCE pRefData);
138}
139
140[
141 local,
142 object,
143 uuid(9e3aaeb4-d1cd-11d2-bab9-00c04f8eceae),
144 pointer_default(unique)
145]
146interface IAssemblyCacheItem : IUnknown
147{
148 cpp_quote("#define STREAM_FORMAT_COMPLIB_MODULE 0")
149 cpp_quote("#define STREAM_FORMAT_COMPLIB_MANIFEST 1")
150 cpp_quote("#define STREAM_FORMAT_WIN32_MODULE 2")
151 cpp_quote("#define STREAM_FORMAT_WIN32_MANIFEST 4")
152
153 cpp_quote("#define IASSEMBLYCACHEITEM_COMMIT_FLAG_REFRESH 0x00000001")
154 cpp_quote("#define IASSEMBLYCACHEITEM_COMMIT_FLAG_FORCE_REFRESH 0x00000002")
155
156 cpp_quote("#define IASSEMBLYCACHEITEM_COMMIT_DISPOSITION_INSTALLED 1")
157 cpp_quote("#define IASSEMBLYCACHEITEM_COMMIT_DISPOSITION_REFRESHED 2")
158 cpp_quote("#define IASSEMBLYCACHEITEM_COMMIT_DISPOSITION_ALREADY_INSTALLED 3")
159
160 HRESULT CreateStream(
161 [in] DWORD dwFlags,
162 [in] LPCWSTR pszStreamName,
163 [in] DWORD dwFormat,
164 [in] DWORD dwFormatFlags,
165 [out] IStream **ppIStream,
166 [in, optional] ULARGE_INTEGER *puliMaxSize);
167
168 HRESULT Commit(
169 [in] DWORD dwFlags,
170 [out, optional] ULONG *pulDisposition);
171
172 HRESULT AbortItem();
173}
174
175[
176 local,
177 object,
178 uuid(CD193BC0-B4BC-11d2-9833-00C04FC31D2E),
179 pointer_default(unique)
180]
181interface IAssemblyName: IUnknown
182{
183 typedef [unique] IAssemblyName *LPASSEMBLYNAME;
184
185 typedef enum
186 {
187 CANOF_PARSE_DISPLAY_NAME = 0x1,
188 CANOF_SET_DEFAULT_VALUES = 0x2,
189 CANOF_VERIFY_FRIEND_ASSEMBLYNAME = 0x4,
190 CANOF_PARSE_FRIEND_DISPLAY_NAME = CANOF_PARSE_DISPLAY_NAME |
191 CANOF_VERIFY_FRIEND_ASSEMBLYNAME
192 } CREATE_ASM_NAME_OBJ_FLAGS;
193
194 typedef enum
195 {
196 ASM_NAME_PUBLIC_KEY = 0,
197 ASM_NAME_PUBLIC_KEY_TOKEN,
198 ASM_NAME_HASH_VALUE,
199 ASM_NAME_NAME,
200 ASM_NAME_MAJOR_VERSION,
201 ASM_NAME_MINOR_VERSION,
202 ASM_NAME_BUILD_NUMBER,
203 ASM_NAME_REVISION_NUMBER,
204 ASM_NAME_CULTURE,
205 ASM_NAME_PROCESSOR_ID_ARRAY,
206 ASM_NAME_OSINFO_ARRAY,
207 ASM_NAME_HASH_ALGID,
208 ASM_NAME_ALIAS,
209 ASM_NAME_CODEBASE_URL,
210 ASM_NAME_CODEBASE_LASTMOD,
211 ASM_NAME_NULL_PUBLIC_KEY,
212 ASM_NAME_NULL_PUBLIC_KEY_TOKEN,
213 ASM_NAME_CUSTOM,
214 ASM_NAME_NULL_CUSTOM,
215 ASM_NAME_MVID,
216 ASM_NAME_FILE_MAJOR_VERSION,
217 ASM_NAME_FILE_MINOR_VERSION,
218 ASM_NAME_FILE_BUILD_NUMBER,
219 ASM_NAME_FILE_REVISION_NUMBER,
220 ASM_NAME_RETARGET,
221 ASM_NAME_SIGNATURE_BLOB,
222 ASM_NAME_CONFIG_MASK,
223 ASM_NAME_ARCHITECTURE,
224 ASM_NAME_MAX_PARAMS
225 } ASM_NAME;
226
227 typedef enum
228 {
229 ASM_DISPLAYF_VERSION = 0x1,
230 ASM_DISPLAYF_CULTURE = 0x2,
231 ASM_DISPLAYF_PUBLIC_KEY_TOKEN = 0x4,
232 ASM_DISPLAYF_PUBLIC_KEY = 0x8,
233 ASM_DISPLAYF_CUSTOM = 0x10,
234 ASM_DISPLAYF_PROCESSORARCHITECTURE = 0x20,
235 ASM_DISPLAYF_LANGUAGEID = 0x40,
236 ASM_DISPLAYF_RETARGET = 0x80,
237 ASM_DISPLAYF_CONFIG_MASK = 0x100,
238 ASM_DISPLAYF_MVID = 0x200,
239
240 ASM_DISPLAYF_FULL = ASM_DISPLAYF_VERSION |
241 ASM_DISPLAYF_CULTURE |
242 ASM_DISPLAYF_PUBLIC_KEY_TOKEN |
243 ASM_DISPLAYF_RETARGET |
244 ASM_DISPLAYF_PROCESSORARCHITECTURE,
245 } ASM_DISPLAY_FLAGS;
246
247 typedef enum
248 {
249 ASM_CMPF_NAME = 0x1,
250 ASM_CMPF_MAJOR_VERSION = 0x2,
251 ASM_CMPF_MINOR_VERSION = 0x4,
252 ASM_CMPF_BUILD_NUMBER = 0x8,
253 ASM_CMPF_REVISION_NUMBER = 0x10,
254 ASM_CMPF_VERSION = ASM_CMPF_MAJOR_VERSION |
255 ASM_CMPF_MINOR_VERSION |
256 ASM_CMPF_BUILD_NUMBER |
257 ASM_CMPF_REVISION_NUMBER,
258 ASM_CMPF_PUBLIC_KEY_TOKEN = 0x20,
259 ASM_CMPF_CULTURE = 0x40,
260 ASM_CMPF_CUSTOM = 0x80,
261 ASM_CMPF_DEFAULT = 0x100,
262 ASM_CMPF_RETARGET = 0x200,
263 ASM_CMPF_ARCHITECTURE = 0x400,
264 ASM_CMPF_CONFIG_MASK = 0x800,
265 ASM_CMPF_MVID = 0x1000,
266 ASM_CMPF_SIGNATURE = 0x2000,
267 ASM_CMPF_IL_ALL = ASM_CMPF_NAME |
268 ASM_CMPF_VERSION |
269 ASM_CMPF_PUBLIC_KEY_TOKEN |
270 ASM_CMPF_CULTURE,
271 ASM_CMPF_IL_NO_VERSION = ASM_CMPF_NAME |
272 ASM_CMPF_PUBLIC_KEY_TOKEN |
273 ASM_CMPF_CULTURE
274 } ASM_CMP_FLAGS;
275
276 HRESULT SetProperty(
277 [in] DWORD PropertyId,
278 [in] LPVOID pvProperty,
279 [in] DWORD cbProperty);
280
281 HRESULT GetProperty(
282 [in] DWORD PropertyId,
283 [out] LPVOID pvProperty,
284 [in, out] LPDWORD pcbProperty);
285
286 HRESULT Finalize();
287
288 HRESULT GetDisplayName(
289 [out] LPOLESTR szDisplayName,
290 [in, out] LPDWORD pccDisplayName,
291 [in] DWORD dwDisplayFlags);
292
293 HRESULT Reserved(
294 [in] REFIID refIID,
295 [in] IUnknown *pUnkReserved1,
296 [in] IUnknown *pUnkReserved2,
297 [in] LPCOLESTR szReserved,
298 [in] LONGLONG llReserved,
299 [in] LPVOID pvReserved,
300 [in] DWORD cbReserved,
301 [out] LPVOID *ppReserved);
302
303 HRESULT GetName(
304 [in, out] LPDWORD lpcwBuffer,
305 [out] WCHAR *pwzName);
306
307 HRESULT GetVersion(
308 [out] LPDWORD pdwVersionHi,
309 [out] LPDWORD pdwVersionLow);
310
311 HRESULT IsEqual(
312 [in] IAssemblyName *pName,
313 [in] DWORD dwCmpFlags);
314
315 HRESULT Clone([out] IAssemblyName **pName);
316}
317
318[
319 local,
320 object,
321 uuid(21b8916c-f28e-11d2-a473-00c04f8ef448),
322 pointer_default(unique)
323]
324interface IAssemblyEnum : IUnknown
325{
326 HRESULT GetNextAssembly(
327 [in] LPVOID pvReserved,
328 [out] IAssemblyName **ppName,
329 [in] DWORD dwFlags);
330
331 HRESULT Reset(void);
332
333 HRESULT Clone([out] IAssemblyEnum **ppEnum);
334}
335
336[
337 local,
338 object,
339 uuid(582dac66-e678-449f-aba6-6faaec8a9394),
340 pointer_default(unique)
341]
342interface IInstallReferenceItem : IUnknown
343{
344
345}
346
347[
348 local,
349 object,
350 uuid(56b1a988-7c0c-4aa2-8639-c3eb5a90226f),
351 pointer_default(unique)
352]
353interface IInstallReferenceEnum : IUnknown
354{
355
356}
357
358cpp_quote("HRESULT WINAPI ClearDownloadCache(void);")
359cpp_quote("HRESULT WINAPI CompareAssemblyIdentity(LPCWSTR,BOOL,LPCWSTR,BOOL,BOOL*,AssemblyComparisonResult*);")
360cpp_quote("HRESULT WINAPI CreateAssemblyCache(IAssemblyCache**,DWORD);")
361cpp_quote("HRESULT WINAPI CreateAssemblyEnum(IAssemblyEnum**,IUnknown*,IAssemblyName*,DWORD,LPVOID);")
362cpp_quote("HRESULT WINAPI CreateAssemblyNameObject(LPASSEMBLYNAME*,LPCWSTR,DWORD,LPVOID);")
363cpp_quote("HRESULT WINAPI CreateInstallReferenceEnum(IInstallReferenceEnum**,IAssemblyName*,DWORD,LPVOID);")
364cpp_quote("HRESULT WINAPI GetAssemblyIdentityFromFile(LPCWSTR,REFIID,IUnknown**);")
365cpp_quote("HRESULT WINAPI GetCachePath(ASM_CACHE_FLAGS,LPWSTR,PDWORD);")
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