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.

83 lines
2.2 KiB

  1. /*****************************************************************************
  2. *
  3. * FFDrv1.rc
  4. *
  5. * Copyright (c) 1999 Microsoft Corporation. All Rights Reserved.
  6. *
  7. * Abstract:
  8. *
  9. * Version resource.
  10. *
  11. *****************************************************************************/
  12. #include "pidpr.h"
  13. #ifdef WIN95
  14. #include "verinfo.h"
  15. #define VERSIONNAME "PID.DLL"
  16. #ifdef DEBUG
  17. #define VERSIONDESCRIPTION "Microsoft Debug PID"
  18. #else
  19. #define VERSIONDESCRIPTION "Microsoft PID"
  20. #endif
  21. #define VERSIONTYPE VFT_DLL
  22. #define VERSIONSUBTYPE VFT2_UNKNOWN
  23. /*
  24. * Note that we cannot use verinfo.ver, because verinfo.ver doesn't
  25. * support OLE self-registration.
  26. */
  27. VS_VERSION_INFO VERSIONINFO
  28. FILEVERSION MANVERSION, MANREVISION, MANMINORREV, BUILD_NUMBER
  29. PRODUCTVERSION MANVERSION, MANREVISION, MANMINORREV, BUILD_NUMBER
  30. FILEFLAGSMASK VERSIONFILEFLAGSMASK
  31. FILEFLAGS VERSIONFLAGS
  32. #ifdef IS_32
  33. FILEOS VOS_DOS_WINDOWS32
  34. #else
  35. FILEOS VOS_DOS_WINDOWS16
  36. #endif
  37. FILETYPE VERSIONTYPE
  38. FILESUBTYPE VERSIONSUBTYPE
  39. BEGIN
  40. BLOCK "StringFileInfo"
  41. BEGIN
  42. BLOCK "040904E4"
  43. BEGIN
  44. VALUE "CompanyName", VERSIONCOMPANYNAME
  45. VALUE "FileDescription", VERSIONDESCRIPTION
  46. VALUE "FileVersion", VERSIONSTR
  47. VALUE "InternalName", VERSIONNAME
  48. VALUE "LegalCopyright", VERSIONCOPYRIGHT
  49. VALUE "OriginalFilename", VERSIONNAME
  50. VALUE "ProductName", VERSIONPRODUCTNAME
  51. VALUE "ProductVersion", VERSIONSTR
  52. VALUE "OLESelfRegister", ""
  53. END
  54. END
  55. BLOCK "VarFileInfo"
  56. BEGIN
  57. /* the following line should be extended for localized versions */
  58. VALUE "Translation", 0x409, 1252
  59. END
  60. END
  61. #else //winnt:
  62. #include <windows.h>
  63. #include <ntverp.h>
  64. #define VER_FILETYPE VFT_DLL
  65. #define VER_FILESUBTYPE VFT2_UNKNOWN
  66. #define VER_FILEDESCRIPTION_STR "Microsoft PID"
  67. #define VER_INTERNALNAME_STR "PID"
  68. #define VER_OLESELFREGISTER
  69. #include "common.ver"
  70. #endif