diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2020-05-16 21:52:31 +1000 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2020-05-16 22:01:33 +1000 |
commit | bb7b3dc1bc20629e04014b3f049cc30625a1a06c (patch) | |
tree | f8f1d17274294783da440659c941d74883ee049a /src/test/examples/TestEngine/TestEngine.cpp | |
parent | f5bb3cb1a730f9d3c2cbd5b3ab136354a8420c54 (diff) | |
download | wix-bb7b3dc1bc20629e04014b3f049cc30625a1a06c.tar.gz wix-bb7b3dc1bc20629e04014b3f049cc30625a1a06c.tar.bz2 wix-bb7b3dc1bc20629e04014b3f049cc30625a1a06c.zip |
WIXFEAT:6164 Update to latest balutil.
Diffstat (limited to 'src/test/examples/TestEngine/TestEngine.cpp')
-rw-r--r-- | src/test/examples/TestEngine/TestEngine.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/examples/TestEngine/TestEngine.cpp b/src/test/examples/TestEngine/TestEngine.cpp index 7b7dafce..a6a21174 100644 --- a/src/test/examples/TestEngine/TestEngine.cpp +++ b/src/test/examples/TestEngine/TestEngine.cpp | |||
@@ -53,7 +53,7 @@ HRESULT TestEngine::LoadBA( | |||
53 | m_pCreateResults->cbSize = sizeof(BOOTSTRAPPER_CREATE_RESULTS); | 53 | m_pCreateResults->cbSize = sizeof(BOOTSTRAPPER_CREATE_RESULTS); |
54 | 54 | ||
55 | m_hBAModule = ::LoadLibraryExW(wzBAFilePath, NULL, LOAD_WITH_ALTERED_SEARCH_PATH); | 55 | m_hBAModule = ::LoadLibraryExW(wzBAFilePath, NULL, LOAD_WITH_ALTERED_SEARCH_PATH); |
56 | ExitOnNullWithLastError(m_hBAModule, hr, "Failed to load BA dll."); | 56 | ConsoleExitOnNullWithLastError(m_hBAModule, hr, CONSOLE_COLOR_RED, "Failed to load BA dll."); |
57 | 57 | ||
58 | pfnCreate = (PFN_BOOTSTRAPPER_APPLICATION_CREATE)::GetProcAddress(m_hBAModule, "BootstrapperApplicationCreate"); | 58 | pfnCreate = (PFN_BOOTSTRAPPER_APPLICATION_CREATE)::GetProcAddress(m_hBAModule, "BootstrapperApplicationCreate"); |
59 | ConsoleExitOnNull(pfnCreate, hr, E_OUTOFMEMORY, CONSOLE_COLOR_RED, "Failed to get address for BootstrapperApplicationCreate."); | 59 | ConsoleExitOnNull(pfnCreate, hr, E_OUTOFMEMORY, CONSOLE_COLOR_RED, "Failed to get address for BootstrapperApplicationCreate."); |
@@ -181,7 +181,7 @@ HRESULT TestEngine::BAEngineQuit( | |||
181 | 181 | ||
182 | if (!::PostThreadMessageW(m_dwThreadId, WM_TESTENG_QUIT, static_cast<WPARAM>(pArgs->dwExitCode), 0)) | 182 | if (!::PostThreadMessageW(m_dwThreadId, WM_TESTENG_QUIT, static_cast<WPARAM>(pArgs->dwExitCode), 0)) |
183 | { | 183 | { |
184 | ExitWithLastError(hr, "Failed to post shutdown message."); | 184 | ConsoleExitWithLastError(hr, CONSOLE_COLOR_RED, "Failed to post shutdown message."); |
185 | } | 185 | } |
186 | 186 | ||
187 | LExit: | 187 | LExit: |