summaryrefslogtreecommitdiff
path: root/src/api/burn/balutil/balutil.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/api/burn/balutil/balutil.cpp')
-rw-r--r--src/api/burn/balutil/balutil.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/api/burn/balutil/balutil.cpp b/src/api/burn/balutil/balutil.cpp
index 716f82d3..3cca38a4 100644
--- a/src/api/burn/balutil/balutil.cpp
+++ b/src/api/burn/balutil/balutil.cpp
@@ -551,7 +551,7 @@ LExit:
551} 551}
552 552
553DAPI_(HRESULT) BalGetRelatedBundleVariable( 553DAPI_(HRESULT) BalGetRelatedBundleVariable(
554 __in_z LPCWSTR wzBundleId, 554 __in_z LPCWSTR wzBundleCode,
555 __in_z LPCWSTR wzVariable, 555 __in_z LPCWSTR wzVariable,
556 __inout LPWSTR* psczValue 556 __inout LPWSTR* psczValue
557) 557)
@@ -564,7 +564,7 @@ DAPI_(HRESULT) BalGetRelatedBundleVariable(
564 ExitOnRootFailure(hr, "BalInitialize() must be called first."); 564 ExitOnRootFailure(hr, "BalInitialize() must be called first.");
565 } 565 }
566 566
567 hr = BalGetRelatedBundleVariableFromEngine(vpEngine, wzBundleId, wzVariable, psczValue); 567 hr = BalGetRelatedBundleVariableFromEngine(vpEngine, wzBundleCode, wzVariable, psczValue);
568 568
569LExit: 569LExit:
570 return hr; 570 return hr;
@@ -572,7 +572,7 @@ LExit:
572 572
573DAPI_(HRESULT) BalGetRelatedBundleVariableFromEngine( 573DAPI_(HRESULT) BalGetRelatedBundleVariableFromEngine(
574 __in IBootstrapperEngine* pEngine, 574 __in IBootstrapperEngine* pEngine,
575 __in_z LPCWSTR wzBundleId, 575 __in_z LPCWSTR wzBundleCode,
576 __in_z LPCWSTR wzVariable, 576 __in_z LPCWSTR wzVariable,
577 __inout LPWSTR* psczValue 577 __inout LPWSTR* psczValue
578) 578)
@@ -586,7 +586,7 @@ DAPI_(HRESULT) BalGetRelatedBundleVariableFromEngine(
586 ExitOnFailure(hr, "Failed to determine length of value."); 586 ExitOnFailure(hr, "Failed to determine length of value.");
587 } 587 }
588 588
589 hr = pEngine->GetRelatedBundleVariable(wzBundleId, wzVariable, *psczValue, &cch); 589 hr = pEngine->GetRelatedBundleVariable(wzBundleCode, wzVariable, *psczValue, &cch);
590 if (E_MOREDATA == hr) 590 if (E_MOREDATA == hr)
591 { 591 {
592 ++cch; 592 ++cch;
@@ -594,7 +594,7 @@ DAPI_(HRESULT) BalGetRelatedBundleVariableFromEngine(
594 hr = StrAllocSecure(psczValue, cch); 594 hr = StrAllocSecure(psczValue, cch);
595 ExitOnFailure(hr, "Failed to allocate value."); 595 ExitOnFailure(hr, "Failed to allocate value.");
596 596
597 hr = pEngine->GetRelatedBundleVariable(wzBundleId, wzVariable, *psczValue, &cch); 597 hr = pEngine->GetRelatedBundleVariable(wzBundleCode, wzVariable, *psczValue, &cch);
598 } 598 }
599 599
600LExit: 600LExit: