d3drm: Add some definitions for IDirect3DRMMeshBuilderImpl_Load.
[wine] / include / mscoree.idl
1 /*
2  * Copyright (C) 2007 Francois Gouget
3  * Copyright (C) 2008 Alistair Leslie-Hughes
4  *
5  * This library is free software; you can redistribute it and/or
6  * modify it under the terms of the GNU Lesser General Public
7  * License as published by the Free Software Foundation; either
8  * version 2.1 of the License, or (at your option) any later version.
9  *
10  * This library is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
13  * Lesser General Public License for more details.
14  *
15  * You should have received a copy of the GNU Lesser General Public
16  * License along with this library; if not, write to the Free Software
17  * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
18  */
19
20 import "unknwn.idl";
21 cpp_quote("/* FIXME: #include <gcghost.h> */")
22 cpp_quote("/* FIXME: #include <ivalidator.h> */")
23
24 cpp_quote("HRESULT     WINAPI CorBindToRuntimeHost(LPCWSTR,LPCWSTR,LPCWSTR,VOID*,DWORD,REFCLSID,REFIID,LPVOID*);")
25 cpp_quote("void        WINAPI CorExitProcess(int);")
26 cpp_quote("HRESULT     WINAPI GetCORSystemDirectory(LPWSTR,DWORD,DWORD*);")
27 cpp_quote("HRESULT     WINAPI GetCORVersion(LPWSTR,DWORD,DWORD*);")
28 cpp_quote("HRESULT     WINAPI GetRequestedRuntimeInfo(LPCWSTR,LPCWSTR,LPCWSTR,DWORD,DWORD,LPWSTR,DWORD,DWORD*,LPWSTR,DWORD,DWORD*);")
29 cpp_quote("HRESULT     WINAPI LoadLibraryShim(LPCWSTR,LPCWSTR,LPVOID,HMODULE*);")
30 cpp_quote("#ifdef WINE_STRICT_PROTOTYPES")
31 cpp_quote("typedef HRESULT (__stdcall *FLockClrVersionCallback)(void);")
32 cpp_quote("#else")
33 cpp_quote("typedef HRESULT (__stdcall *FLockClrVersionCallback)();")
34 cpp_quote("#endif")
35 cpp_quote("HRESULT     WINAPI LockClrVersion(FLockClrVersionCallback,FLockClrVersionCallback*,FLockClrVersionCallback*);")
36
37 typedef void* HDOMAINENUM;
38
39 [
40     uuid(F31D1788-C397-4725-87A5-6AF3472C2791),
41     version(1.0),
42     object,
43     local
44 ]
45 interface IGCThreadControl : IUnknown
46 {
47     HRESULT ThreadIsBlockingForSuspension();
48
49     HRESULT SuspensionStarting();
50
51     HRESULT SuspensionEnding(DWORD generation);
52 }
53
54 [
55     uuid(5513D564-8374-4cb9-AED9-0083F4160A1D),
56     version(1.1),
57     local,
58     object
59 ]
60 interface IGCHostControl : IUnknown
61 {
62     HRESULT RequestVirtualMemLimit([in] SIZE_T nMaxVirtualMemMB,
63                                    [in, out] SIZE_T* nNewMaxVirtualMemMB);
64 }
65
66 [
67     uuid(23D86786-0BB5-4774-8FB5-E3522ADD6246),
68     version(1.0),
69     local,
70     object
71 ]
72 interface IDebuggerThreadControl : IUnknown
73 {
74     HRESULT ThreadIsBlockingForDebugger();
75
76     HRESULT ReleaseAllRuntimeThreads();
77
78     HRESULT StartBlockingForDebugger(DWORD dwUnused);
79 }
80
81 [
82     uuid(5C2B07A5-1E98-11d3-872F-00C04F79ED0D),
83     version(1.0),
84     local,
85     object
86 ]
87 interface ICorConfiguration : IUnknown
88 {
89     HRESULT SetGCThreadControl([in] IGCThreadControl* GCThreadControl);
90
91     HRESULT SetGCHostControl([in] IGCHostControl* GCHostControl);
92
93     HRESULT SetDebuggerThreadControl([in] IDebuggerThreadControl* debuggerThreadControl);
94
95     HRESULT AddDebuggerSpecialThread([in] DWORD specialThreadId);
96 }
97
98 [
99     uuid(9065597E-D1A1-4fb2-B6BA-7E1FCE230F61),
100     version(1.0),
101     local
102 ]
103 interface ICLRControl : IUnknown
104 {
105     HRESULT GetCLRManager([in] REFIID riid, [out] void **ppObject);
106
107         HRESULT SetAppDomainManagerType([in] LPCWSTR appDomainManagerAssembly,
108                           [in] LPCWSTR appDomainManagerType);
109 }
110
111 [
112     uuid(02CA073C-7079-4860-880A-C2F7A449C991),
113     version(1.0),
114     local
115 ]
116 interface IHostControl : IUnknown
117 {
118     HRESULT GetHostManager( [in] REFIID riid, [out] void **ppObject);
119
120     HRESULT SetAppDomainManager([in] DWORD appDomainID,
121                             [in] IUnknown* appDomainManager);
122 }
123
124 [
125     uuid(CB2F6722-AB3A-11d2-9C40-00C04FA30A3E),
126     version(1.0),
127     local,
128     object
129 ]
130 interface ICorRuntimeHost : IUnknown
131 {
132     HRESULT CreateLogicalThreadState();
133     HRESULT DeleteLogicalThreadState();
134     HRESULT SwitchInLogicalThreadState([in] DWORD *fiberCookie);
135
136     HRESULT SwitchOutLogicalThreadState([out] DWORD **fiberCookie);
137
138     HRESULT LocksHeldByLogicalThread( [out] DWORD *pCount );
139
140     HRESULT MapFile([in] HANDLE hFile, [out] HMODULE* mapAddress);
141
142     HRESULT GetConfiguration([out] ICorConfiguration** pConfiguration);
143
144     HRESULT Start();
145
146     HRESULT Stop();
147
148     HRESULT CreateDomain([in] LPCWSTR friendlyName,
149                          [in] IUnknown* identityArray,
150                          [out] IUnknown** appDomain);
151
152     HRESULT GetDefaultDomain([out] IUnknown** pAppDomain);
153
154     HRESULT EnumDomains([out] HDOMAINENUM *hEnum);
155
156     HRESULT NextDomain([in] HDOMAINENUM hEnum, [out] IUnknown** appDomain);
157
158     HRESULT CloseEnum([in] HDOMAINENUM hEnum);
159
160     HRESULT CreateDomainEx([in] LPCWSTR friendlyName,
161                            [in] IUnknown* setup,
162                            [in] IUnknown* evidence,
163                            [out] IUnknown** appDomain);
164
165     HRESULT CreateDomainSetup([out] IUnknown** appDomainSetup);
166
167     HRESULT CreateEvidence([out] IUnknown** evidence);
168
169     HRESULT UnloadDomain([in] IUnknown* appDomain);
170
171     HRESULT CurrentDomain([out] IUnknown** appDomain);
172 };