[MSCTF][SDK] Implement InitLangChangeHotKey (#6234)

Supporting TIPs and Language Bar...
JIRA issue: CORE-19361
- Implement InitLangChangeHotKey function.
- Add some global variables about hot-keys.
- Fix CicRegKey in <cicero/cicreg.h>.
This commit is contained in:
Katayama Hirofumi MZ 2023-12-27 11:43:01 +09:00 committed by GitHub
parent 7f1df040ed
commit ec0695c26b
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 130 additions and 5 deletions

View file

@ -46,7 +46,7 @@ public:
return ::RegSetValueEx(m_hKey, pszValueName, 0, REG_DWORD, (LPBYTE)&dwValue, sizeof(dwValue));
}
LSTATUS QuerySz(LPCTSTR pszValueName, LPWSTR pszValue, DWORD cchValueMax);
LSTATUS QuerySz(LPCTSTR pszValueName, LPTSTR pszValue, DWORD cchValueMax);
LSTATUS SetSz(LPCTSTR pszValueName, LPCTSTR pszValue)
{
@ -124,7 +124,7 @@ CicRegKey::Create(
}
inline LSTATUS
CicRegKey::QuerySz(LPCTSTR pszValueName, LPWSTR pszValue, DWORD cchValueMax)
CicRegKey::QuerySz(LPCTSTR pszValueName, LPTSTR pszValue, DWORD cchValueMax)
{
DWORD cchSaveMax = cchValueMax;