7420bc37dc0c778c8feebec8b19870ce1766cca4
[mono.git] / mono / metadata / coree.h
1 /*
2  * coree.h: mscoree.dll functions
3  *
4  * Author:
5  *   Kornel Pal <http://www.kornelpal.hu/>
6  *
7  * Copyright (C) 2008 Kornel Pal
8  */
9
10 #ifndef __MONO_COREE_H__
11 #define __MONO_COREE_H__
12
13 #include <config.h>
14
15 #ifdef PLATFORM_WIN32
16
17 #include <mono/io-layer/io-layer.h>
18 #include "image.h"
19
20 STDAPI MonoFixupCorEE(HMODULE ModuleHandle);
21 STDAPI MonoFixupExe(HMODULE ModuleHandle);
22
23 extern HMODULE mono_module_handle;
24 extern HMODULE coree_module_handle;
25
26 gchar* mono_get_module_file_name (HMODULE module_handle);
27 void mono_load_coree ();
28 void mono_fixup_exe_image (MonoImage* image);
29
30 /* Declared in image.c. */
31 MonoImage* mono_image_open_from_module_handle (HMODULE module_handle, const char* fname, MonoImageOpenStatus* status);
32
33 #endif /* PLATFORM_WIN32 */
34
35 #endif /* __MONO_COREE_H__ */