diff options
author | Sean Hall <r.sean.hall@gmail.com> | 2021-10-27 15:29:47 -0500 |
---|---|---|
committer | Sean Hall <r.sean.hall@gmail.com> | 2021-11-01 16:34:09 -0500 |
commit | 3d73efba15565f5995a492e660dff72286e0b672 (patch) | |
tree | fc2364f88aed27d0bdf633f837c5b9ac29511760 /src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp | |
parent | dce1c97c7d3e76c18e4f80d4ffe288d2933a74bc (diff) | |
download | wix-3d73efba15565f5995a492e660dff72286e0b672.tar.gz wix-3d73efba15565f5995a492e660dff72286e0b672.tar.bz2 wix-3d73efba15565f5995a492e660dff72286e0b672.zip |
Remove dutil types from BAFunctions.
Diffstat (limited to 'src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp')
-rw-r--r-- | src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp | 20 |
1 files changed, 14 insertions, 6 deletions
diff --git a/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp b/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp index 5546b74f..cdb9d017 100644 --- a/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp +++ b/src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp | |||
@@ -2783,7 +2783,6 @@ private: | |||
2783 | if (pBA->m_pfnBAFunctionsProc) | 2783 | if (pBA->m_pfnBAFunctionsProc) |
2784 | { | 2784 | { |
2785 | wndProcArgs.cbSize = sizeof(wndProcArgs); | 2785 | wndProcArgs.cbSize = sizeof(wndProcArgs); |
2786 | wndProcArgs.pTheme = pTheme; | ||
2787 | wndProcArgs.hWnd = hWnd; | 2786 | wndProcArgs.hWnd = hWnd; |
2788 | wndProcArgs.uMsg = uMsg; | 2787 | wndProcArgs.uMsg = uMsg; |
2789 | wndProcArgs.wParam = wParam; | 2788 | wndProcArgs.wParam = wParam; |
@@ -2791,10 +2790,20 @@ private: | |||
2791 | wndProcResults.cbSize = sizeof(wndProcResults); | 2790 | wndProcResults.cbSize = sizeof(wndProcResults); |
2792 | 2791 | ||
2793 | hr = pBA->m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_WNDPROC, &wndProcArgs, &wndProcResults, pBA->m_pvBAFunctionsProcContext); | 2792 | hr = pBA->m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_WNDPROC, &wndProcArgs, &wndProcResults, pBA->m_pvBAFunctionsProcContext); |
2794 | if (E_NOTIMPL != hr) | 2793 | |
2794 | if (E_NOTIMPL == hr) | ||
2795 | { | 2795 | { |
2796 | lres = wndProcResults.lres; | 2796 | hr = S_OK; |
2797 | ExitFunction(); | 2797 | } |
2798 | else | ||
2799 | { | ||
2800 | BalExitOnFailure(hr, "BAFunctions WndProc failed."); | ||
2801 | |||
2802 | if (wndProcResults.fProcessed) | ||
2803 | { | ||
2804 | lres = wndProcResults.lResult; | ||
2805 | ExitFunction(); | ||
2806 | } | ||
2798 | } | 2807 | } |
2799 | } | 2808 | } |
2800 | } | 2809 | } |
@@ -2910,8 +2919,7 @@ private: | |||
2910 | if (m_pfnBAFunctionsProc) | 2919 | if (m_pfnBAFunctionsProc) |
2911 | { | 2920 | { |
2912 | themeLoadedArgs.cbSize = sizeof(themeLoadedArgs); | 2921 | themeLoadedArgs.cbSize = sizeof(themeLoadedArgs); |
2913 | themeLoadedArgs.pTheme = m_pTheme; | 2922 | themeLoadedArgs.hWnd = m_pTheme->hwndParent; |
2914 | themeLoadedArgs.pWixLoc = m_pWixLoc; | ||
2915 | themeLoadedResults.cbSize = sizeof(themeLoadedResults); | 2923 | themeLoadedResults.cbSize = sizeof(themeLoadedResults); |
2916 | hr = m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONTHEMELOADED, &themeLoadedArgs, &themeLoadedResults, m_pvBAFunctionsProcContext); | 2924 | hr = m_pfnBAFunctionsProc(BA_FUNCTIONS_MESSAGE_ONTHEMELOADED, &themeLoadedArgs, &themeLoadedResults, m_pvBAFunctionsProcContext); |
2917 | BalExitOnFailure(hr, "BAFunctions OnThemeLoaded failed."); | 2925 | BalExitOnFailure(hr, "BAFunctions OnThemeLoaded failed."); |