2 * coree.h: mscoree.dll functions
5 * Kornel Pal <http://www.kornelpal.hu/>
7 * Copyright (C) 2008 Kornel Pal
10 #ifndef __MONO_COREE_H__
11 #define __MONO_COREE_H__
17 #include <mono/io-layer/io-layer.h>
20 #define STATUS_SUCCESS 0x00000000L
21 #define STATUS_INVALID_IMAGE_FORMAT 0xC000007BL
23 STDAPI MonoFixupCorEE(HMODULE ModuleHandle);
24 STDAPI MonoFixupExe(HMODULE ModuleHandle);
26 extern HMODULE mono_module_handle MONO_INTERNAL;
27 extern HMODULE coree_module_handle MONO_INTERNAL;
29 gchar* mono_get_module_file_name (HMODULE module_handle) MONO_INTERNAL;
30 void mono_load_coree (const char* file_name) MONO_INTERNAL;
31 void mono_fixup_exe_image (MonoImage* image) MONO_INTERNAL;
33 /* Declared in image.c. */
34 MonoImage* mono_image_open_from_module_handle (HMODULE module_handle, char* fname, int ref_count, MonoImageOpenStatus* status) MONO_INTERNAL;
36 #endif /* PLATFORM_WIN32 */
38 #endif /* __MONO_COREE_H__ */