aboutsummaryrefslogtreecommitdiff
path: root/src/ext/Bal
diff options
context:
space:
mode:
Diffstat (limited to 'src/ext/Bal')
-rw-r--r--src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp17
1 files changed, 0 insertions, 17 deletions
diff --git a/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp b/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp
index e93dbe90..c89d12c4 100644
--- a/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp
+++ b/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp
@@ -1265,9 +1265,6 @@ public: // IBootstrapperApplication
1265 case BOOTSTRAPPER_APPLICATION_MESSAGE_ONSHUTDOWN: 1265 case BOOTSTRAPPER_APPLICATION_MESSAGE_ONSHUTDOWN:
1266 OnShutdownFallback(reinterpret_cast<BA_ONSHUTDOWN_ARGS*>(pvArgs), reinterpret_cast<BA_ONSHUTDOWN_RESULTS*>(pvResults)); 1266 OnShutdownFallback(reinterpret_cast<BA_ONSHUTDOWN_ARGS*>(pvArgs), reinterpret_cast<BA_ONSHUTDOWN_RESULTS*>(pvResults));
1267 break; 1267 break;
1268 case BOOTSTRAPPER_APPLICATION_MESSAGE_ONSYSTEMSHUTDOWN:
1269 OnSystemShutdownFallback(reinterpret_cast<BA_ONSYSTEMSHUTDOWN_ARGS*>(pvArgs), reinterpret_cast<BA_ONSYSTEMSHUTDOWN_RESULTS*>(pvResults));
1270 break;
1271 case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTFORWARDCOMPATIBLEBUNDLE: 1268 case BOOTSTRAPPER_APPLICATION_MESSAGE_ONDETECTFORWARDCOMPATIBLEBUNDLE:
1272 OnDetectForwardCompatibleBundleFallback(reinterpret_cast<BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS*>(pvResults)); 1269 OnDetectForwardCompatibleBundleFallback(reinterpret_cast<BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_ARGS*>(pvArgs), reinterpret_cast<BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS*>(pvResults));
1273 break; 1270 break;
@@ -1544,14 +1541,6 @@ private: // privates
1544 m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONSHUTDOWN, pArgs, pResults, m_pvBAFunctionsProcContext); 1541 m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONSHUTDOWN, pArgs, pResults, m_pvBAFunctionsProcContext);
1545 } 1542 }
1546 1543
1547 void OnSystemShutdownFallback(
1548 __in BA_ONSYSTEMSHUTDOWN_ARGS* pArgs,
1549 __inout BA_ONSYSTEMSHUTDOWN_RESULTS* pResults
1550 )
1551 {
1552 m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONSYSTEMSHUTDOWN, pArgs, pResults, m_pvBAFunctionsProcContext);
1553 }
1554
1555 void OnDetectForwardCompatibleBundleFallback( 1544 void OnDetectForwardCompatibleBundleFallback(
1556 __in BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_ARGS* pArgs, 1545 __in BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_ARGS* pArgs,
1557 __inout BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS* pResults 1546 __inout BA_ONDETECTFORWARDCOMPATIBLEBUNDLE_RESULTS* pResults
@@ -2948,7 +2937,6 @@ private:
2948 { 2937 {
2949#pragma warning(suppress:4312) 2938#pragma warning(suppress:4312)
2950 CWixStandardBootstrapperApplication* pBA = reinterpret_cast<CWixStandardBootstrapperApplication*>(::GetWindowLongPtrW(hWnd, GWLP_USERDATA)); 2939 CWixStandardBootstrapperApplication* pBA = reinterpret_cast<CWixStandardBootstrapperApplication*>(::GetWindowLongPtrW(hWnd, GWLP_USERDATA));
2951 BOOL fCancel = FALSE;
2952 2940
2953 switch (uMsg) 2941 switch (uMsg)
2954 { 2942 {
@@ -2975,11 +2963,6 @@ private:
2975 case WM_THMUTIL_LOADED_CONTROL: 2963 case WM_THMUTIL_LOADED_CONTROL:
2976 return pBA->OnThemeLoadedControl(reinterpret_cast<THEME_LOADEDCONTROL_ARGS*>(wParam), reinterpret_cast<THEME_LOADEDCONTROL_RESULTS*>(lParam)); 2964 return pBA->OnThemeLoadedControl(reinterpret_cast<THEME_LOADEDCONTROL_ARGS*>(wParam), reinterpret_cast<THEME_LOADEDCONTROL_RESULTS*>(lParam));
2977 2965
2978 case WM_QUERYENDSESSION:
2979 fCancel = true;
2980 pBA->OnSystemShutdown(static_cast<DWORD>(lParam), &fCancel);
2981 return !fCancel;
2982
2983 case WM_CLOSE: 2966 case WM_CLOSE:
2984 // If the user chose not to close, do *not* let the default window proc handle the message. 2967 // If the user chose not to close, do *not* let the default window proc handle the message.
2985 if (!pBA->OnClose()) 2968 if (!pBA->OnClose())