diff options
Diffstat (limited to 'src/api/burn/mbanative/mbanative.cpp')
-rw-r--r-- | src/api/burn/mbanative/mbanative.cpp | 29 |
1 files changed, 0 insertions, 29 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 | } | ||