comparison dwt/internal/win32/OS.d @ 40:3052439af4b5

Shell
author Frank Benoit <benoit@tionex.de>
date Fri, 01 Feb 2008 20:19:46 +0100
parents f5e70f9aeeda
children f871c501e610
comparison
equal deleted inserted replaced
39:f5e70f9aeeda 40:3052439af4b5
69 public const static BOOL IsWinCE = true; 69 public const static BOOL IsWinCE = true;
70 }else{ 70 }else{
71 public const static BOOL IsWinCE = false; 71 public const static BOOL IsWinCE = false;
72 } 72 }
73 73
74 public static const BOOL IsPPC_; 74 public static const BOOL IsPPC_ = false;
75 public static const BOOL IsHPC = false; 75 public static const BOOL IsHPC = false;
76 76
77 // PORTING_FIXME, is it Windows WFSP? 77 // PORTING_FIXME, is it Windows WFSP?
78 public static const BOOL IsSP_ = false; 78 public static const BOOL IsSP_ = false;
79 79
117 OSVERSIONINFO info; 117 OSVERSIONINFO info;
118 IsWin32s = (info.dwPlatformId is VER_PLATFORM_WIN32s); 118 IsWin32s = (info.dwPlatformId is VER_PLATFORM_WIN32s);
119 IsWin95 = (info.dwPlatformId is VER_PLATFORM_WIN32_WINDOWS); 119 IsWin95 = (info.dwPlatformId is VER_PLATFORM_WIN32_WINDOWS);
120 IsWinNT = (info.dwPlatformId is VER_PLATFORM_WIN32_NT); 120 IsWinNT = (info.dwPlatformId is VER_PLATFORM_WIN32_NT);
121 //IsSP_ = false; 121 //IsSP_ = false;
122 IsPPC_ = false; 122 //IsPPC_ = false;
123 //IsHPC = false; 123 //IsHPC = false;
124 IsDBLocale = false; 124 IsDBLocale = false;
125 WIN32_MAJOR = info.dwMajorVersion; 125 WIN32_MAJOR = info.dwMajorVersion;
126 WIN32_MINOR = info.dwMinorVersion; 126 WIN32_MINOR = info.dwMinorVersion;
127 WIN32_VERSION = VERSION (WIN32_MAJOR, WIN32_MINOR); 127 WIN32_VERSION = VERSION (WIN32_MAJOR, WIN32_MINOR);
997 public static const int LOCALE_SMONTHNAME11 = 0x00000042; // long name for November 997 public static const int LOCALE_SMONTHNAME11 = 0x00000042; // long name for November
998 public static const int LOCALE_SMONTHNAME12 = 0x00000043; // long name for December 998 public static const int LOCALE_SMONTHNAME12 = 0x00000043; // long name for December
999 public static const int LOCALE_USER_DEFAULT = 1024; 999 public static const int LOCALE_USER_DEFAULT = 1024;
1000 public static const int LOGPIXELSX = 0x58; 1000 public static const int LOGPIXELSX = 0x58;
1001 public static const int LOGPIXELSY = 0x5a; 1001 public static const int LOGPIXELSY = 0x5a;
1002 public static const int LPSTR_TEXTCALLBACK = 0xffffffff; 1002 public static const TCHAR* LPSTR_TEXTCALLBACK = cast(TCHAR*)0xffffffff;
1003 public static const int LR_DEFAULTCOLOR = 0x0; 1003 public static const int LR_DEFAULTCOLOR = 0x0;
1004 public static const int LR_SHARED = 0x8000; 1004 public static const int LR_SHARED = 0x8000;
1005 public static const int LVCFMT_BITMAP_ON_RIGHT = 0x1000; 1005 public static const int LVCFMT_BITMAP_ON_RIGHT = 0x1000;
1006 public static const int LVCFMT_CENTER = 0x2; 1006 public static const int LVCFMT_CENTER = 0x2;
1007 public static const int LVCFMT_IMAGE = 0x800; 1007 public static const int LVCFMT_IMAGE = 0x800;
4192 alias WINAPI.FormatMessageA FormatMessageA; 4192 alias WINAPI.FormatMessageA FormatMessageA;
4193 alias WINAPI.FormatMessageW FormatMessageW; 4193 alias WINAPI.FormatMessageW FormatMessageW;
4194 alias WINAPI.FreeLibrary FreeLibrary; 4194 alias WINAPI.FreeLibrary FreeLibrary;
4195 alias WINAPI.GdiSetBatchLimit GdiSetBatchLimit; 4195 alias WINAPI.GdiSetBatchLimit GdiSetBatchLimit;
4196 alias WINAPI.GetACP GetACP; 4196 alias WINAPI.GetACP GetACP;
4197 alias STDWIN.GetAsyncKeyState GetAsyncKeyState;
4197 alias WINAPI.GetActiveWindow GetActiveWindow; 4198 alias WINAPI.GetActiveWindow GetActiveWindow;
4198 alias WINAPI.GetBkColor GetBkColor; 4199 alias WINAPI.GetBkColor GetBkColor;
4199 alias WINAPI.GetCapture GetCapture; 4200 alias WINAPI.GetCapture GetCapture;
4200 alias WINAPI.GetCaretPos GetCaretPos; 4201 alias WINAPI.GetCaretPos GetCaretPos;
4201 alias WINAPI.GetCharABCWidthsA GetCharABCWidthsA; 4202 alias WINAPI.GetCharABCWidthsA GetCharABCWidthsA;