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 | |
| 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')
| -rw-r--r-- | src/ext/Bal/Samples/bafunctions/precomp.h | 4 | ||||
| -rw-r--r-- | src/ext/Bal/wixstdba/WixStandardBootstrapperApplication.cpp | 20 |
2 files changed, 16 insertions, 8 deletions
diff --git a/src/ext/Bal/Samples/bafunctions/precomp.h b/src/ext/Bal/Samples/bafunctions/precomp.h index 832d2250..cda11a40 100644 --- a/src/ext/Bal/Samples/bafunctions/precomp.h +++ b/src/ext/Bal/Samples/bafunctions/precomp.h | |||
| @@ -23,13 +23,13 @@ | |||
| 23 | #include "dictutil.h" | 23 | #include "dictutil.h" |
| 24 | //#include "dirutil.h" | 24 | //#include "dirutil.h" |
| 25 | #include "fileutil.h" | 25 | #include "fileutil.h" |
| 26 | #include "locutil.h" | 26 | //#include "locutil.h" |
| 27 | //#include "logutil.h" | 27 | //#include "logutil.h" |
| 28 | #include "pathutil.h" | 28 | #include "pathutil.h" |
| 29 | //#include "resrutil.h" | 29 | //#include "resrutil.h" |
| 30 | //#include "shelutil.h" | 30 | //#include "shelutil.h" |
| 31 | #include "strutil.h" | 31 | #include "strutil.h" |
| 32 | #include "thmutil.h" | 32 | //#include "thmutil.h" |
| 33 | //#include "uriutil.h" | 33 | //#include "uriutil.h" |
| 34 | //#include "xmlutil.h" | 34 | //#include "xmlutil.h" |
| 35 | #include "regutil.h" | 35 | #include "regutil.h" |
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."); |
