Source code of Windows XP (NT5)
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.

60 lines
1.6 KiB

  1. #include <windows.h>
  2. //#define VER_ANSICP
  3. #define DX_VER_FILETYPE VFT_DLL
  4. #define DX_VER_FILESUBTYPE VFT2_UNKNOWN
  5. #define DX_VER_FILEDESCRIPTIONSTR "Microsoft Direct3D"
  6. #ifdef DBG
  7. #define DX_VER_FILEDESCRIPTION_STR DX_VER_FILEDESCRIPTIONSTR " Debug"
  8. #else
  9. #define DX_VER_FILEDESCRIPTION_STR DX_VER_FILEDESCRIPTIONSTR
  10. #endif
  11. #define DX_VER_INTERNALNAME_STR "D3D8.dll"
  12. #define DX_VER_ORIGINALFILENAME_STR DX_VER_INTERNALNAME_STR
  13. #ifdef WIN95
  14. #ifdef DBG
  15. #undef DEBUG
  16. #define DEBUG
  17. #endif
  18. #include "verinfo.h"
  19. #define VERSIONTYPE DX_VER_FILETYPE
  20. #define VERSIONSUBTYPE DX_VER_FILESUBTYPE
  21. #define VERSIONDESCRIPTION DX_VER_FILEDESCRIPTION_STR "\0"
  22. #define VERSIONNAME DX_VER_INTERNALNAME_STR "\0"
  23. #include "verinfo.ver"
  24. #else //winnt:
  25. #include <ntverp.h>
  26. #define VER_FILETYPE DX_VER_FILETYPE
  27. #define VER_FILESUBTYPE DX_VER_FILESUBTYPE
  28. #define VER_FILEDESCRIPTION_STR DX_VER_FILEDESCRIPTION_STR
  29. #define VER_INTERNALNAME_STR DX_VER_INTERNALNAME_STR
  30. #define VER_ORIGINALFILENAME_STR DX_VER_ORIGINALFILENAME_STR
  31. #include "common.ver"
  32. #endif
  33. //------------------------- Resources ------------------------------
  34. #include "..\..\inc\ids8.h"
  35. STRINGTABLE
  36. BEGIN
  37. IDS_PRIMARYDISPLAY "Primary Display Driver"
  38. IDS_TITLE "Microsoft Direct3D"
  39. IDS_DONTWORK_BPP "You must be running in 256 color mode or higher.\nYou can change the color depth from the control panel display icon."
  40. END