# HG changeset patch # User Frank Benoit # Date 1211157392 -7200 # Node ID 2d153805c8cdd7f21f61afe626d16a0aeea02f5f # Parent f9012ceeafea4046f231276b7639425136224107 fix loading ImmSetCandidateWindow from imm32 instead of user32 diff -r f9012ceeafea -r 2d153805c8cd dwt/internal/win32/OS.d --- 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