aboutsummaryrefslogtreecommitdiff
path: root/src/burn/engine/elevation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/burn/engine/elevation.cpp')
-rw-r--r--src/burn/engine/elevation.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/src/burn/engine/elevation.cpp b/src/burn/engine/elevation.cpp
index 924d2184..85d5a543 100644
--- a/src/burn/engine/elevation.cpp
+++ b/src/burn/engine/elevation.cpp
@@ -556,7 +556,7 @@ extern "C" HRESULT ElevationSessionBegin(
556 __in BOOL fDisableResume, 556 __in BOOL fDisableResume,
557 __in BURN_VARIABLES* pVariables, 557 __in BURN_VARIABLES* pVariables,
558 __in DWORD dwRegistrationOperations, 558 __in DWORD dwRegistrationOperations,
559 __in BOOL fDetectedForeignProviderKeyBundleId, 559 __in BOOL fDetectedForeignProviderKeyBundleCode,
560 __in DWORD64 qwEstimatedSize, 560 __in DWORD64 qwEstimatedSize,
561 __in BOOTSTRAPPER_REGISTRATION_TYPE registrationType 561 __in BOOTSTRAPPER_REGISTRATION_TYPE registrationType
562 ) 562 )
@@ -579,7 +579,7 @@ extern "C" HRESULT ElevationSessionBegin(
579 hr = BuffWriteNumber(&pbData, &cbData, dwRegistrationOperations); 579 hr = BuffWriteNumber(&pbData, &cbData, dwRegistrationOperations);
580 ExitOnFailure(hr, "Failed to write registration operations to message buffer."); 580 ExitOnFailure(hr, "Failed to write registration operations to message buffer.");
581 581
582 hr = BuffWriteNumber(&pbData, &cbData, (DWORD)fDetectedForeignProviderKeyBundleId); 582 hr = BuffWriteNumber(&pbData, &cbData, (DWORD)fDetectedForeignProviderKeyBundleCode);
583 ExitOnFailure(hr, "Failed to write dependency registration action to message buffer."); 583 ExitOnFailure(hr, "Failed to write dependency registration action to message buffer.");
584 584
585 hr = BuffWriteNumber64(&pbData, &cbData, qwEstimatedSize); 585 hr = BuffWriteNumber64(&pbData, &cbData, qwEstimatedSize);
@@ -611,7 +611,7 @@ extern "C" HRESULT ElevationSessionEnd(
611 __in HANDLE hPipe, 611 __in HANDLE hPipe,
612 __in BURN_RESUME_MODE resumeMode, 612 __in BURN_RESUME_MODE resumeMode,
613 __in BOOTSTRAPPER_APPLY_RESTART restart, 613 __in BOOTSTRAPPER_APPLY_RESTART restart,
614 __in BOOL fDetectedForeignProviderKeyBundleId, 614 __in BOOL fDetectedForeignProviderKeyBundleCode,
615 __in DWORD64 qwEstimatedSize, 615 __in DWORD64 qwEstimatedSize,
616 __in BOOTSTRAPPER_REGISTRATION_TYPE registrationType 616 __in BOOTSTRAPPER_REGISTRATION_TYPE registrationType
617 ) 617 )
@@ -628,7 +628,7 @@ extern "C" HRESULT ElevationSessionEnd(
628 hr = BuffWriteNumber(&pbData, &cbData, (DWORD)restart); 628 hr = BuffWriteNumber(&pbData, &cbData, (DWORD)restart);
629 ExitOnFailure(hr, "Failed to write restart enum to message buffer."); 629 ExitOnFailure(hr, "Failed to write restart enum to message buffer.");
630 630
631 hr = BuffWriteNumber(&pbData, &cbData, (DWORD)fDetectedForeignProviderKeyBundleId); 631 hr = BuffWriteNumber(&pbData, &cbData, (DWORD)fDetectedForeignProviderKeyBundleCode);
632 ExitOnFailure(hr, "Failed to write dependency registration action to message buffer."); 632 ExitOnFailure(hr, "Failed to write dependency registration action to message buffer.");
633 633
634 hr = BuffWriteNumber64(&pbData, &cbData, qwEstimatedSize); 634 hr = BuffWriteNumber64(&pbData, &cbData, qwEstimatedSize);
@@ -821,8 +821,8 @@ extern "C" HRESULT ElevationProcessDependentRegistration(
821 hr = BuffWriteNumber(&pbData, &cbData, pAction->type); 821 hr = BuffWriteNumber(&pbData, &cbData, pAction->type);
822 ExitOnFailure(hr, "Failed to write action type to message buffer."); 822 ExitOnFailure(hr, "Failed to write action type to message buffer.");
823 823
824 hr = BuffWriteString(&pbData, &cbData, pAction->sczBundleId); 824 hr = BuffWriteString(&pbData, &cbData, pAction->sczBundleCode);
825 ExitOnFailure(hr, "Failed to write bundle id to message buffer."); 825 ExitOnFailure(hr, "Failed to write bundle code to message buffer.");
826 826
827 hr = BuffWriteString(&pbData, &cbData, pAction->sczDependentProviderKey); 827 hr = BuffWriteString(&pbData, &cbData, pAction->sczDependentProviderKey);
828 ExitOnFailure(hr, "Failed to write dependent provider key to message buffer."); 828 ExitOnFailure(hr, "Failed to write dependent provider key to message buffer.");
@@ -2559,7 +2559,7 @@ static HRESULT OnSessionBegin(
2559 hr = BuffReadNumber(pbData, cbData, &iData, &dwRegistrationOperations); 2559 hr = BuffReadNumber(pbData, cbData, &iData, &dwRegistrationOperations);
2560 ExitOnFailure(hr, "Failed to read registration operations."); 2560 ExitOnFailure(hr, "Failed to read registration operations.");
2561 2561
2562 hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&pRegistration->fDetectedForeignProviderKeyBundleId); 2562 hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&pRegistration->fDetectedForeignProviderKeyBundleCode);
2563 ExitOnFailure(hr, "Failed to read dependency registration action."); 2563 ExitOnFailure(hr, "Failed to read dependency registration action.");
2564 2564
2565 hr = BuffReadNumber64(pbData, cbData, &iData, &qwEstimatedSize); 2565 hr = BuffReadNumber64(pbData, cbData, &iData, &qwEstimatedSize);
@@ -2604,7 +2604,7 @@ static HRESULT OnSessionEnd(
2604 hr = BuffReadNumber(pbData, cbData, &iData, &dwRestart); 2604 hr = BuffReadNumber(pbData, cbData, &iData, &dwRestart);
2605 ExitOnFailure(hr, "Failed to read restart enum."); 2605 ExitOnFailure(hr, "Failed to read restart enum.");
2606 2606
2607 hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&pRegistration->fDetectedForeignProviderKeyBundleId); 2607 hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&pRegistration->fDetectedForeignProviderKeyBundleCode);
2608 ExitOnFailure(hr, "Failed to read dependency registration action."); 2608 ExitOnFailure(hr, "Failed to read dependency registration action.");
2609 2609
2610 hr = BuffReadNumber64(pbData, cbData, &iData, &qwEstimatedSize); 2610 hr = BuffReadNumber64(pbData, cbData, &iData, &qwEstimatedSize);
@@ -2810,8 +2810,8 @@ static HRESULT OnProcessDependentRegistration(
2810 hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&action.type); 2810 hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&action.type);
2811 ExitOnFailure(hr, "Failed to read action type."); 2811 ExitOnFailure(hr, "Failed to read action type.");
2812 2812
2813 hr = BuffReadString(pbData, cbData, &iData, &action.sczBundleId); 2813 hr = BuffReadString(pbData, cbData, &iData, &action.sczBundleCode);
2814 ExitOnFailure(hr, "Failed to read bundle id."); 2814 ExitOnFailure(hr, "Failed to read bundle code.");
2815 2815
2816 hr = BuffReadString(pbData, cbData, &iData, &action.sczDependentProviderKey); 2816 hr = BuffReadString(pbData, cbData, &iData, &action.sczDependentProviderKey);
2817 ExitOnFailure(hr, "Failed to read dependent provider key."); 2817 ExitOnFailure(hr, "Failed to read dependent provider key.");
@@ -2824,7 +2824,7 @@ LExit:
2824 // TODO: do the right thing here. 2824 // TODO: do the right thing here.
2825 //DependencyUninitializeRegistrationAction(&action); 2825 //DependencyUninitializeRegistrationAction(&action);
2826 ReleaseStr(action.sczDependentProviderKey); 2826 ReleaseStr(action.sczDependentProviderKey);
2827 ReleaseStr(action.sczBundleId) 2827 ReleaseStr(action.sczBundleCode)
2828 2828
2829 return hr; 2829 return hr;
2830} 2830}
@@ -2854,7 +2854,7 @@ static HRESULT OnExecuteRelatedBundle(
2854 2854
2855 // Deserialize message data. 2855 // Deserialize message data.
2856 hr = BuffReadString(pbData, cbData, &iData, &sczPackage); 2856 hr = BuffReadString(pbData, cbData, &iData, &sczPackage);
2857 ExitOnFailure(hr, "Failed to read related bundle id."); 2857 ExitOnFailure(hr, "Failed to read related bundle code.");
2858 2858
2859 hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&executeAction.relatedBundle.action); 2859 hr = BuffReadNumber(pbData, cbData, &iData, (DWORD*)&executeAction.relatedBundle.action);
2860 ExitOnFailure(hr, "Failed to read action."); 2860 ExitOnFailure(hr, "Failed to read action.");