forked from google/mozc
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove GetProcAddress to TF_CreateCategoryMgr
This is a preparation to remove the dependency on CoCreateInstance from mozc_tip{32,64}.dll to comply with GUID_TFCAT_TIPCAP_COMLESS (google#837). With my previous commit [1], we now create an import library for msctf.dll as part of our build process. With this commit, mozc_tip{32,64}.dll actually start importing TF_CreateCategoryMgr from msctf.dll in an implicit manner. This should be safer and more efficient than relying on GetProcAddress as long as the API in question is guaranteed to exist. Note that we have already done the same optimization for input.dll [2]. There should be no user observable behavior change. #codehealth [1]: 006084c [2]: f470414 PiperOrigin-RevId: 576674633
- Loading branch information
1 parent
9b5e4ed
commit 919c912
Showing
3 changed files
with
3 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters