home *** CD-ROM | disk | FTP | other *** search
/ PC Plus SuperCD (UK) 2000 May / PCP163A.iso / Runimage / Cbuilder4 / Include / NTVERP.H < prev    next >
Encoding:
C/C++ Source or Header  |  1999-01-26  |  3.7 KB  |  87 lines

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