Mercurial > dwindows
comparison dw.h @ 15:81833f25b1aa
Added new Dynamic Windows build information to the DWEnv struct.
It reports version numbers and build time/date.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Thu, 12 Jul 2001 20:31:26 +0000 |
parents | 176cee043f1b |
children | 6a246b3bb14f |
comparison
equal
deleted
inserted
replaced
14:176cee043f1b | 15:81833f25b1aa |
---|---|
1 /* $Id$ */ | 1 /* $Id$ */ |
2 | 2 |
3 #ifndef _H_DW | 3 #ifndef _H_DW |
4 #define _H_DW | 4 #define _H_DW |
5 | |
6 /* Dynamic Windows version numbers */ | |
7 #define DW_MAJOR_VERSION 0 | |
8 #define DW_MINOR_VERSION 5 | |
9 #define DW_SUB_VERSION 0 | |
5 | 10 |
6 #if defined(__OS2__) || defined(__WIN32__) || defined(WINNT) || defined(__EMX__) | 11 #if defined(__OS2__) || defined(__WIN32__) || defined(WINNT) || defined(__EMX__) |
7 /* OS/2 or Windows */ | 12 /* OS/2 or Windows */ |
8 | 13 |
9 /* Used internally */ | 14 /* Used internally */ |
484 #if defined(__OS2__) || defined(__WIN32__) || defined(WINNT) || defined(__EMX__) | 489 #if defined(__OS2__) || defined(__WIN32__) || defined(WINNT) || defined(__EMX__) |
485 typedef unsigned long DWTID; | 490 typedef unsigned long DWTID; |
486 #endif | 491 #endif |
487 | 492 |
488 typedef struct _dwenv { | 493 typedef struct _dwenv { |
489 /* Operating System Name */ | 494 /* Operating System Name and DW Build Date/Time */ |
490 char osName[30]; | 495 char osName[30], buildDate[30], buildTime[30]; |
491 /* Versions and builds */ | 496 /* Versions and builds */ |
492 short MajorVersion, MinorVersion, MajorBuild, MinorBuild; | 497 short MajorVersion, MinorVersion, MajorBuild, MinorBuild; |
498 /* Dynamic Window version */ | |
499 short DWMajorVersion, DWMinorVersion, DWSubVersion; | |
493 } DWEnv; | 500 } DWEnv; |
494 | 501 |
495 | 502 |
496 typedef struct _dwexpose { | 503 typedef struct _dwexpose { |
497 int x, y; | 504 int x, y; |