ReactOS  0.4.15-dev-985-gd905dd5
cor.idl
Go to the documentation of this file.
1 /*
2  * Copyright (C) 2007 Francois Gouget
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 "propidl.idl";
20 
21 cpp_quote("#include <ole2.h>")
22 /* FIXME: #include "specstrings.h" */
23 cpp_quote("#include <corerror.h>")
24 cpp_quote("#include <corhdr.h>")
25 
26 cpp_quote("DEFINE_GUID(CLSID_CorMetaDataDispenser, 0xe5cb7a31,0x7512,0x11d2,0x89,0xce,0x00,0x80,0xc7,0x92,0xe5,0xd8);")
27 cpp_quote("DEFINE_GUID(CLSID_CorMetaDataDispenserRuntime, 0x1ec2de53,0x75cc,0x11d2,0x97,0x75,0x00,0xa0,0xc9,0xb4,0xd5,0x0c);")
28 
29 [
30  object,
31  local,
32  uuid(809c652e-7396-11d2-9771-00a0c9b4d50c)
33 ]
35 {
36  HRESULT DefineScope(
37  [in] REFCLSID rclsid,
38  [in] DWORD dwCreateFlags,
39  [in] REFIID riid,
40  [out] IUnknown **ppIUnk);
41 
42  HRESULT OpenScope(
43  [in] LPCWSTR szScope,
44  [in] DWORD dwOpenFlags,
45  [in] REFIID riid,
46  [out] IUnknown **ppIUnk);
47 
48  HRESULT OpenScopeOnMemory(
49  [in] const void *pData,
50  [in] ULONG cbData,
51  [in] DWORD dwOpenFlags,
52  [in] REFIID riid,
53  [out] IUnknown **ppIUnk);
54 }
55 
56 [
57  object,
58  local,
59  uuid(31bcfce2-dafb-11d2-9f81-00c04f79a0a3)
60 ]
62 {
64  [in] REFGUID optionid,
65  [in] const VARIANT *value);
66 
68  [in] REFGUID optionid,
69  [out] VARIANT *pvalue);
70 
72  [in] ITypeInfo *pITI,
73  [in] DWORD dwOpenFlags,
74  [in] REFIID riid,
75  [out] IUnknown **ppIUnk);
76 
78  [out, size_is(cchBuffer)] LPWSTR szBuffer,
79  [in] DWORD cchBuffer,
80  [out] DWORD *pchBuffer);
81 
83  [in] LPCWSTR szAppBase,
84  [in] LPCWSTR szPrivateBin,
85  [in] LPCWSTR szGlobalBin,
87  [out, size_is(cchName)] LPWSTR szName,
88  [in] ULONG cchName,
89  [out] ULONG *pcName);
90 
92  [in] LPCWSTR szAppBase,
93  [in] LPCWSTR szPrivateBin,
94  [in] LPCWSTR szGlobalBin,
97  [out, size_is(cchName)] LPWSTR szName,
98  [in] ULONG cchName,
99  [out] ULONG *pcName);
100 }
101 
102 cpp_quote("BOOL WINAPI _CorDllMain(HINSTANCE,DWORD,LPVOID);")
108 cpp_quote("void WINAPI CoUninitializeCor(void);")
#define REFIID
Definition: guiddef.h:118
Definition: scsiwmi.h:51
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
REFIID riid
Definition: precomp.h:44
#define REFCLSID
Definition: guiddef.h:117
HRESULT FindAssemblyModule([in] LPCWSTR szAppBase, [in] LPCWSTR szPrivateBin, [in] LPCWSTR szGlobalBin, [in] LPCWSTR szAssemblyName, [in] LPCWSTR szModuleName, [out, size_is(cchName)] LPWSTR szName, [in] ULONG cchName, [out] ULONG *pcName)
DEFINE_GUID(CLSID_CorMetaDataDispenser, 0xe5cb7a31, 0x7512, 0x11d2, 0x89, 0xce, 0x00, 0x80, 0xc7, 0x92, 0xe5, 0xd8)
VOID WINAPI _CorImageUnloading(PVOID)
Definition: mscoree_main.c:229
HRESULT SetOption([in] REFGUID optionid, [in] const VARIANT *value)
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
void WINAPI CoUninitializeCor(void)
_In_ PSID _Out_writes_to_opt_ cchName LPSTR _Inout_ LPDWORD cchName
Definition: winbase.h:2729
static DWORD cchBuffer
Definition: fusion.c:85
__int32 WINAPI _CorExeMain(void)
LONG HRESULT
Definition: typedefs.h:79
HRESULT GetCORSystemDirectory([out, size_is(cchBuffer)] LPWSTR szBuffer, [in] DWORD cchBuffer, [out] DWORD *pchBuffer)
#define WINAPI
Definition: msvc.h:6
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT OpenScopeOnITypeInfo([in] ITypeInfo *pITI, [in] DWORD dwOpenFlags, [in] REFIID riid, [out] IUnknown **ppIUnk)
static LPCWSTR szAssemblyName
Definition: asmenum.c:37
#define interface
Definition: basetyps.h:61
#define local
Definition: zutil.h:30
__int32 WINAPI _CorExeMain2(PBYTE, DWORD, LPWSTR, LPWSTR, LPWSTR)
Definition: mscoree_main.c:215
GLuint in
Definition: glext.h:9616
#define __int32
Definition: basetyps.h:19
HRESULT WINAPI CoInitializeCor(DWORD)
Definition: mscoree_main.c:397
static const WCHAR szName[]
Definition: msipriv.h:1194
HRESULT FindAssembly([in] LPCWSTR szAppBase, [in] LPCWSTR szPrivateBin, [in] LPCWSTR szGlobalBin, [in] LPCWSTR szAssemblyName, [out, size_is(cchName)] LPWSTR szName, [in] ULONG cchName, [out] ULONG *pcName)
Definition: msctf.idl:510
unsigned int ULONG
Definition: retypes.h:1
LPCWSTR LPCWSTR szModuleName
Definition: env.c:35
WCHAR * LPWSTR
Definition: xmlstorage.h:184
TW_UINT32 TW_UINT16 TW_UINT16 TW_MEMREF pData
Definition: twain.h:1827
BYTE * PBYTE
Definition: pedump.c:66
void * object
Definition: jmemsys.h:48
HRESULT WINAPI _CorValidateImage(PVOID *, LPCWSTR)
Definition: mscoree_main.c:234
HRESULT GetOption([in] REFGUID optionid, [out] VARIANT *pvalue)