ReactOS  0.4.14-dev-554-g2f8d847
winsxs.idl
Go to the documentation of this file.
1 /*
2  * Copyright 2010 Hans Leidekker for CodeWeavers
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 import "objidl.idl";
20 import "oleidl.idl";
21 
22 interface IAssemblyCache;
23 interface IAssemblyCacheItem;
24 interface IAssemblyName;
25 
27 {
34 
35 typedef struct _ASSEMBLY_INFO
36 {
43 
45 
46 [
47  object,
48  uuid(e707dcde-d1cd-11d2-bab9-00c04f8eceae),
50  local
51 ]
52 interface IAssemblyCache : IUnknown
53 {
55  [in] DWORD flags,
56  [in] LPCWSTR name,
58  [out, optional] ULONG *disp);
59 
61  [in] DWORD flags,
62  [in] LPCWSTR name,
63  [in, out] ASSEMBLY_INFO *info);
64 
66  [in] DWORD flags,
67  [in] PVOID reserved,
69  [in, optional] LPCWSTR name);
70 
72  [out] IUnknown **reserved);
73 
75  [in] DWORD flags,
76  [in] LPCWSTR path,
78 }
79 
80 [
81  object,
82  uuid(9e3aaeb4-d1cd-11d2-bab9-00c04f8eceae),
84  local
85 ]
86 interface IAssemblyCacheItem : IUnknown
87 {
89  [in] DWORD flags,
90  [in] LPCWSTR name,
91  [in] DWORD format,
92  [in] DWORD format_flags,
93  [out] IStream **stream,
95 
97  [in] DWORD flags,
98  [out, optional] ULONG *disp);
99 
100  HRESULT AbortItem();
101 }
102 
103 [
104  object,
105  uuid(cd193bc0-b4bc-11D2-9833-00c04fc31d2e),
107  local
108 ]
110 {
111  typedef [public] enum
112  {
134  } ASM_NAME;
135 
136  typedef [public] enum
137  {
146 
148  [in] DWORD id,
149  [in] LPVOID property,
150  [in] DWORD size);
151 
153  [in] DWORD id,
154  [out] LPVOID buffer,
155  [in][out] LPDWORD buflen);
156 
157  HRESULT Finalize();
158 
160  [out] LPWSTR buffer,
161  [in][out] LPDWORD buflen,
162  [in] DWORD flags);
163 
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);
173 
175  [in][out] LPDWORD buflen,
176  [out] LPWSTR buffer);
177 
179  [out] LPDWORD hi,
180  [out] LPDWORD low);
181 
183  [in] IAssemblyName *name,
184  [in] DWORD flags);
185 
186  HRESULT Clone(
187  [out] IAssemblyName **name);
188 }
189 
190 typedef [unique] IAssemblyName *LPASSEMBLYNAME;
191 typedef [public] enum
192 {
196 
197 cpp_quote("HRESULT WINAPI CreateAssemblyCache(IAssemblyCache**,DWORD);")
disp
Definition: i386-dis.c:3181
HRESULT GetProperty([in] DWORD PropertyId, [out] LPVOID pvProperty, [in, out] LPDWORD pcbProperty)
#define REFIID
Definition: guiddef.h:118
HRESULT CreateAssemblyCacheItem([in] DWORD dwFlags, [in] PVOID pvReserved, [out] IAssemblyCacheItem **ppAsmItem, [in, optional] LPCWSTR pszAssemblyName)
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
REFIID riid
Definition: precomp.h:44
HRESULT SetProperty([in] DWORD PropertyId, [in] LPVOID pvProperty, [in] DWORD cbProperty)
HRESULT GetName([in, out] LPDWORD lpcwBuffer, [out] WCHAR *pwzName)
ULONG cchBuf
Definition: winsxs.idl:41
GLuint buffer
Definition: glext.h:5915
DWORD dwAssemblyFlags
Definition: winsxs.idl:38
Definition: send.c:47
coclass AMMultiMediaStream cpp_quote("DEFINE_GUID(CLSID_AMDirectDrawStream, 0x49c47ce4, 0x9ba4, 0x11d0, 0x82, 0x12, 0x00, 0xc0, 0x4f, 0xc3, 0x2c, 0x45);") cpp_quote("DEFINE_GUID(CLSID_AMAudioStream
GLint GLint GLsizei GLsizei GLsizei GLint GLenum format
Definition: gl.h:1546
HRESULT Finalize()
HRESULT IsEqual([in] IAssemblyName *pName, [in] DWORD dwCmpFlags)
HRESULT Commit([in] DWORD dwFlags, [out, optional] ULONG *pulDisposition)
IASSEMBLYCACHEITEM_COMMIT_DISPOSITION_ALREADY_INSTALLED HRESULT CreateStream([in] DWORD dwFlags, [in] LPCWSTR pszStreamName, [in] DWORD dwFormat, [in] DWORD dwFormatFlags, [out] IStream **ppIStream, [in, optional] ULARGE_INTEGER *puliMaxSize)
r reserved
Definition: btrfs.c:2865
static INT max_size
Definition: history.c:51
struct _ASSEMBLY_INFO ASSEMBLY_INFO
Definition: msg.h:41
struct _FUSION_INSTALL_REFERENCE_ FUSION_INSTALL_REFERENCE
int64_t LONGLONG
Definition: typedefs.h:66
GLsizeiptr size
Definition: glext.h:5919
CREATE_ASM_NAME_OBJ_FLAGS
Definition: winsxs.idl:191
LONG HRESULT
Definition: typedefs.h:77
static LPCSTR DWORD void * pvReserved
Definition: str.c:196
#define WINAPI
Definition: msvc.h:8
static FILE * out
Definition: regtests2xml.c:44
HRESULT InstallAssembly([in] DWORD dwFlags, [in] LPCWSTR pszManifestFilePath, [in] LPCFUSION_INSTALL_REFERENCE pRefData)
HRESULT Reserved([in] REFIID refIID, [in] IUnknown *pUnkReserved1, [in] IUnknown *pUnkReserved2, [in] LPCOLESTR szReserved, [in] LONGLONG llReserved, [in] LPVOID pvReserved, [in] DWORD cbReserved, [out] LPVOID *ppReserved)
unsigned long DWORD
Definition: ntddk_ex.h:95
GLbitfield flags
Definition: glext.h:7161
ULARGE_INTEGER uliAssemblySizeInKB
Definition: winsxs.idl:39
Definition: parse.h:22
HRESULT Reserved([out] IUnknown **reserved)
ULONG cbAssemblyInfo
Definition: winsxs.idl:37
#define local
Definition: zutil.h:30
struct _FUSION_INSTALL_REFERENCE_ * LPFUSION_INSTALL_REFERENCE
ASSEMBLYINFO_FLAG_PAYLOADRESIDENT HRESULT UninstallAssembly([in] DWORD dwFlags, [in] LPCWSTR pszAssemblyName, [in] LPCFUSION_INSTALL_REFERENCE pRefData, [out, optional] ULONG *pulDisposition)
static ATOM item
Definition: dde.c:856
GLuint in
Definition: glext.h:9616
static unsigned char pointer_default
Definition: parser.tab.c:114
const struct _FUSION_INSTALL_REFERENCE_ * LPCFUSION_INSTALL_REFERENCE
Definition: winsxs.idl:44
Definition: name.c:38
uint32_t * LPDWORD
Definition: typedefs.h:57
_ForwardIter unique(_ForwardIter __first, _ForwardIter __last)
Definition: _algo.h:298
unsigned int ULONG
Definition: retypes.h:1
LPWSTR pszCurrentAssemblyPathBuf
Definition: winsxs.idl:40
HRESULT GetDisplayName([out] LPOLESTR szDisplayName, [in, out] LPDWORD pccDisplayName, [in] DWORD dwDisplayFlags)
HRESULT GetVersion([out] LPDWORD pdwVersionHi, [out] LPDWORD pdwVersionLow)
HRESULT QueryAssemblyInfo([in] DWORD dwFlags, [in] LPCWSTR pszAssemblyName, [in, out] ASSEMBLY_INFO *pAsmInfo)
WCHAR * LPWSTR
Definition: xmlstorage.h:184
void * object
Definition: jmemsys.h:48
HRESULT Clone([out] IAssemblyName **pName)
HRESULT WINAPI CreateAssemblyNameObject(LPASSEMBLYNAME *, LPCWSTR, DWORD, LPVOID)
Definition: name.c:368