home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / include / ntverp.h < prev    next >
C/C++ Source or Header  |  1998-04-25  |  4KB  |  85 lines

  1. /****************************************************************************
  2.  *                                                                          *
  3.  *      ntverp.H        -- Version information for internal builds          *
  4.  *                                                                          *
  5.  *      This file is only modified by the official builder to update the    *
  6.  *      VERSION, VER_PRODUCTVERSION, VER_PRODUCTVERSION_STR and             *
  7.  *      VER_PRODUCTBETA_STR values.                                         *
  8.  *                                                                          *
  9.  ****************************************************************************/
  10.  
  11. /*--------------------------------------------------------------*/
  12. /* the following values should be modified by the official      */
  13. /* builder for each build                                       */
  14. /*                                                              */
  15. /* the VER_PRODUCTBUILD lines must contain the product          */
  16. /* comments (Win9x or NT) and end with the build#<CR><LF>       */
  17. /*                                                              */
  18. /* the VER_PRODUCTBETA_STR lines must  contain the product      */
  19. /* comments (Win9x or NT) and end with "some string"<CR><LF>    */
  20. /*--------------------------------------------------------------*/
  21.  
  22.  
  23. #if defined(NASHVILLE)
  24. #include <ieverp.h>
  25. #else
  26. #define VER_PRODUCTBUILD_QFE        1
  27. #define VER_PRODUCTBUILD            /* NT */     1636
  28. #define VER_PRODUCTBETA_STR         /* NT */     ""
  29. #define VER_PRODUCTVERSION_STRING   "5.00"
  30. #define VER_PRODUCTVERSION          5,00,VER_PRODUCTBUILD,VER_PRODUCTBUILD_QFE
  31. #define VER_PRODUCTVERSION_W        (0x0500)
  32. #define VER_PRODUCTVERSION_DW       (0x05000000 | VER_PRODUCTBUILD)
  33.  
  34.  
  35. /*--------------------------------------------------------------*/
  36. /* this value is used by third party drivers build with the DDK */
  37. /* and internally, to avoid version number conflicts.           */
  38. /*--------------------------------------------------------------*/
  39. #define VER_DDK_PRODUCTVERSION       5,01
  40. #define VER_DDK_PRODUCTVERSION_STR  "5.01"
  41.  
  42. #endif
  43.  
  44. #if     (VER_PRODUCTBUILD < 10)
  45. #define VER_BPAD "000"
  46. #elif    (VER_PRODUCTBUILD < 100)
  47. #define VER_BPAD "00"
  48. #elif    (VER_PRODUCTBUILD < 1000)
  49. #define VER_BPAD "0"
  50. #else
  51. #define VER_BPAD
  52. #endif
  53.  
  54. #define VER_PRODUCTVERSION_STR2(x,y) VER_PRODUCTVERSION_STRING "." VER_BPAD #x "." #y
  55. #define VER_PRODUCTVERSION_STR1(x,y) VER_PRODUCTVERSION_STR2(x, y)
  56. #define VER_PRODUCTVERSION_STR       VER_PRODUCTVERSION_STR1(VER_PRODUCTBUILD, VER_PRODUCTBUILD_QFE)
  57.  
  58. /*--------------------------------------------------------------*/
  59. /* the following section defines values used in the version     */
  60. /* data structure for all files, and which do not change.       */
  61. /*--------------------------------------------------------------*/
  62.  
  63. /* default is nodebug */
  64. #if DBG
  65. #define VER_DEBUG                   VS_FF_DEBUG
  66. #else
  67. #define VER_DEBUG                   0
  68. #endif
  69.  
  70. /* default is prerelease */
  71. #if BETA
  72. #define VER_PRERELEASE              VS_FF_PRERELEASE
  73. #else
  74. #define VER_PRERELEASE              0
  75. #endif
  76.  
  77. #define VER_FILEFLAGSMASK           VS_FFI_FILEFLAGSMASK
  78. #define VER_FILEOS                  VOS_NT_WINDOWS32
  79. #define VER_FILEFLAGS               (VER_PRERELEASE|VER_DEBUG)
  80.  
  81. #define VER_COMPANYNAME_STR         "Microsoft Corporation"
  82. #define VER_PRODUCTNAME_STR         "Microsoft(R) Windows NT(R) Operating System"
  83. #define VER_LEGALTRADEMARKS_STR     \
  84. "Microsoft(R) is a registered trademark of Microsoft Corporation. Windows NT(R) is a registered trademark of Microsoft Corporation."
  85.