Changeset 268:1a74c57e2d49

Show
Ignore:
Timestamp:
07/27/08 07:42:15 (4 months ago)
Author:
Frank Benoit <benoit@tionex.de>
branch:
default
Message:

Fix depenency to updated user32.lib and kernel32.lib

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • dwt/internal/win32/OS.d

    r263 r268  
    282282        WIN32_VERSION = VERSION (WIN32_MAJOR, WIN32_MINOR); 
    283283 
    284         if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 1)) { 
     284        if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (5, 0)) { 
    285285            loadLib( Symbols_Kernel32, `Kernel32.dll` ); 
    286286        } 
     
    27392739// user32.dll vista 
    27402740public static extern(Windows) BOOL function() SetProcessDPIAware; 
     2741public static extern(Windows) BOOL function( HWND hWnd )IsHungAppWindow; 
    27412742static Symbol[] Symbols_User32 = [ 
    27422743    { "SetProcessDPIAware", cast(void**)& SetProcessDPIAware, 6, 0 }, 
     
    27442745    { "SetLayeredWindowAttributes", cast(void**)& SetLayeredWindowAttributes, 5, 0 }, 
    27452746    { "PrintWindow", cast(void**)& PrintWindow, 5, 0 }, 
     2747    { "IsHungAppWindow", cast(void**)& IsHungAppWindow, 5, 0 }, 
    27462748]; 
    27472749 
     
    28252827HANDLE function( ACTCTX* pActCtx ) CreateActCtx; 
    28262828BOOL function( HACTCTX hActCtx, uint* lpCookie ) ActivateActCtx; 
     2829LANGID function() GetSystemDefaultUILanguage; 
    28272830} 
    28282831version(ANSI){ 
     
    28312834    { "CreateActCtxW", cast(void**)& CreateActCtx, 5, 1 }, 
    28322835    { "ActivateActCtx", cast(void**)& ActivateActCtx, 5, 1 }, 
     2836    { "GetSystemDefaultUILanguage", cast(void**)& GetSystemDefaultUILanguage, 5, 0 }, 
    28332837]; 
    28342838} 
     
    30693073alias WINAPI.GetSysColor GetSysColor; 
    30703074alias WINAPI.GetSysColorBrush GetSysColorBrush; 
    3071 alias DWTWINAPI.GetSystemDefaultUILanguage GetSystemDefaultUILanguage; 
     3075//alias DWTWINAPI.GetSystemDefaultUILanguage GetSystemDefaultUILanguage; 
    30723076alias WINAPI.GetSystemMenu GetSystemMenu; 
    30733077alias WINAPI.GetSystemMetrics GetSystemMetrics; 
     
    31543158alias WINAPI.InvalidateRgn InvalidateRgn; 
    31553159alias WINAPI.IsDBCSLeadByte IsDBCSLeadByte; 
    3156 alias DWTWINAPI.IsHungAppWindow IsHungAppWindow; 
     3160//alias DWTWINAPI.IsHungAppWindow IsHungAppWindow; 
    31573161alias WINAPI.IsIconic IsIconic; 
    31583162alias WINAPI.IsWindow IsWindow; 
  • dwt/internal/win32/WINAPI.d

    r260 r268  
    18671867); 
    18681868HRESULT BufferedPaintUnInit(); 
    1869 BOOL IsHungAppWindow( 
    1870     HWND hWnd 
    1871 ); 
     1869//BOOL IsHungAppWindow( 
     1870//    HWND hWnd 
     1871//); 
    18721872HPAINTBUFFER BeginBufferedPaint( 
    18731873    HDC hdcTarget, 
     
    19011901 
    19021902//Kernel32.lib 
    1903 LANGID GetSystemDefaultUILanguage(); 
     1903//LANGID GetSystemDefaultUILanguage(); 
    19041904 
    19051905// Macro from winnt.h/windows.h