aboutsummaryrefslogtreecommitdiff
path: root/src/engine/elevation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/engine/elevation.cpp')
-rw-r--r--src/engine/elevation.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/engine/elevation.cpp b/src/engine/elevation.cpp
index 1737bf5b..82d5a9b1 100644
--- a/src/engine/elevation.cpp
+++ b/src/engine/elevation.cpp
@@ -156,6 +156,7 @@ static HRESULT OnSessionResume(
156static HRESULT OnSessionEnd( 156static HRESULT OnSessionEnd(
157 __in BURN_PACKAGES* pPackages, 157 __in BURN_PACKAGES* pPackages,
158 __in BURN_REGISTRATION* pRegistration, 158 __in BURN_REGISTRATION* pRegistration,
159 __in BURN_VARIABLES* pVariables,
159 __in BYTE* pbData, 160 __in BYTE* pbData,
160 __in DWORD cbData 161 __in DWORD cbData
161 ); 162 );
@@ -1650,7 +1651,7 @@ static HRESULT ProcessElevatedChildMessage(
1650 break; 1651 break;
1651 1652
1652 case BURN_ELEVATION_MESSAGE_TYPE_SESSION_END: 1653 case BURN_ELEVATION_MESSAGE_TYPE_SESSION_END:
1653 hrResult = OnSessionEnd(pContext->pPackages, pContext->pRegistration, (BYTE*)pMsg->pvData, pMsg->cbData); 1654 hrResult = OnSessionEnd(pContext->pPackages, pContext->pRegistration, pContext->pVariables, (BYTE*)pMsg->pvData, pMsg->cbData);
1654 break; 1655 break;
1655 1656
1656 case BURN_ELEVATION_MESSAGE_TYPE_SAVE_STATE: 1657 case BURN_ELEVATION_MESSAGE_TYPE_SAVE_STATE:
@@ -1969,6 +1970,7 @@ LExit:
1969static HRESULT OnSessionEnd( 1970static HRESULT OnSessionEnd(
1970 __in BURN_PACKAGES* pPackages, 1971 __in BURN_PACKAGES* pPackages,
1971 __in BURN_REGISTRATION* pRegistration, 1972 __in BURN_REGISTRATION* pRegistration,
1973 __in BURN_VARIABLES* pVariables,
1972 __in BYTE* pbData, 1974 __in BYTE* pbData,
1973 __in DWORD cbData 1975 __in DWORD cbData
1974 ) 1976 )
@@ -1990,7 +1992,7 @@ static HRESULT OnSessionEnd(
1990 ExitOnFailure(hr, "Failed to read dependency registration action."); 1992 ExitOnFailure(hr, "Failed to read dependency registration action.");
1991 1993
1992 // suspend session in per-machine process 1994 // suspend session in per-machine process
1993 hr = RegistrationSessionEnd(pRegistration, pPackages, (BURN_RESUME_MODE)dwResumeMode, (BOOTSTRAPPER_APPLY_RESTART)dwRestart, (BURN_DEPENDENCY_REGISTRATION_ACTION)dwDependencyRegistrationAction); 1995 hr = RegistrationSessionEnd(pRegistration, pVariables, pPackages, (BURN_RESUME_MODE)dwResumeMode, (BOOTSTRAPPER_APPLY_RESTART)dwRestart, (BURN_DEPENDENCY_REGISTRATION_ACTION)dwDependencyRegistrationAction);
1994 ExitOnFailure(hr, "Failed to suspend registration session."); 1996 ExitOnFailure(hr, "Failed to suspend registration session.");
1995 1997
1996LExit: 1998LExit: