Mercurial > projects > dwt-win
changeset 223:2d153805c8cd
fix loading ImmSetCandidateWindow from imm32 instead of user32
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Mon, 19 May 2008 02:36:32 +0200 |
parents | f9012ceeafea |
children | 679fb4a215dc |
files | dwt/internal/win32/OS.d |
diffstat | 1 files changed, 7 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/dwt/internal/win32/OS.d Mon May 19 02:25:11 2008 +0200 +++ b/dwt/internal/win32/OS.d Mon May 19 02:36:32 2008 +0200 @@ -2667,11 +2667,6 @@ public static extern(Windows) { BOOL function( - HIMC hIMC, - LPCANDIDATEFORM lpCandidate - ) ImmSetCandidateWindow; - - BOOL function( HWND hwnd, COLORREF *pcrKey, BYTE *pbAlpha, @@ -2700,7 +2695,6 @@ public static extern(Windows) BOOL function() SetProcessDPIAware; static Symbol[] Symbols_User32 = [ { "SetProcessDPIAware", cast(void**)& SetProcessDPIAware, 6, 0 }, - { "ImmSetCandidateWindow", cast(void**)& ImmSetCandidateWindow, 6, 0 }, { "GetLayeredWindowAttributes", cast(void**)& GetLayeredWindowAttributes, 5, 1 }, { "SetLayeredWindowAttributes", cast(void**)& SetLayeredWindowAttributes, 5, 0 }, { "PrintWindow", cast(void**)& PrintWindow, 5, 0 }, @@ -2751,6 +2745,12 @@ LPVOID lpBuf, DWORD dwBufLen ) ImmGetCompositionStringW; + + BOOL function( + HIMC hIMC, + LPCANDIDATEFORM lpCandidate + ) ImmSetCandidateWindow; + } static Symbol[] Symbols_Imm32 = [ @@ -2772,6 +2772,7 @@ { "ImmNotifyIME", cast(void**)& ImmNotifyIME, 5, 1 }, { "ImmGetCompositionStringW", cast(void**)& ImmGetCompositionStringW, 5, 1 }, { "ImmGetCompositionStringA", cast(void**)& ImmGetCompositionStringA, 5, 1 }, + { "ImmSetCandidateWindow", cast(void**)& ImmSetCandidateWindow, 5, 1 }, ]; // kernel32 winxp/vista