Mercurial > projects > ddbg_continued
view win32/core.d @ 4:a5fb1bc967e6
- = command does not need space after it
- before using r command, ov command runs the program and stops at main
- more source file lines are shown at each step
author | marton@basel.hu |
---|---|
date | Sun, 10 Apr 2011 12:15:04 +0200 |
parents | 4a9dcbd9e54f |
children |
line wrap: on
line source
/***********************************************************************\ * core.d * * * * Helper module for the Windows API * * * * Placed into public domain * \***********************************************************************/ module win32.core; /** The core Windows API functions. Importing this file is equivalent to the C code: --- #define WIN32_LEAN_AND_MEAN #include "windows.h" --- */ public import win32.windef; public import win32.winnt; public import win32.wincon; public import win32.winbase; public import win32.wingdi; public import win32.winuser; public import win32.winnls; public import win32.winver; public import win32.winnetwk; // We can't use static if for imports, build gets confused. // static if (_WIN32_WINNT_ONLY) import win32.winsvc; version (WindowsVista) { version = WIN32_WINNT_ONLY; } else version (Windows2003) { version = WIN32_WINNT_ONLY; } else version (WindowsXP) { version = WIN32_WINNT_ONLY; } else version (WindowsNTonly) { version = WIN32_WINNT_ONLY; } version (WIN32_WINNT_ONLY) { public import win32.winsvc; }