diff options
Diffstat (limited to 'src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp')
-rw-r--r-- | src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp b/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp index ba559b05..e65ac5ca 100644 --- a/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp +++ b/src/test/burn/TestData/BAFunctionsTests/BafRelatedBundleVariableTesting/BafRelatedBundleVariableTesting.cpp | |||
@@ -14,7 +14,7 @@ public: // IBAFunctions | |||
14 | 14 | ||
15 | public: //IBootstrapperApplication | 15 | public: //IBootstrapperApplication |
16 | virtual STDMETHODIMP OnDetectRelatedBundle( | 16 | virtual STDMETHODIMP OnDetectRelatedBundle( |
17 | __in_z LPCWSTR wzBundleId, | 17 | __in_z LPCWSTR wzBundleCode, |
18 | __in BOOTSTRAPPER_RELATION_TYPE relationType, | 18 | __in BOOTSTRAPPER_RELATION_TYPE relationType, |
19 | __in_z LPCWSTR wzBundleTag, | 19 | __in_z LPCWSTR wzBundleTag, |
20 | __in BOOL fPerMachine, | 20 | __in BOOL fPerMachine, |
@@ -27,15 +27,15 @@ public: //IBootstrapperApplication | |||
27 | HRESULT hr = S_OK; | 27 | HRESULT hr = S_OK; |
28 | LPWSTR wzValue = NULL; | 28 | LPWSTR wzValue = NULL; |
29 | 29 | ||
30 | hr = BalGetRelatedBundleVariable(wzBundleId, STRING_VARIABLE, &wzValue); | 30 | hr = BalGetRelatedBundleVariable(wzBundleCode, STRING_VARIABLE, &wzValue); |
31 | 31 | ||
32 | BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Retrieved related bundle variable with BAFunctions: AString = %ws, Error: 0x%x", wzValue, hr); | 32 | BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Retrieved related bundle variable with BAFunctions: AString = %ws, Error: 0x%x", wzValue, hr); |
33 | 33 | ||
34 | hr = BalGetRelatedBundleVariable(wzBundleId, NUMBER_VARIABLE, &wzValue); | 34 | hr = BalGetRelatedBundleVariable(wzBundleCode, NUMBER_VARIABLE, &wzValue); |
35 | 35 | ||
36 | BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Retrieved related bundle variable with BAFunctions: ANumber = %ws, Error: 0x%x", wzValue, hr); | 36 | BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Retrieved related bundle variable with BAFunctions: ANumber = %ws, Error: 0x%x", wzValue, hr); |
37 | 37 | ||
38 | hr = __super::OnDetectRelatedBundle(wzBundleId, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, pfCancel); | 38 | hr = __super::OnDetectRelatedBundle(wzBundleCode, relationType, wzBundleTag, fPerMachine, wzVersion, fMissingFromCache, pfCancel); |
39 | 39 | ||
40 | ReleaseStr(wzValue); | 40 | ReleaseStr(wzValue); |
41 | return hr; | 41 | return hr; |