Sync with trunk (r48042), except win32k/ntuser/cursoricon.c
[reactos.git] / dll / win32 / mscoree / mscoree_private.h
1 /*
2 *
3 * Copyright 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 #ifndef __MSCOREE_PRIVATE__
21 #define __MSCOREE_PRIVATE__
22
23 extern IUnknown* create_corruntimehost(void);
24
25 /* Mono 2.6 embedding */
26 typedef struct _MonoDomain MonoDomain;
27 typedef struct _MonoAssembly MonoAssembly;
28
29 extern HMODULE mono_handle;
30
31 extern void (*mono_config_parse)(const char *filename);
32 extern MonoAssembly* (*mono_domain_assembly_open) (MonoDomain *domain, const char *name);
33 extern void (*mono_jit_cleanup)(MonoDomain *domain);
34 extern int (*mono_jit_exec)(MonoDomain *domain, MonoAssembly *assembly, int argc, char *argv[]);
35 extern MonoDomain* (*mono_jit_init)(const char *file);
36 extern int (*mono_jit_set_trace_options)(const char* options);
37 extern void (*mono_set_dirs)(const char *assembly_dir, const char *config_dir);
38
39 #endif /* __MSCOREE_PRIVATE__ */