99 if (!s_fnRegNotifyChangeKeyValue)
102 s_fnRegNotifyChangeKeyValue =
104 if (!s_fnRegNotifyChangeKeyValue)
108 return s_fnRegNotifyChangeKeyValue(
hKey, bWatchSubtree, dwNotifyFilter,
hEvent, fAsynchronous);
161 TEXT(
"SOFTWARE\\Microsoft\\CTF\\Sapilayr"),
165 DWORD dwValue = 0, cbValue =
sizeof(dwValue);
174 if (fnTF_CreateLangProfileUtil)
178 HRESULT hr = fnTF_CreateLangProfileUtil(&pProfileUtil);
179 if ((
hr ==
S_OK) && pProfileUtil)
HRESULT(WINAPI * FN_TF_CreateLangProfileUtil)(ITfFnLangProfileUtil **)
LONG WINAPI DelayedRegNotifyChangeKeyValue(HKEY hKey, BOOL bWatchSubtree, DWORD dwNotifyFilter, HANDLE hEvent, BOOL fAsynchronous)
LONG(WINAPI * FN_RegNotifyChangeKeyValue)(HKEY, BOOL, DWORD, HANDLE, BOOL)
#define RegCloseKey(hKey)
EXTERN_C HINSTANCE cicLoadSystemLibrary(_In_ LPCTSTR pszFileName, _In_ BOOL bSysWinDir)
EXTERN_C HINSTANCE cicGetSystemModuleHandle(_In_ LPCTSTR pszFileName, _In_ BOOL bSysWinDir)
static LSTATUS(WINAPI *pRegDeleteTreeW)(HKEY
#define ERROR_CALL_NOT_IMPLEMENTED
#define GetProcAddress(x, y)
void WINAPI SHIM_OBJ_NAME() OutputDebugStringA(LPCSTR lpOutputString)
HRESULT RegisterActiveProfiles(void)
HRESULT WINAPI TF_InvalidAssemblyListCacheIfExist(void)
EXTERN_C HRESULT WINAPI TF_InvalidAssemblyListCache(VOID)
EXTERN_C HRESULT WINAPI TF_PostAllThreadMsg(DWORD dwUnknown1, DWORD dwUnknown2)
unsigned __int3264 UINT_PTR
#define UNREFERENCED_PARAMETER(P)
static BOOL InitEvent(_In_ SIZE_T iEvent, _In_ BOOL bResetEvent)
static UINT s_nSysColorTimerId
static VOID CALLBACK SysColorTimerProc(_In_ HWND hWnd, _In_ UINT uMsg, _In_ UINT_PTR idEvent, _In_ DWORD dwTime)
static VOID OnEvent(_In_ SIZE_T iEvent)
static VOID UpdateSpTip()
static VOID StartSysColorChangeTimer()
static VOID KillInternat()
static BOOL CALLBACK EnumWndProc(_In_ HWND hWnd, _In_ LPARAM lParam)
static VOID CALLBACK RegImxTimerProc(_In_ HWND hWnd, _In_ UINT uMsg, _In_ UINT_PTR idEvent, _In_ DWORD dwTime)
static WATCHENTRY s_WatchEntries[WATCHENTRY_MAX]
static UINT s_nRegImxTimerId
static VOID CALLBACK KbdToggleTimerProc(_In_ HWND hWnd, _In_ UINT uMsg, _In_ UINT_PTR idEvent, _In_ DWORD dwTime)
static HANDLE s_ahWatchEvents[WATCHENTRY_MAX]
static UINT s_nKbdToggleTimerId
BOOL WINAPI DECLSPEC_HOTPATCH ResetEvent(IN HANDLE hEvent)
#define HKEY_LOCAL_MACHINE
#define HKEY_CURRENT_USER
#define REG_NOTIFY_CHANGE_NAME
#define REG_NOTIFY_CHANGE_LAST_SET
UINT_PTR WINAPI SetTimer(_In_opt_ HWND, _In_ UINT_PTR, _In_ UINT, _In_opt_ TIMERPROC)
BOOL WINAPI EnumWindows(_In_ WNDENUMPROC lpEnumFunc, _In_ LPARAM lParam)
BOOL WINAPI KillTimer(_In_opt_ HWND, _In_ UINT_PTR)