Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

100 lines
2.3 KiB

  1. //
  2. // Apps' rc files should look like this:
  3. //
  4. /**
  5. #include "windows.h"
  6. #include "ntverp.h"
  7. #define VER_FILEDESCRIPTION_STR "File Description"
  8. #define VER_INTERNALNAME_STR "Internal Name"
  9. #define VER_ORIGINALFILENAME_STR "Original Name"
  10. #define VER_FILETYPE VFT_DLL
  11. #include "iisver.h"
  12. #include "common.ver"
  13. **/
  14. //
  15. // Apps may also define, in the same place as the other defines, above:
  16. // VER_FILESUBTYPE
  17. // VER_IISPRODUCTNAME_STR
  18. // VER_IISMAJORVERSION
  19. // VER_IISMINORVERSION
  20. // VER_IISPRODUCTVERSION_STR
  21. // VER_IISPRODUCTVERSION
  22. // VER_IISPRODUCTBUILD
  23. //
  24. #ifndef VER_FILEDESCRIPTION_STR
  25. #define VER_FILEDESCRIPTION_STR "IIS Executable"
  26. #endif
  27. #ifndef VER_INTERNALNAME_STR
  28. #define VER_INTERNALNAME_STR "IISFile.exe"
  29. #endif
  30. #ifndef VER_ORIGINALFILENAME_STR
  31. #define VER_ORIGINALFILENAME_STR VER_INTERNALNAME_STR
  32. #endif
  33. #ifdef VER_PRODUCTNAME_STR
  34. #undef VER_PRODUCTNAME_STR
  35. #endif
  36. #ifndef VER_IISPRODUCTNAME_STR
  37. #define VER_IISPRODUCTNAME_STR "Internet Information Services"
  38. #endif
  39. #define VER_PRODUCTNAME_STR VER_IISPRODUCTNAME_STR
  40. #ifndef VER_IISMAJORVERSION
  41. #define VER_IISMAJORVERSION 5
  42. #endif
  43. #ifndef VER_IISMINORVERSION
  44. #define VER_IISMINORVERSION 00
  45. #endif
  46. #ifdef VER_PRODUCTVERSION_STR
  47. #undef VER_PRODUCTVERSION_STR
  48. #endif
  49. #ifndef VER_IISPRODUCTVERSION_STR
  50. #define VER_IISPRODUCTVERSION_STR "5.00.0984"
  51. #endif
  52. #define VER_PRODUCTVERSION_STR VER_IISPRODUCTVERSION_STR
  53. //
  54. // VER_PRODUCTBUILD is defined by ntverp.h as the nt build number
  55. //
  56. #ifndef VER_PRODUCTBUILD
  57. #define VER_PRODUCTBUILD 0984
  58. #endif
  59. #ifndef VER_IISPRODUCTBUILD
  60. #define VER_IISPRODUCTBUILD VER_PRODUCTBUILD
  61. #endif
  62. #ifdef VER_PRODUCTVERSION
  63. #undef VER_PRODUCTVERSION
  64. #endif
  65. #ifndef VER_IISPRODUCTVERSION
  66. #define VER_IISPRODUCTVERSION VER_IISMAJORVERSION,VER_IISMINORVERSION,VER_IISPRODUCTBUILD,1
  67. #endif
  68. #define VER_PRODUCTVERSION VER_IISPRODUCTVERSION
  69. #ifndef VER_FILEVERSION
  70. #define VER_FILEVERSION VER_PRODUCTVERSION
  71. #endif
  72. #ifndef VER_FILETYPE
  73. #define VER_FILETYPE VFT_DLL
  74. #endif
  75. #ifndef VER_FILESUBTYPE
  76. #define VER_FILESUBTYPE VFT2_UNKNOWN
  77. #endif