msi: Use data table for dispid tests.
[wine/multimedia.git] / include / winsxs.idl
blob202b91f5c59c6ab7e697f198f5d0840a77ff0637
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";
20 import "oleidl.idl";
22 interface IAssemblyCache;
23 interface IAssemblyCacheItem;
25 typedef struct _FUSION_INSTALL_REFERENCE_
27 DWORD cbSize;
28 DWORD dwFlags;
29 GUID guidScheme;
30 LPCWSTR szIdentifier;
31 LPCWSTR szNonCannonicalData;
32 } FUSION_INSTALL_REFERENCE, *LPFUSION_INSTALL_REFERENCE;
34 typedef struct _ASSEMBLY_INFO
36 ULONG cbAssemblyInfo;
37 DWORD dwAssemblyFlags;
38 ULARGE_INTEGER uliAssemblySizeInKB;
39 LPWSTR pszCurrentAssemblyPathBuf;
40 ULONG cchBuf;
41 } ASSEMBLY_INFO;
43 typedef const struct _FUSION_INSTALL_REFERENCE_ *LPCFUSION_INSTALL_REFERENCE;
46 object,
47 uuid(e707dcde-d1cd-11d2-bab9-00c04f8eceae),
48 pointer_default(unique),
49 local
51 interface IAssemblyCache : IUnknown
53 HRESULT UninstallAssembly(
54 [in] DWORD flags,
55 [in] LPCWSTR name,
56 [in] LPCFUSION_INSTALL_REFERENCE ref,
57 [out, optional] ULONG *disp);
59 HRESULT QueryAssemblyInfo(
60 [in] DWORD flags,
61 [in] LPCWSTR name,
62 [in, out] ASSEMBLY_INFO *info);
64 HRESULT CreateAssemblyCacheItem(
65 [in] DWORD flags,
66 [in] PVOID reserved,
67 [out] IAssemblyCacheItem **item,
68 [in, optional] LPCWSTR name);
70 HRESULT Reserved(
71 [out] IUnknown **reserved);
73 HRESULT InstallAssembly(
74 [in] DWORD flags,
75 [in] LPCWSTR path,
76 [in] LPCFUSION_INSTALL_REFERENCE ref);
80 object,
81 uuid(9e3aaeb4-d1cd-11d2-bab9-00c04f8eceae),
82 pointer_default(unique),
83 local
85 interface IAssemblyCacheItem : IUnknown
87 HRESULT CreateStream(
88 [in] DWORD flags,
89 [in] LPCWSTR name,
90 [in] DWORD format,
91 [in] DWORD format_flags,
92 [out] IStream **stream,
93 [in, optional] ULARGE_INTEGER *max_size);
95 HRESULT Commit(
96 [in] DWORD flags,
97 [out, optional] ULONG *disp);
99 HRESULT AbortItem();
102 cpp_quote("HRESULT WINAPI CreateAssemblyCache(IAssemblyCache**,DWORD);")