Diff

Not logged in

Differences From Artifact [886c2dae4f8ee53d]:

To Artifact [17920ef67c1aa508]:


1 1 /***********************************************************************\ 2 2 * windows.d * 3 3 * * 4 4 * Windows API header module * 5 5 * * 6 -* Translated from MinGW API for MS-Windows 3.10 * 6 +* Translated from MinGW API for MS-Windows 4.0 * 7 7 * * 8 8 * Placed into public domain * 9 9 \***********************************************************************/ 10 10 module win32.windows; 11 11 12 12 /* 13 13 windows.h - main header file for the Win32 API ................................................................................ 21 21 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 22 22 23 23 */ 24 24 25 25 public import win32.w32api; 26 26 public import win32.core; 27 27 28 -// We can't use static if for imports, build gets confused. 29 -version (WindowsVista) { 30 - public import win32.winsvc; 31 -} else version (Windows2003) { 32 - public import win32.winsvc; 33 -} else version (WindowsXP) { 34 - public import win32.winsvc; 35 -} else version (WindowsNTonly) { 36 - public import win32.winsvc; 37 -} 38 - 39 28 public import win32.cderr; 40 29 public import win32.dde; 41 30 public import win32.ddeml; 42 31 public import win32.dlgs; 43 32 public import win32.imm; 44 33 public import win32.lzexpand; 45 34 public import win32.mmsystem; 46 35 public import win32.nb30; 47 - 48 - 36 +public import win32.winsvc; 49 37 50 38 public import win32.rpc; 51 39 public import win32.shellapi; 52 40 public import win32.winperf; 53 41 public import win32.commdlg; 54 42 public import win32.winspool; 55 43 public import win32.ole2; ................................................................................ 60 48 public import win32.winsock; 61 49 } else { 62 50 public import win32.winsock2; 63 51 public import win32.ws2tcpip; 64 52 } 65 53 66 54 /+ 67 -#if (_WIN32_WINNT >= 0x0400) 55 +#if (_WIN32_WINNT >= 0x400) 68 56 #include <winsock2.h> 69 57 /* 70 58 * MS likes to include mswsock.h here as well, 71 59 * but that can cause undefined symbols if 72 60 * winsock2.h is included before windows.h 73 61 */ 74 62 #else 75 63 #include <winsock.h> 76 -#endif /* (_WIN32_WINNT >= 0x0400) */ 64 +#endif /* (_WIN32_WINNT >= 0x400) */ 77 65 +/