[Mono.Runtime.Tests] Exclude simd tests
[mono-project.git] / mono / metadata / coree.h
blobc4cd166edf96190cb3b379e8bdf37fff800028fb
1 /**
2 * \file
3 * mscoree.dll functions
5 * Author:
6 * Kornel Pal <http://www.kornelpal.hu/>
8 * Copyright (C) 2008 Kornel Pal
9 * Licensed under the MIT license. See LICENSE file in the project root for full license information.
12 #ifndef __MONO_COREE_H__
13 #define __MONO_COREE_H__
15 #include <config.h>
16 #include <glib.h>
18 #ifdef HOST_WIN32
20 #include <mono/utils/mono-compiler.h>
21 #include <mono/utils/w32api.h>
22 #include "image.h"
24 #define STATUS_SUCCESS 0x00000000L
25 #define STATUS_INVALID_IMAGE_FORMAT 0xC000007BL
27 MONO_API HRESULT STDAPICALLTYPE MonoFixupCorEE(HMODULE ModuleHandle);
29 /* Defined by the linker. */
30 #ifndef _MSC_VER
31 #ifdef __MINGW64_VERSION_MAJOR
32 #define __ImageBase __MINGW_LSYMBOL(_image_base__)
33 #else
34 #define __ImageBase _image_base__
35 #endif
36 #endif
37 G_BEGIN_DECLS extern IMAGE_DOS_HEADER __ImageBase; G_END_DECLS
38 extern HMODULE coree_module_handle;
40 HMODULE WINAPI MonoLoadImage(LPCWSTR FileName);
41 STDAPI MonoFixupExe(HMODULE ModuleHandle);
43 gchar* mono_get_module_file_name (HMODULE module_handle);
44 void mono_load_coree (const char* file_name);
45 void mono_fixup_exe_image (MonoImage* image);
47 /* Declared in image.c. */
48 MonoImage* mono_image_open_from_module_handle (HMODULE module_handle, char* fname, gboolean has_entry_point, MonoImageOpenStatus* status);
50 #endif /* HOST_WIN32 */
52 #endif /* __MONO_COREE_H__ */