diff options
| author | Rob Mensching <rob@firegiant.com> | 2024-03-07 09:41:29 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2024-03-07 10:55:57 -0800 |
| commit | 5baa1dfe8ba2a3bd4728bca118fe1de225f848d4 (patch) | |
| tree | 4f1c216075173e0e4d0863ada195f21d7ec976e0 /src/ext/Util/be/utilbe.cpp | |
| parent | dea25ba9bcfd65200b60339c2e4bc060cdf20723 (diff) | |
| download | wix-5baa1dfe8ba2a3bd4728bca118fe1de225f848d4.tar.gz wix-5baa1dfe8ba2a3bd4728bca118fe1de225f848d4.tar.bz2 wix-5baa1dfe8ba2a3bd4728bca118fe1de225f848d4.zip | |
Rename "bundle extension" to "bootstrapper extension" for more consistency
Also renames WixToolet.BextUtil nupkg to WixToolset.BootstrapperExtensionApi.
Diffstat (limited to 'src/ext/Util/be/utilbe.cpp')
| -rw-r--r-- | src/ext/Util/be/utilbe.cpp | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/ext/Util/be/utilbe.cpp b/src/ext/Util/be/utilbe.cpp index d9816dc7..b4e6fda3 100644 --- a/src/ext/Util/be/utilbe.cpp +++ b/src/ext/Util/be/utilbe.cpp | |||
| @@ -1,19 +1,19 @@ | |||
| 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. | 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 | 2 | ||
| 3 | #include "precomp.h" | 3 | #include "precomp.h" |
| 4 | #include "BextBaseBundleExtensionProc.h" | 4 | #include "BextBaseBootstrapperExtensionProc.h" |
| 5 | 5 | ||
| 6 | static IBundleExtension* vpBundleExtension = NULL; | 6 | static IBootstrapperExtension* vpBootstrapperExtension = NULL; |
| 7 | 7 | ||
| 8 | // function definitions | 8 | // function definitions |
| 9 | 9 | ||
| 10 | extern "C" HRESULT WINAPI BundleExtensionCreate( | 10 | extern "C" HRESULT WINAPI BootstrapperExtensionCreate( |
| 11 | __in const BUNDLE_EXTENSION_CREATE_ARGS* pArgs, | 11 | __in const BOOTSTRAPPER_EXTENSION_CREATE_ARGS* pArgs, |
| 12 | __inout BUNDLE_EXTENSION_CREATE_RESULTS* pResults | 12 | __inout BOOTSTRAPPER_EXTENSION_CREATE_RESULTS* pResults |
| 13 | ) | 13 | ) |
| 14 | { | 14 | { |
| 15 | HRESULT hr = S_OK; | 15 | HRESULT hr = S_OK; |
| 16 | IBundleExtensionEngine* pEngine = NULL; | 16 | IBootstrapperExtensionEngine* pEngine = NULL; |
| 17 | 17 | ||
| 18 | hr = XmlInitialize(); | 18 | hr = XmlInitialize(); |
| 19 | ExitOnFailure(hr, "Failed to initialize XML."); | 19 | ExitOnFailure(hr, "Failed to initialize XML."); |
| @@ -21,11 +21,11 @@ extern "C" HRESULT WINAPI BundleExtensionCreate( | |||
| 21 | hr = BextInitializeFromCreateArgs(pArgs, &pEngine); | 21 | hr = BextInitializeFromCreateArgs(pArgs, &pEngine); |
| 22 | ExitOnFailure(hr, "Failed to initialize bext"); | 22 | ExitOnFailure(hr, "Failed to initialize bext"); |
| 23 | 23 | ||
| 24 | hr = UtilBundleExtensionCreate(pEngine, pArgs, &vpBundleExtension); | 24 | hr = UtilBootstrapperExtensionCreate(pEngine, pArgs, &vpBootstrapperExtension); |
| 25 | BextExitOnFailure(hr, "Failed to create WixUtilBundleExtension"); | 25 | BextExitOnFailure(hr, "Failed to create WixUtilBootstrapperExtension"); |
| 26 | 26 | ||
| 27 | pResults->pfnBundleExtensionProc = BextBaseBundleExtensionProc; | 27 | pResults->pfnBootstrapperExtensionProc = BextBaseBootstrapperExtensionProc; |
| 28 | pResults->pvBundleExtensionProcContext = vpBundleExtension; | 28 | pResults->pvBootstrapperExtensionProcContext = vpBootstrapperExtension; |
| 29 | 29 | ||
| 30 | LExit: | 30 | LExit: |
| 31 | ReleaseObject(pEngine); | 31 | ReleaseObject(pEngine); |
| @@ -33,9 +33,9 @@ LExit: | |||
| 33 | return hr; | 33 | return hr; |
| 34 | } | 34 | } |
| 35 | 35 | ||
| 36 | extern "C" void WINAPI BundleExtensionDestroy() | 36 | extern "C" void WINAPI BootstrapperExtensionDestroy() |
| 37 | { | 37 | { |
| 38 | BextUninitialize(); | 38 | BextUninitialize(); |
| 39 | ReleaseNullObject(vpBundleExtension); | 39 | ReleaseNullObject(vpBootstrapperExtension); |
| 40 | XmlUninitialize(); | 40 | XmlUninitialize(); |
| 41 | } \ No newline at end of file | 41 | } |
