home *** CD-ROM | disk | FTP | other *** search
/ PC User 2001 August / APC_Aug2001_CD2.iso / features / devtools / files / borland_ccompiler55.exe / Include / ntverp.h < prev    next >
Encoding:
C/C++ Source or Header  |  2000-06-27  |  4.2 KB  |  106 lines

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