ReactOS  0.4.14-dev-114-gc8cbd56
metahost.idl
Go to the documentation of this file.
1 /*
2  * Copyright 2010 Vincent Povirk 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 "unknwn.idl";
20 import "oaidl.idl";
21 import "ocidl.idl";
22 import "mscoree.idl";
23 
24 cpp_quote("#ifdef WINE_NO_UNICODE_MACROS")
25 cpp_quote("#undef LoadLibrary")
26 cpp_quote("#endif")
27 
28 [
29  object,
30  local,
31  uuid(bd39d1d2-ba2f-486a-89b0-b4b0cb466891)
32 ]
34 {
36  [out, size_is(*pcchBuffer)] LPWSTR pwzBuffer,
37  [in, out] DWORD *pcchBuffer);
38 
40  [out, size_is(*pcchBuffer)] LPWSTR pwzBuffer,
41  [in, out] DWORD *pcchBuffer);
42 
44  [in] HANDLE hndProcess,
45  [out, retval] BOOL *pbLoaded);
46 
48  [in] UINT iResourceID,
49  [out, size_is(*pcchBuffer)] LPWSTR pwzBuffer,
50  [in, out] DWORD *pcchBuffer,
51  [in] LONG iLocaleid);
52 
54  [in] LPCWSTR pwzDllName,
55  [out, retval] HMODULE *phndModule);
56 
58  [in] LPCSTR pszProcName,
59  [out, retval] LPVOID *ppProc);
60 
62  [in] REFCLSID rclsid,
63  [in] REFIID riid,
64  [out, iid_is(riid), retval] LPVOID *ppUnk);
65 
67  [out, retval] BOOL *pbLoadable);
68 
70  [in] DWORD dwStartupFlags,
71  [in] LPCWSTR pwzHostConfigFile);
72 
74  [out] DWORD *pdwStartupFlags,
75  [out, size_is(*pcchHostConfigFile)] LPWSTR pwzHostConfigFile,
76  [in, out] DWORD *pcchHostConfigFile);
77 
79 
81  [out] BOOL *pbStarted,
82  [out] DWORD *pdwStartupFlags);
83 };
84 
85 typedef HRESULT (__stdcall *CallbackThreadSetFnPtr)();
87 
89  ICLRRuntimeInfo *pRuntimeInfo,
90  CallbackThreadSetFnPtr pfnCallbackThreadSet,
91  CallbackThreadUnsetFnPtr pfnCallbackThreadUnset);
92 
93 cpp_quote("DEFINE_GUID(CLSID_CLRDebuggingLegacy, 0xDF8395B5,0xA4BA,0x450b,0xA7,0x7C,0xA9,0xA4,0x77,0x62,0xC5,0x20);")
94 cpp_quote("DEFINE_GUID(CLSID_CLRMetaHost, 0x9280188d,0x0e8e,0x4867,0xb3,0x0c,0x7f,0xa8,0x38,0x84,0xe8,0xde);")
95 
96 [
97  object,
98  local,
99  uuid(d332db9e-b9b3-4125-8207-a14884f53216)
100 ]
102 {
103  HRESULT GetRuntime(
104  [in] LPCWSTR pwzVersion,
105  [in] REFIID iid,
106  [out, iid_is(iid), retval] LPVOID *ppRuntime);
107 
109  [in] LPCWSTR pwzFilePath,
110  [out, size_is(*pcchBuffer)] LPWSTR pwzBuffer,
111  [in, out] DWORD *pcchBuffer);
112 
113  HRESULT EnumerateInstalledRuntimes(
114  [out, retval] IEnumUnknown **ppEnumerator);
115 
116  HRESULT EnumerateLoadedRuntimes(
117  [in] HANDLE hndProcess,
118  [out, retval] IEnumUnknown **ppEnumerator);
119 
120  HRESULT RequestRuntimeLoadedNotification(
121  [in] RuntimeLoadedCallbackFnPtr pCallbackFunction);
122 
123  HRESULT QueryLegacyV2RuntimeBinding(
124  [in] REFIID riid,
125  [out, iid_is(riid), retval] LPVOID *ppUnk);
126 
128  [in] INT32 iExitCode);
129 };
130 
131 cpp_quote("HRESULT WINAPI CLRCreateInstance(REFCLSID clsid, REFIID riid, LPVOID *ppInterface);")
#define REFIID
Definition: guiddef.h:118
struct png_info_def **typedef void(__cdecl typeof(png_destroy_read_struct))(struct png_struct_def **
Definition: typeof.h:49
const WCHAR * LPCWSTR
Definition: xmlstorage.h:185
REFIID riid
Definition: precomp.h:44
#define REFCLSID
Definition: guiddef.h:117
HRESULT IsStarted([out] BOOL *pbStarted, [out] DWORD *pdwStartupFlags)
VOID WINAPI ExitProcess(IN UINT uExitCode)
Definition: proc.c:1487
DEFINE_GUID(CLSID_CLRDebuggingLegacy, 0xDF8395B5, 0xA4BA, 0x450b, 0xA7, 0x7C, 0xA9, 0xA4, 0x77, 0x62, 0xC5, 0x20)
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
HRESULT GetInterface([in] REFCLSID rclsid, [in] REFIID riid, [out, iid_is(riid), retval] LPVOID *ppUnk)
HRESULT(__stdcall * CallbackThreadUnsetFnPtr)()
Definition: metahost.idl:86
HRESULT LoadErrorString([in] UINT iResourceID, [out, size_is(*pcchBuffer)] LPWSTR pwzBuffer, [in, out] DWORD *pcchBuffer, [in] LONG iLocaleid)
unsigned int BOOL
Definition: ntddk_ex.h:94
long LONG
Definition: pedump.c:60
HRESULT LoadLibrary([in] LPCWSTR pwzDllName, [out, retval] HMODULE *phndModule)
const char * LPCSTR
Definition: xmlstorage.h:183
HRESULT GetDefaultStartupFlags([out] DWORD *pdwStartupFlags, [out, size_is(*pcchHostConfigFile)] LPWSTR pwzHostConfigFile, [in, out] DWORD *pcchHostConfigFile)
HRESULT IsLoaded([in] HANDLE hndProcess, [out, retval] BOOL *pbLoaded)
HRESULT IsLoadable([out, retval] BOOL *pbLoadable)
LONG HRESULT
Definition: typedefs.h:77
void(__stdcall * RuntimeLoadedCallbackFnPtr)(ICLRRuntimeInfo *pRuntimeInfo, CallbackThreadSetFnPtr pfnCallbackThreadSet, CallbackThreadUnsetFnPtr pfnCallbackThreadUnset)
Definition: metahost.idl:88
static FILE * out
Definition: regtests2xml.c:44
unsigned long DWORD
Definition: ntddk_ex.h:95
HRESULT SetDefaultStartupFlags([in] DWORD dwStartupFlags, [in] LPCWSTR pwzHostConfigFile)
#define __stdcall
Definition: typedefs.h:25
HRESULT GetProcAddress([in] LPCSTR pszProcName, [out, retval] LPVOID *ppProc)
#define interface
Definition: basetyps.h:61
#define local
Definition: zutil.h:30
GLuint in
Definition: glext.h:9616
HRESULT BindAsLegacyV2Runtime()
unsigned int UINT
Definition: ndis.h:50
HRESULT GetVersionString([out, size_is(*pcchBuffer)] LPWSTR pwzBuffer, [in, out] DWORD *pcchBuffer)
Definition: msctf.idl:510
signed int INT32
HRESULT GetRuntimeDirectory([out, size_is(*pcchBuffer)] LPWSTR pwzBuffer, [in, out] DWORD *pcchBuffer)
GLboolean GLboolean GLboolean GLboolean a
Definition: glext.h:6204
WCHAR * LPWSTR
Definition: xmlstorage.h:184
void * object
Definition: jmemsys.h:48
typedef HRESULT(__stdcall *CallbackThreadSetFnPtr)()
#define GetVersionFromFile
Definition: advpub.h:226