2 * Copyright (c) 2016 Samsung Electronics Co., Ltd All Rights Reserved
4 * Licensed under the Apache License, Version 2.0 (the License);
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
8 * http://www.apache.org/licenses/LICENSE-2.0
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an AS IS BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
17 #ifndef __CORECLR_HOST_H__
18 #define __CORECLR_HOST_H__
22 typedef int (*coreclr_initialize_ptr)(
24 const char* appDomainFriendlyName,
26 const char** propertyKeys,
27 const char** propertyValues,
29 unsigned int* domainId);
31 typedef int (*coreclr_execute_assembly_ptr)(
33 unsigned int domainId,
36 const char* managedAssemblyPath,
37 unsigned int* exitCode);
39 typedef int (*coreclr_shutdown_ptr)(
41 unsigned int domainId);
43 typedef int (*coreclr_create_delegate_ptr)(
45 unsigned int domainId,
46 const char* entryPointAssemblyName,
47 const char* entryPointTypeName,
48 const char* entryPointMethodName,
51 typedef bool (*set_environment_variable_ptr)(const char* name,
54 typedef int (*multi_byte_to_wide_char_ptr)(
55 unsigned int CodePage,
57 const char * lpMultiByteStr,
59 char16_t * lpWideCharStr,
63 #endif /* __CORECLR_HOST_H__ */