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.

106 lines
3.3 KiB

  1. //+---------------------------------------------------------------------------------------
  2. //
  3. // Microsoft Windows
  4. //
  5. // Copyright (C) Microsoft Corporation, 1998 - 1998
  6. //
  7. // File: mmsverp.h
  8. //
  9. // Description: This file contains definition of the VERSION section of resources that
  10. // that all WMDM rc files should include. Before including this file
  11. // wmdm_ver.h must be included and the following MUST be defined
  12. //
  13. // VER_WMDM_FILE_FILETYPE
  14. // VER_WMDM_FILE_FILEDESCRIPTION
  15. // VER_WMDM_FILE_INTERNALNAME_STR
  16. //
  17. // other defines can be provided to override the general ones included
  18. // below.
  19. //+----------------------------------------------------------------------------------------
  20. #ifndef VER_WMDM_FILE_FILEVERSION
  21. #define VER_WMDM_FILE_FILEVERSION VER_WMDM_PRODUCTVERSION
  22. #endif
  23. #ifndef VER_WMDM_FILEVERSION_STR
  24. #define VER_WMDM_FILEVERSION_STR VER_WMDM_PRODUCTVERSION_STR
  25. #endif
  26. #ifndef VER_WMDM_FILE_ORIGINALFILENAME_STR
  27. #define VER_WMDM_FILE_ORIGINALFILENAME_STR VER_WMDM_FILE_INTERNALNAME_STR
  28. #endif
  29. #ifndef VER_WMDM_FILE_FILEOS
  30. #define VER_WMDM_FILE_FILEOS VER_WMDM_FILEOS
  31. #endif
  32. #ifndef VER_WMDM_FILE_FILESUBTYPE
  33. #define VER_WMDM_FILE_FILESUBTYPE 0
  34. #endif
  35. #ifndef VER_WMDM_FILE_COMPANYNAME_STR
  36. #define VER_WMDM_FILE_COMPANYNAME_STR VER_WMDM_COMPANYNAME_STR
  37. #endif
  38. #ifndef VER_WMDM_FILE_FILEVERSION_STR
  39. #define VER_WMDM_FILE_FILEVERSION_STR VER_WMDM_PRODUCTVERSION_STR
  40. #endif
  41. #ifndef VER_WMDM_FILE_LEGALCOPYRIGHT_YEARS
  42. #define VER_WMDM_FILE_LEGALCOPYRIGHT_YEARS VER_WMDM_LEGALCOPYRIGHT_YEARS
  43. #endif
  44. #ifndef VER_WMDM_FILE_LEGALCOPYRIGHT_STR
  45. #define VER_WMDM_FILE_LEGALCOPYRIGHT_STR VER_WMDM_LEGALCOPYRIGHT_STR
  46. #endif
  47. #ifdef RC_INVOKED
  48. VS_VERSION_INFO VERSIONINFO
  49. FILEVERSION VER_WMDM_FILE_FILEVERSION
  50. PRODUCTVERSION VER_WMDM_PRODUCTVERSION
  51. FILEOS VER_WMDM_FILE_FILEOS
  52. FILETYPE VER_WMDM_FILE_FILETYPE
  53. FILESUBTYPE VER_WMDM_FILE_FILESUBTYPE
  54. BEGIN
  55. BLOCK "StringFileInfo"
  56. BEGIN
  57. #ifdef VER_WMDM_NETSCAPE_PLUGIN
  58. BLOCK "040904E4" /* LANG_ENGLISH/SUBLANG_WINDOWS_MULTILINGAL" */
  59. #else
  60. BLOCK "040904B0" /* LANG_ENGLISH/SUBLANG_ENGLISH_US, Unicode CP */
  61. #endif
  62. BEGIN
  63. VALUE "CompanyName", VER_WMDM_FILE_COMPANYNAME_STR
  64. VALUE "FileDescription", VER_WMDM_FILE_FILEDESCRIPTION_STR EXPORT_TAG
  65. VALUE "FileVersion", VER_WMDM_FILE_FILEVERSION_STR
  66. VALUE "InternalName", VER_WMDM_FILE_INTERNALNAME_STR
  67. VALUE "LegalCopyright", VER_WMDM_FILE_LEGALCOPYRIGHT_STR
  68. VALUE "OriginalFilename",VER_WMDM_FILE_ORIGINALFILENAME_STR
  69. VALUE "ProductName", VER_WMDM_PRODUCTNAME_STR
  70. VALUE "ProductVersion", VER_WMDM_PRODUCTVERSION_STR
  71. #ifdef VER_WMDM_FILE_OLEREGISTER
  72. VALUE "OLESelfRegister", "\0"
  73. #endif
  74. #ifdef VER_WMDM_NETSCAPE_PLUGIN
  75. VALUE "FileExtents", "nip\0"
  76. VALUE "FileOpenName", "Network Interface Plugin (*.nip)\0"
  77. VALUE "MIMEType", "application/x-drm-v2\0"
  78. #endif
  79. END
  80. END
  81. BLOCK "VarFileInfo"
  82. BEGIN
  83. #ifdef VER_WMDM_NETSCAPE_PLUGIN
  84. VALUE "Translation", 0x0409, 0x04E4
  85. #else
  86. VALUE "Translation", 0x0409, 0x04B0
  87. #endif
  88. END
  89. END
  90. #endif