diff options
Diffstat (limited to 'src/ext/Bal/dnchost/dnchost.h')
-rw-r--r-- | src/ext/Bal/dnchost/dnchost.h | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/src/ext/Bal/dnchost/dnchost.h b/src/ext/Bal/dnchost/dnchost.h new file mode 100644 index 00000000..22fd8f5e --- /dev/null +++ b/src/ext/Bal/dnchost/dnchost.h | |||
@@ -0,0 +1,35 @@ | |||
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 | |||
4 | |||
5 | enum DNCHOSTTYPE | ||
6 | { | ||
7 | DNCHOSTTYPE_UNKNOWN, | ||
8 | DNCHOSTTYPE_FDD, | ||
9 | DNCHOSTTYPE_SCD, | ||
10 | }; | ||
11 | |||
12 | extern "C" typedef HRESULT(WINAPI* PFN_DNCPREQ_BOOTSTRAPPER_APPLICATION_CREATE)( | ||
13 | __in HRESULT hrHostInitialization, | ||
14 | __in IBootstrapperEngine* pEngine, | ||
15 | __in const BOOTSTRAPPER_CREATE_ARGS* pArgs, | ||
16 | __inout BOOTSTRAPPER_CREATE_RESULTS* pResults | ||
17 | ); | ||
18 | |||
19 | struct DNCSTATE | ||
20 | { | ||
21 | BOOL fInitialized; | ||
22 | BOOL fInitializedRuntime; | ||
23 | HINSTANCE hInstance; | ||
24 | LPWSTR sczModuleFullPath; | ||
25 | LPWSTR sczAppBase; | ||
26 | LPWSTR sczManagedHostPath; | ||
27 | LPWSTR sczBaFactoryAssemblyName; | ||
28 | LPWSTR sczBaFactoryAssemblyPath; | ||
29 | LPWSTR sczBaFactoryDepsJsonPath; | ||
30 | LPWSTR sczBaFactoryRuntimeConfigPath; | ||
31 | DNCHOSTTYPE type; | ||
32 | HOSTFXR_STATE hostfxrState; | ||
33 | IBootstrapperApplicationFactory* pAppFactory; | ||
34 | HMODULE hMbapreqModule; | ||
35 | }; | ||