Codebase list mozc / 7e4149e
Avoid a name conflict with RefreshPolicy API To avoid a name conflict between our RefreshPolicy function and RefreshPolicy Win32 API [1], this CL renames our one to a bit more descriptive name "CallIERefreshElevationPolicy", because the purpose of that function is just to call IERefreshElevationPolicy API [2]. [1]: https://msdn.microsoft.com/en-us/library/aa374398.aspx [2]: https://msdn.microsoft.com/en-us/library/bb544929.aspx BUG= TEST= REF_BUG=31902088 REF_CL=137113047 REF_TIME=2016-10-24T20:27:26-07:00 REF_TIME_RAW=1477366046 -0700 Yohei Yukawa 7 years ago
6 changed file(s) with 10 addition(s) and 10 deletion(s). Raw diff Collapse all Expand all
2929
3030 MAJOR=2
3131 MINOR=19
32 BUILD=2652
32 BUILD=2653
3333 REVISION=102
3434 # This version represents the version of Mozc IME engine (converter, predictor,
3535 # etc.). This version info is included both in the Mozc server and in the Mozc
258258 return TRUE;
259259 }
260260
261 UINT __stdcall RefreshPolicy(MSIHANDLE msi_handle) {
261 UINT __stdcall CallIERefreshElevationPolicy(MSIHANDLE msi_handle) {
262262 DEBUG_BREAK_FOR_DEBUGGER();
263263 HRESULT result = CallSystemDllFunction(kIEFrameDll,
264264 "IERefreshElevationPolicy");
00 EXPORTS
1 RefreshPolicy
1 CallIERefreshElevationPolicy
22 InstallIME
33 InstallIMERollback
44 UninstallIME
3535 #include <msi.h>
3636
3737 // Makes ieuser.exe update the cache of the elevation policies.
38 UINT __stdcall RefreshPolicy(MSIHANDLE msi_handle);
38 UINT __stdcall CallIERefreshElevationPolicy(MSIHANDLE msi_handle);
3939
4040 // Install Mozc as an IME.
4141 UINT __stdcall InstallIME(MSIHANDLE msi_handle);
772772 <CustomAction Id='UnregisterTIPRollback32' BinaryKey='CustomActions32'
773773 DllEntry='UnregisterTIPRollback' Execute='rollback' Impersonate='no'
774774 Return='ignore' />
775 <CustomAction Id='RefreshPolicy' BinaryKey='CustomActions32'
776 DllEntry='RefreshPolicy' Execute='commit' Impersonate='no' />
775 <CustomAction Id='CallIERefreshElevationPolicy' BinaryKey='CustomActions32'
776 DllEntry='CallIERefreshElevationPolicy' Execute='commit' Impersonate='no' />
777777 <CustomAction Id='OpenUninstallSurveyPage' BinaryKey='CustomActions32'
778778 DllEntry='OpenUninstallSurveyPage' Impersonate='yes' Return='ignore' />
779779 <CustomAction Id='ShutdownServer' BinaryKey='CustomActions32'
855855 (REMOVE="ALL") AND (NOT UPGRADINGPRODUCTCODE) AND (UILevel &gt;= 3)
856856 </Custom>
857857 <SelfRegModules />
858 <Custom Action='RefreshPolicy' After='SelfRegModules'>
858 <Custom Action='CallIERefreshElevationPolicy' After='SelfRegModules'>
859859 (NOT (REMOVE="ALL")) AND (VersionNT &gt;= 600)
860860 </Custom>
861861 <!--
861861 <CustomAction Id='UnregisterTIPRollback64' BinaryKey='CustomActions64'
862862 DllEntry='UnregisterTIPRollback' Execute='rollback' Impersonate='no'
863863 Return='ignore' />
864 <CustomAction Id='RefreshPolicy' BinaryKey='CustomActions32'
865 DllEntry='RefreshPolicy' Execute='commit' Impersonate='no' />
864 <CustomAction Id='CallIERefreshElevationPolicy' BinaryKey='CustomActions32'
865 DllEntry='CallIERefreshElevationPolicy' Execute='commit' Impersonate='no' />
866866 <CustomAction Id='OpenUninstallSurveyPage' BinaryKey='CustomActions32'
867867 DllEntry='OpenUninstallSurveyPage' Impersonate='yes' Return='ignore' />
868868 <CustomAction Id='ShutdownServer' BinaryKey='CustomActions32'
952952 (REMOVE="ALL") AND (NOT UPGRADINGPRODUCTCODE) AND (UILevel &gt;= 3)
953953 </Custom>
954954 <SelfRegModules />
955 <Custom Action='RefreshPolicy' After='SelfRegModules'>
955 <Custom Action='CallIERefreshElevationPolicy' After='SelfRegModules'>
956956 (NOT (REMOVE="ALL")) AND (VersionNT &gt;= 600)
957957 </Custom>
958958 <!--