wined3d: Better handle some instances when we can't make the required GL context...
[wine.git] / include / winsxs.idl
blobc2c38f2a6bfb02fdb8ab96ea75e2e093b8f2bd82
1 /*
2 * Copyright 2010 Hans Leidekker for CodeWeavers
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.
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.
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
19 import "objidl.idl";
21 interface IAssemblyCache;
22 interface IAssemblyCacheItem;
24 typedef struct _FUSION_INSTALL_REFERENCE_
26 DWORD cbSize;
27 DWORD dwFlags;
28 GUID guidScheme;
29 LPCWSTR szIdentifier;
30 LPCWSTR szNonCannonicalData;
31 } FUSION_INSTALL_REFERENCE, *LPFUSION_INSTALL_REFERENCE;
33 typedef struct _ASSEMBLY_INFO
35 ULONG cbAssemblyInfo;
36 DWORD dwAssemblyFlags;
37 ULARGE_INTEGER uliAssemblySizeInKB;
38 LPWSTR pszCurrentAssemblyPathBuf;
39 ULONG cchBuf;
40 } ASSEMBLY_INFO;
42 typedef const struct _FUSION_INSTALL_REFERENCE_ *LPCFUSION_INSTALL_REFERENCE;
45 object,
46 uuid(e707dcde-d1cd-11d2-bab9-00c04f8eceae),
47 pointer_default(unique),
48 local
50 interface IAssemblyCache : IUnknown
52 HRESULT UninstallAssembly(
53 [in] DWORD flags,
54 [in] LPCWSTR name,
55 [in] LPCFUSION_INSTALL_REFERENCE ref,
56 [out, optional] ULONG *disp);
58 HRESULT QueryAssemblyInfo(
59 [in] DWORD flags,
60 [in] LPCWSTR name,
61 [in, out] ASSEMBLY_INFO *info);
63 HRESULT CreateAssemblyCacheItem(
64 [in] DWORD flags,
65 [in] PVOID reserved,
66 [out] IAssemblyCacheItem **item,
67 [in, optional] LPCWSTR name);
69 HRESULT Reserved(
70 [out] IUnknown **reserved);
72 HRESULT InstallAssembly(
73 [in] DWORD flags,
74 [in] LPCWSTR path,
75 [in] LPCFUSION_INSTALL_REFERENCE ref);
79 object,
80 uuid(9e3aaeb4-d1cd-11d2-bab9-00c04f8eceae),
81 pointer_default(unique),
82 local
84 interface IAssemblyCacheItem : IUnknown
86 HRESULT CreateStream(
87 [in] DWORD flags,
88 [in] LPCWSTR name,
89 [in] DWORD format,
90 [in] DWORD format_flags,
91 [out] IStream **stream,
92 [in, optional] ULARGE_INTEGER *max_size);
94 HRESULT Commit(
95 [in] DWORD flags,
96 [out, optional] ULONG *disp);
98 HRESULT AbortItem();
101 cpp_quote("HRESULT WINAPI CreateAssemblyCache(IAssemblyCache**,DWORD);")