diff options
Diffstat (limited to 'src/burn/engine/baengine.cpp')
-rw-r--r-- | src/burn/engine/baengine.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/burn/engine/baengine.cpp b/src/burn/engine/baengine.cpp index e63836f4..d1704ad9 100644 --- a/src/burn/engine/baengine.cpp +++ b/src/burn/engine/baengine.cpp | |||
@@ -330,7 +330,7 @@ static HRESULT BAEngineGetRelatedBundleVariable( | |||
330 | HRESULT hr = S_OK; | 330 | HRESULT hr = S_OK; |
331 | BAENGINE_GETRELATEDBUNDLEVARIABLE_ARGS args = { }; | 331 | BAENGINE_GETRELATEDBUNDLEVARIABLE_ARGS args = { }; |
332 | BAENGINE_GETRELATEDBUNDLEVARIABLE_RESULTS results = { }; | 332 | BAENGINE_GETRELATEDBUNDLEVARIABLE_RESULTS results = { }; |
333 | LPWSTR sczBundleId = NULL; | 333 | LPWSTR sczBundleCode = NULL; |
334 | LPWSTR sczVariable = NULL; | 334 | LPWSTR sczVariable = NULL; |
335 | LPWSTR sczValue = NULL; | 335 | LPWSTR sczValue = NULL; |
336 | 336 | ||
@@ -338,13 +338,13 @@ static HRESULT BAEngineGetRelatedBundleVariable( | |||
338 | hr = BuffReaderReadNumber(pReaderArgs, &args.dwApiVersion); | 338 | hr = BuffReaderReadNumber(pReaderArgs, &args.dwApiVersion); |
339 | ExitOnFailure(hr, "Failed to read API version of BAEngineGetRelatedBundleVariable args."); | 339 | ExitOnFailure(hr, "Failed to read API version of BAEngineGetRelatedBundleVariable args."); |
340 | 340 | ||
341 | hr = BuffReaderReadString(pReaderArgs, &sczBundleId); | 341 | hr = BuffReaderReadString(pReaderArgs, &sczBundleCode); |
342 | ExitOnFailure(hr, "Failed to read bundle id of BAEngineGetRelatedBundleVariable args."); | 342 | ExitOnFailure(hr, "Failed to read bundle code of BAEngineGetRelatedBundleVariable args."); |
343 | 343 | ||
344 | hr = BuffReaderReadString(pReaderArgs, &sczVariable); | 344 | hr = BuffReaderReadString(pReaderArgs, &sczVariable); |
345 | ExitOnFailure(hr, "Failed to read variable name of BAEngineGetRelatedBundleVariable args."); | 345 | ExitOnFailure(hr, "Failed to read variable name of BAEngineGetRelatedBundleVariable args."); |
346 | 346 | ||
347 | args.wzBundleId = sczBundleId; | 347 | args.wzBundleCode = sczBundleCode; |
348 | args.wzVariable = sczVariable; | 348 | args.wzVariable = sczVariable; |
349 | 349 | ||
350 | // Read results. | 350 | // Read results. |
@@ -355,7 +355,7 @@ static HRESULT BAEngineGetRelatedBundleVariable( | |||
355 | ExitOnFailure(hr, "Failed to read API version of BAEngineGetRelatedBundleVariable results."); | 355 | ExitOnFailure(hr, "Failed to read API version of BAEngineGetRelatedBundleVariable results."); |
356 | 356 | ||
357 | // Execute. | 357 | // Execute. |
358 | hr = BundleGetBundleVariable(args.wzBundleId, args.wzVariable, &sczValue); | 358 | hr = BundleGetBundleVariable(args.wzBundleCode, args.wzVariable, &sczValue); |
359 | ExitOnFailure(hr, "Failed to get related bundle variable: %ls", sczVariable); | 359 | ExitOnFailure(hr, "Failed to get related bundle variable: %ls", sczVariable); |
360 | 360 | ||
361 | results.cchValue = lstrlenW(sczValue); | 361 | results.cchValue = lstrlenW(sczValue); |
@@ -374,7 +374,7 @@ static HRESULT BAEngineGetRelatedBundleVariable( | |||
374 | LExit: | 374 | LExit: |
375 | ReleaseStr(sczValue); | 375 | ReleaseStr(sczValue); |
376 | ReleaseStr(sczVariable); | 376 | ReleaseStr(sczVariable); |
377 | ReleaseStr(sczBundleId); | 377 | ReleaseStr(sczBundleCode); |
378 | 378 | ||
379 | return hr; | 379 | return hr; |
380 | } | 380 | } |