aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Bal/dnchost/dncutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Bal/dnchost/dncutil.h')
-rw-r--r--src/ext/Bal/dnchost/dncutil.h29
1 files changed, 0 insertions, 29 deletions
diff --git a/src/ext/Bal/dnchost/dncutil.h b/src/ext/Bal/dnchost/dncutil.h
deleted file mode 100644
index 3fa81364..00000000
--- a/src/ext/Bal/dnchost/dncutil.h
+++ /dev/null
@@ -1,29 +0,0 @@
1#pragma once
2// Copyright (c) .NET Foundation and contributors. All rights reserved. Licensed under the Microsoft Reciprocal License. See LICENSE.TXT file in the project root for full license information.
3
4typedef IBootstrapperApplicationFactory* (STDMETHODCALLTYPE* PFNCREATEBAFACTORY)();
5
6struct HOSTFXR_STATE
7{
8 LPWSTR sczHostfxrPath;
9 hostfxr_handle hostContextHandle;
10 hostfxr_initialize_for_dotnet_command_line_fn pfnHostfxrInitializeForApp;
11 hostfxr_set_error_writer_fn pfnHostfxrSetErrorWriter;
12 hostfxr_close_fn pfnHostfxrClose;
13 hostfxr_get_runtime_delegate_fn pfnHostfxrGetRuntimeDelegate;
14 get_function_pointer_fn pfnGetFunctionPointer;
15};
16
17HRESULT DnchostLoadRuntime(
18 __in HOSTFXR_STATE* pState,
19 __in LPCWSTR wzNativeHostPath,
20 __in LPCWSTR wzManagedHostPath,
21 __in LPCWSTR wzDepsJsonPath,
22 __in LPCWSTR wzRuntimeConfigPath
23 );
24
25HRESULT DnchostCreateFactory(
26 __in HOSTFXR_STATE* pState,
27 __in LPCWSTR wzBaFactoryAssemblyName,
28 __out IBootstrapperApplicationFactory** ppAppFactory
29 );