summaryrefslogtreecommitdiff
path: root/src/burn/test/BurnUnitTest/EmbeddedTest.cpp
diff options
context:
space:
mode:
authorRob Mensching <rob@firegiant.com>2024-01-11 00:17:24 -0800
committerRob Mensching <rob@firegiant.com>2024-01-11 18:24:06 -0800
commit8b55203c8b5a66362464f0738380932ac49918be (patch)
tree2a57a8bc193566b3287f70ad5dd53e4c98a5a159 /src/burn/test/BurnUnitTest/EmbeddedTest.cpp
parent8cfd711f775e8501836162538998b5b6d8efbf89 (diff)
downloadwix-8b55203c8b5a66362464f0738380932ac49918be.tar.gz
wix-8b55203c8b5a66362464f0738380932ac49918be.tar.bz2
wix-8b55203c8b5a66362464f0738380932ac49918be.zip
Correctly prefix the functions exposed from burnpipe.h
Diffstat (limited to 'src/burn/test/BurnUnitTest/EmbeddedTest.cpp')
-rw-r--r--src/burn/test/BurnUnitTest/EmbeddedTest.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/burn/test/BurnUnitTest/EmbeddedTest.cpp b/src/burn/test/BurnUnitTest/EmbeddedTest.cpp
index 7560fe25..8d70cbab 100644
--- a/src/burn/test/BurnUnitTest/EmbeddedTest.cpp
+++ b/src/burn/test/BurnUnitTest/EmbeddedTest.cpp
@@ -133,7 +133,7 @@ static DWORD CALLBACK EmbeddedTest_ThreadProc(
133 133
134 engineState.internalCommand.mode = BURN_MODE_EMBEDDED; 134 engineState.internalCommand.mode = BURN_MODE_EMBEDDED;
135 135
136 PipeConnectionInitialize(pConnection); 136 BurnPipeConnectionInitialize(pConnection);
137 137
138 StrAlloc(&pConnection->sczName, MAX_PATH); 138 StrAlloc(&pConnection->sczName, MAX_PATH);
139 StrAlloc(&pConnection->sczSecret, MAX_PATH); 139 StrAlloc(&pConnection->sczSecret, MAX_PATH);
@@ -145,11 +145,11 @@ static DWORD CALLBACK EmbeddedTest_ThreadProc(
145 } 145 }
146 146
147 // set up connection with parent bundle runner 147 // set up connection with parent bundle runner
148 hr = PipeChildConnect(pConnection, FALSE); 148 hr = BurnPipeChildConnect(pConnection, FALSE);
149 ExitOnFailure(hr, "Failed to connect to parent bundle runner."); 149 ExitOnFailure(hr, "Failed to connect to parent bundle runner.");
150 150
151 // post unknown message 151 // post unknown message
152 hr = PipeSendMessage(pConnection->hPipe, TEST_UNKNOWN_MESSAGE_ID, NULL, 0, NULL, NULL, &dwResult); 152 hr = BurnPipeSendMessage(pConnection->hPipe, TEST_UNKNOWN_MESSAGE_ID, NULL, 0, NULL, NULL, &dwResult);
153 ExitOnFailure(hr, "Failed to post unknown message to parent bundle runner."); 153 ExitOnFailure(hr, "Failed to post unknown message to parent bundle runner.");
154 154
155 if (E_NOTIMPL != dwResult) 155 if (E_NOTIMPL != dwResult)
@@ -162,7 +162,7 @@ static DWORD CALLBACK EmbeddedTest_ThreadProc(
162 ExitOnFailure(hr, "Failed to post known message to parent bundle runner."); 162 ExitOnFailure(hr, "Failed to post known message to parent bundle runner.");
163 163
164LExit: 164LExit:
165 PipeConnectionUninitialize(pConnection); 165 BurnPipeConnectionUninitialize(pConnection);
166 ReleaseStr(sczArguments); 166 ReleaseStr(sczArguments);
167 167
168 return FAILED(hr) ? (DWORD)hr : dwResult; 168 return FAILED(hr) ? (DWORD)hr : dwResult;
@@ -179,7 +179,7 @@ static int EmbeddedTest_GenericMessageHandler(
179 if (GENERIC_EXECUTE_MESSAGE_ERROR == pMessage->type) 179 if (GENERIC_EXECUTE_MESSAGE_ERROR == pMessage->type)
180 { 180 {
181 // post unknown message 181 // post unknown message
182 HRESULT hr = PipeSendMessage(pContext->connection.hPipe, TEST_UNKNOWN_MESSAGE_ID, NULL, 0, NULL, NULL, &dwResult); 182 HRESULT hr = BurnPipeSendMessage(pContext->connection.hPipe, TEST_UNKNOWN_MESSAGE_ID, NULL, 0, NULL, NULL, &dwResult);
183 ExitOnFailure(hr, "Failed to post unknown message to embedded bundle."); 183 ExitOnFailure(hr, "Failed to post unknown message to embedded bundle.");
184 184
185 if (E_NOTIMPL != dwResult) 185 if (E_NOTIMPL != dwResult)