diff options
| author | Rob Mensching <rob@firegiant.com> | 2024-01-11 00:17:24 -0800 |
|---|---|---|
| committer | Rob Mensching <rob@firegiant.com> | 2024-01-11 18:24:06 -0800 |
| commit | 8b55203c8b5a66362464f0738380932ac49918be (patch) | |
| tree | 2a57a8bc193566b3287f70ad5dd53e4c98a5a159 /src/burn/test/BurnUnitTest/ExitCodeTest.cpp | |
| parent | 8cfd711f775e8501836162538998b5b6d8efbf89 (diff) | |
| download | wix-8b55203c8b5a66362464f0738380932ac49918be.tar.gz wix-8b55203c8b5a66362464f0738380932ac49918be.tar.bz2 wix-8b55203c8b5a66362464f0738380932ac49918be.zip | |
Correctly prefix the functions exposed from burnpipe.h
Diffstat (limited to '')
| -rw-r--r-- | src/burn/test/BurnUnitTest/ExitCodeTest.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/burn/test/BurnUnitTest/ExitCodeTest.cpp b/src/burn/test/BurnUnitTest/ExitCodeTest.cpp index 465ee04b..4ff78c5a 100644 --- a/src/burn/test/BurnUnitTest/ExitCodeTest.cpp +++ b/src/burn/test/BurnUnitTest/ExitCodeTest.cpp | |||
| @@ -130,7 +130,7 @@ static void LoadEngineState( | |||
| 130 | // | 130 | // |
| 131 | // initiate termination | 131 | // initiate termination |
| 132 | // | 132 | // |
| 133 | hr = PipeTerminateChildProcess(pConnection, 0, FALSE); | 133 | hr = BurnPipeTerminateChildProcess(pConnection, 0, FALSE); |
| 134 | TestThrowOnFailure(hr, L"Failed to terminate elevated process."); | 134 | TestThrowOnFailure(hr, L"Failed to terminate elevated process."); |
| 135 | 135 | ||
| 136 | // check results | 136 | // check results |
| @@ -150,7 +150,7 @@ static void LoadEngineState( | |||
| 150 | finally | 150 | finally |
| 151 | { | 151 | { |
| 152 | VariablesUninitialize(&engineState.variables); | 152 | VariablesUninitialize(&engineState.variables); |
| 153 | PipeConnectionUninitialize(pConnection); | 153 | BurnPipeConnectionUninitialize(pConnection); |
| 154 | } | 154 | } |
| 155 | } | 155 | } |
| 156 | 156 | ||
| @@ -241,14 +241,14 @@ static DWORD CALLBACK ExitCodeTest_ElevationThreadProc( | |||
| 241 | } | 241 | } |
| 242 | 242 | ||
| 243 | // set up connection with per-user process | 243 | // set up connection with per-user process |
| 244 | hr = PipeChildConnect(pConnection, TRUE); | 244 | hr = BurnPipeChildConnect(pConnection, TRUE); |
| 245 | ExitOnFailure(hr, "Failed to connect to per-user process."); | 245 | ExitOnFailure(hr, "Failed to connect to per-user process."); |
| 246 | 246 | ||
| 247 | hr = ElevationChildPumpMessages(pConnection->hPipe, pConnection->hCachePipe, &engineState.approvedExes, &engineState.cache, &engineState.containers, &engineState.packages, &engineState.payloads, &engineState.variables, &engineState.registration, &engineState.userExperience, &hLock, &dwChildExitCode, &fRestart, &fApplying); | 247 | hr = ElevationChildPumpMessages(pConnection->hPipe, pConnection->hCachePipe, &engineState.approvedExes, &engineState.cache, &engineState.containers, &engineState.packages, &engineState.payloads, &engineState.variables, &engineState.registration, &engineState.userExperience, &hLock, &dwChildExitCode, &fRestart, &fApplying); |
| 248 | ExitOnFailure(hr, "Failed while pumping messages in child 'process'."); | 248 | ExitOnFailure(hr, "Failed while pumping messages in child 'process'."); |
| 249 | 249 | ||
| 250 | LExit: | 250 | LExit: |
| 251 | PipeConnectionUninitialize(pConnection); | 251 | BurnPipeConnectionUninitialize(pConnection); |
| 252 | VariablesUninitialize(&engineState.variables); | 252 | VariablesUninitialize(&engineState.variables); |
| 253 | ReleaseStr(sczArguments); | 253 | ReleaseStr(sczArguments); |
| 254 | 254 | ||
| @@ -358,7 +358,7 @@ static void LoadEngineState( | |||
| 358 | 358 | ||
| 359 | VariableInitialize(&pEngineState->variables); | 359 | VariableInitialize(&pEngineState->variables); |
| 360 | 360 | ||
| 361 | PipeConnectionInitialize(&pEngineState->companionConnection); | 361 | BurnPipeConnectionInitialize(&pEngineState->companionConnection); |
| 362 | 362 | ||
| 363 | hr = CacheInitialize(&pEngineState->cache, &pEngineState->internalCommand); | 363 | hr = CacheInitialize(&pEngineState->cache, &pEngineState->internalCommand); |
| 364 | TestThrowOnFailure(hr, "CacheInitialize failed."); | 364 | TestThrowOnFailure(hr, "CacheInitialize failed."); |
