riched20: Don't create a display context in InvalidateParagraphRange().
[wine/zf.git] / include / winsxs.idl
blob775c69a844160346e83630fa938b3ed019582982
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;
24 interface IAssemblyName;
26 typedef struct _FUSION_INSTALL_REFERENCE_
28 DWORD cbSize;
29 DWORD dwFlags;
30 GUID guidScheme;
31 LPCWSTR szIdentifier;
32 LPCWSTR szNonCannonicalData;
33 } FUSION_INSTALL_REFERENCE, *LPFUSION_INSTALL_REFERENCE;
35 typedef struct _ASSEMBLY_INFO
37 ULONG cbAssemblyInfo;
38 DWORD dwAssemblyFlags;
39 ULARGE_INTEGER uliAssemblySizeInKB;
40 LPWSTR pszCurrentAssemblyPathBuf;
41 ULONG cchBuf;
42 } ASSEMBLY_INFO;
44 typedef const struct _FUSION_INSTALL_REFERENCE_ *LPCFUSION_INSTALL_REFERENCE;
47 object,
48 uuid(e707dcde-d1cd-11d2-bab9-00c04f8eceae),
49 pointer_default(unique),
50 local
52 interface IAssemblyCache : IUnknown
54 HRESULT UninstallAssembly(
55 [in] DWORD flags,
56 [in] LPCWSTR name,
57 [in] LPCFUSION_INSTALL_REFERENCE ref,
58 [out, optional] ULONG *disp);
60 HRESULT QueryAssemblyInfo(
61 [in] DWORD flags,
62 [in] LPCWSTR name,
63 [in, out] ASSEMBLY_INFO *info);
65 HRESULT CreateAssemblyCacheItem(
66 [in] DWORD flags,
67 [in] PVOID reserved,
68 [out] IAssemblyCacheItem **item,
69 [in, optional] LPCWSTR name);
71 HRESULT Reserved(
72 [out] IUnknown **reserved);
74 HRESULT InstallAssembly(
75 [in] DWORD flags,
76 [in] LPCWSTR path,
77 [in] LPCFUSION_INSTALL_REFERENCE ref);
81 object,
82 uuid(9e3aaeb4-d1cd-11d2-bab9-00c04f8eceae),
83 pointer_default(unique),
84 local
86 interface IAssemblyCacheItem : IUnknown
88 HRESULT CreateStream(
89 [in] DWORD flags,
90 [in] LPCWSTR name,
91 [in] DWORD format,
92 [in] DWORD format_flags,
93 [out] IStream **stream,
94 [in, optional] ULARGE_INTEGER *max_size);
96 HRESULT Commit(
97 [in] DWORD flags,
98 [out, optional] ULONG *disp);
100 HRESULT AbortItem();
104 object,
105 uuid(cd193bc0-b4bc-11D2-9833-00c04fc31d2e),
106 pointer_default(unique),
107 local
109 interface IAssemblyName : IUnknown
111 typedef [public] enum
113 ASM_NAME_PUBLIC_KEY,
114 ASM_NAME_PUBLIC_KEY_TOKEN,
115 ASM_NAME_HASH_VALUE,
116 ASM_NAME_NAME,
117 ASM_NAME_MAJOR_VERSION,
118 ASM_NAME_MINOR_VERSION,
119 ASM_NAME_BUILD_NUMBER,
120 ASM_NAME_REVISION_NUMBER,
121 ASM_NAME_CULTURE,
122 ASM_NAME_PROCESSOR_ID_ARRAY,
123 ASM_NAME_OSINFO_ARRAY,
124 ASM_NAME_HASH_ALGID,
125 ASM_NAME_ALIAS,
126 ASM_NAME_CODEBASE_URL,
127 ASM_NAME_CODEBASE_LASTMOD,
128 ASM_NAME_NULL_PUBLIC_KEY,
129 ASM_NAME_NULL_PUBLIC_KEY_TOKEN,
130 ASM_NAME_CUSTOM,
131 ASM_NAME_NULL_CUSTOM,
132 ASM_NAME_MVID,
133 ASM_NAME_MAX_PARAMS
134 } ASM_NAME;
136 typedef [public] enum
138 ASM_DISPLAYF_VERSION = 0x1,
139 ASM_DISPLAYF_CULTURE = 0x2,
140 ASM_DISPLAYF_PUBLIC_KEY_TOKEN = 0x4,
141 ASM_DISPLAYF_PUBLIC_KEY = 0x8,
142 ASM_DISPLAYF_CUSTOM = 0x10,
143 ASM_DISPLAYF_PROCESSORARCHITECTURE = 0x20,
144 ASM_DISPLAYF_LANGUAGEID = 0x40
145 } ASM_DISPLAY_FLAGS;
147 HRESULT SetProperty(
148 [in] DWORD id,
149 [in] LPVOID property,
150 [in] DWORD size);
152 HRESULT GetProperty(
153 [in] DWORD id,
154 [out] LPVOID buffer,
155 [in][out] LPDWORD buflen);
157 HRESULT Finalize();
159 HRESULT GetDisplayName(
160 [out] LPWSTR buffer,
161 [in][out] LPDWORD buflen,
162 [in] DWORD flags);
164 HRESULT Reserved(
165 [in] REFIID riid,
166 [in] IUnknown *pUnkReserved1,
167 [in] IUnknown *pUnkReserved2,
168 [in] LPCOLESTR szReserved,
169 [in] LONGLONG llReserved,
170 [in] LPVOID pvReserved,
171 [in] DWORD cbReserved,
172 [out] LPVOID *ppReserved);
174 HRESULT GetName(
175 [in][out] LPDWORD buflen,
176 [out] LPWSTR buffer);
178 HRESULT GetVersion(
179 [out] LPDWORD hi,
180 [out] LPDWORD low);
182 HRESULT IsEqual(
183 [in] IAssemblyName *name,
184 [in] DWORD flags);
186 HRESULT Clone(
187 [out] IAssemblyName **name);
190 typedef [unique] IAssemblyName *LPASSEMBLYNAME;
191 typedef [public] enum
193 CANOF_PARSE_DISPLAY_NAME = 0x1,
194 CANOF_SET_DEFAULT_VALUES = 0x2
195 } CREATE_ASM_NAME_OBJ_FLAGS;
197 cpp_quote("HRESULT WINAPI CreateAssemblyCache(IAssemblyCache**,DWORD);")
198 cpp_quote("HRESULT WINAPI CreateAssemblyNameObject(LPASSEMBLYNAME *,LPCWSTR,DWORD,LPVOID);")