diff options
Diffstat (limited to 'src/api/burn/mbanative')
-rw-r--r-- | src/api/burn/mbanative/mbanative.cpp | 29 | ||||
-rw-r--r-- | src/api/burn/mbanative/mbanative.def | 4 | ||||
-rw-r--r-- | src/api/burn/mbanative/mbanative.vcxproj | 1 | ||||
-rw-r--r-- | src/api/burn/mbanative/precomp.h | 4 |
4 files changed, 4 insertions, 34 deletions
diff --git a/src/api/burn/mbanative/mbanative.cpp b/src/api/burn/mbanative/mbanative.cpp deleted file mode 100644 index 98ea3c30..00000000 --- a/src/api/burn/mbanative/mbanative.cpp +++ /dev/null | |||
@@ -1,29 +0,0 @@ | |||
1 | // 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. | ||
2 | |||
3 | #include "precomp.h" | ||
4 | #include "BalBaseBootstrapperApplicationProc.h" | ||
5 | |||
6 | extern "C" HRESULT WINAPI InitializeFromCreateArgs( | ||
7 | __in const BOOTSTRAPPER_CREATE_ARGS* pArgs, | ||
8 | __inout BOOTSTRAPPER_COMMAND* pCommand, | ||
9 | __out IBootstrapperEngine** ppEngine | ||
10 | ) | ||
11 | { | ||
12 | HRESULT hr = S_OK; | ||
13 | |||
14 | hr = BalInitializeFromCreateArgs(pArgs, ppEngine); | ||
15 | ExitOnFailure(hr, "Failed to initialize Bal."); | ||
16 | |||
17 | memcpy_s(pCommand, pCommand->cbSize, pArgs->pCommand, min(pArgs->pCommand->cbSize, pCommand->cbSize)); | ||
18 | LExit: | ||
19 | return hr; | ||
20 | } | ||
21 | |||
22 | extern "C" void WINAPI StoreBAInCreateResults( | ||
23 | __inout BOOTSTRAPPER_CREATE_RESULTS* pResults, | ||
24 | __in IBootstrapperApplication* pBA | ||
25 | ) | ||
26 | { | ||
27 | pResults->pfnBootstrapperApplicationProc = BalBaseBootstrapperApplicationProc; | ||
28 | pResults->pvBootstrapperApplicationProcContext = pBA; | ||
29 | } | ||
diff --git a/src/api/burn/mbanative/mbanative.def b/src/api/burn/mbanative/mbanative.def index b7a858df..bd013699 100644 --- a/src/api/burn/mbanative/mbanative.def +++ b/src/api/burn/mbanative/mbanative.def | |||
@@ -8,8 +8,8 @@ EXPORTS | |||
8 | BalGetVersionVariableFromEngine | 8 | BalGetVersionVariableFromEngine |
9 | BalGetRelatedBundleVariableFromEngine | 9 | BalGetRelatedBundleVariableFromEngine |
10 | BalVariableExistsFromEngine | 10 | BalVariableExistsFromEngine |
11 | InitializeFromCreateArgs | 11 | BootstrapperApplicationDebuggerCheck |
12 | StoreBAInCreateResults | 12 | BootstrapperApplicationRun |
13 | StrFree | 13 | StrFree |
14 | VerCompareParsedVersions | 14 | VerCompareParsedVersions |
15 | VerCompareStringVersions | 15 | VerCompareStringVersions |
diff --git a/src/api/burn/mbanative/mbanative.vcxproj b/src/api/burn/mbanative/mbanative.vcxproj index 47d09591..a1f79f4d 100644 --- a/src/api/burn/mbanative/mbanative.vcxproj +++ b/src/api/burn/mbanative/mbanative.vcxproj | |||
@@ -46,7 +46,6 @@ | |||
46 | </PropertyGroup> | 46 | </PropertyGroup> |
47 | 47 | ||
48 | <ItemGroup> | 48 | <ItemGroup> |
49 | <ClCompile Include="mbanative.cpp" /> | ||
50 | <ClCompile Include="precomp.cpp"> | 49 | <ClCompile Include="precomp.cpp"> |
51 | <PrecompiledHeader>Create</PrecompiledHeader> | 50 | <PrecompiledHeader>Create</PrecompiledHeader> |
52 | </ClCompile> | 51 | </ClCompile> |
diff --git a/src/api/burn/mbanative/precomp.h b/src/api/burn/mbanative/precomp.h index 2e2f3ff8..622f341a 100644 --- a/src/api/burn/mbanative/precomp.h +++ b/src/api/burn/mbanative/precomp.h | |||
@@ -8,8 +8,8 @@ | |||
8 | #include <dutil.h> | 8 | #include <dutil.h> |
9 | #include <verutil.h> | 9 | #include <verutil.h> |
10 | 10 | ||
11 | #include <BootstrapperEngine.h> | 11 | // #include <BootstrapperEngine.h> |
12 | #include <BootstrapperApplication.h> | 12 | // #include <BootstrapperApplication.h> |
13 | 13 | ||
14 | #include <IBootstrapperEngine.h> | 14 | #include <IBootstrapperEngine.h> |
15 | #include <IBootstrapperApplication.h> | 15 | #include <IBootstrapperApplication.h> |