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.

120 lines
5.0 KiB

  1. #include "graphic.h"
  2. #include "mciavi.rcv"
  3. #include "cnfgdlg.h"
  4. #include "cnfgdlg.dlg"
  5. #if defined(DEBUG_RETAIL)
  6. #define /*VFW*/ VERSIONSTR "Video for Windows Retail Debug Version 1.10.001 (NT)\0"
  7. #elif defined(DEBUG)
  8. #define /*VFW*/ VERSIONSTR "Video for Windows Internal Debug Version 1.10.001 (NT)\0"
  9. #else
  10. #define /*VFW*/ VERSIONSTR "1.1\0"
  11. #endif
  12. STRINGTABLE
  13. begin
  14. MCIAVI_PRODUCTNAME, "Video for Windows"
  15. MCIAVI_VERSION, VERSIONSTR
  16. #ifdef WIN32
  17. MCIAVI_BADMSVIDEOVERSION, "MCIAVI requires a newer version of MSVFW32.DLL, please reinstall your video software."
  18. #else
  19. MCIAVI_BADMSVIDEOVERSION, "MCIAVI requires a newer version of MSVIDEO.DLL, please reinstall your video software."
  20. #endif
  21. MCIAVI_MENU_CONFIG "C&onfigure..."
  22. MCIAVI_MENU_STRETCH "S&tretch to Window"
  23. MCIAVI_MENU_MUTE "&Mute"
  24. #ifdef WIN32
  25. MCIAVI_CANT_DRAW_VIDEO "Video not available, cannot find '%4.4hs:%4.4hs' decompressor."
  26. MCIAVI_CANT_DRAW_STREAM "Cannot draw stream, cannot find '%4.4hs:%4.4hs' decompressor."
  27. #else
  28. MCIAVI_CANT_DRAW_VIDEO "Video not available, cannot find '%4.4s:%4.4s' decompressor."
  29. MCIAVI_CANT_DRAW_STREAM "Cannot draw stream, cannot find '%4.4s:%4.4s' decompressor."
  30. #endif
  31. MCIERR_AVI_OLDAVIFORMAT, "This AVI file is of an obsolete format."
  32. MCIERR_AVI_NOTINTERLEAVED, "This AVI file is not interleaved."
  33. MCIERR_AVI_NODISPDIB, "256 color VGA mode not available."
  34. MCIERR_AVI_CANTPLAYFULLSCREEN, "This AVI file cannot be played in full screen mode."
  35. MCIERR_AVI_TOOBIGFORVGA, "This AVI file is too big to be played in the selected VGA mode."
  36. MCIERR_AVI_NOCOMPRESSOR "Cannot locate installable compressor needed to play this file."
  37. MCIERR_AVI_DISPLAYERROR "Unknown error while attempting to display video."
  38. MCIERR_AVI_AUDIOERROR "Unknown error while attempting to play audio."
  39. MCIERR_AVI_BADPALETTE "Unable to switch to new palette."
  40. #ifdef WIN32
  41. INFO_STREAM "Stream: %4.4hs:%4.4hs\r\n"
  42. INFO_VIDEOFORMAT "Video: %4.4hs %dx%dx%d (%4.4hs) %d%c%03d fps\r\n"
  43. #else
  44. INFO_STREAM "Stream: %4.4s:%4.4s\r\n"
  45. INFO_VIDEOFORMAT "Video: %4.4s %dx%dx%d (%4.4s) %d%c%03d fps\r\n"
  46. #endif
  47. INFO_MONOFORMAT "Audio: Mono %d%c%03dKHz %dbit\r\n"
  48. INFO_STEREOFORMAT "Audio: Stereo %d%c%03dKHz %dbit\r\n"
  49. INFO_LENGTH "Length: %ld Frames, %ld%c%03d sec\r\n"
  50. INFO_FRAMERATE "Frame Rate: %d%c%03d fps\r\n"
  51. INFO_DATARATE "Data Rate: %ldk/sec\r\n"
  52. INFO_FILE "File: %s\r\n"
  53. INFO_KEYFRAMES "Keyframe: every %d frame(s)\r\n"
  54. INFO_ALLKEYFRAMES "Keyframe: every frame\r\n"
  55. INFO_NOKEYFRAMES "Keyframe: no keyframes\r\n"
  56. INFO_AUDIO "Audio every: %d frame(s)\r\n"
  57. INFO_ADPCM " (msadpcm)\r\n"
  58. INFO_COMPRESSED " (compressed)\r\n"
  59. INFO_FILETYPE "Type: %s\r\n"
  60. INFO_FILETYPE_AVI "Type: AVI\r\n"
  61. INFO_FILETYPE_INT "Type: AVI (interleaved)\r\n"
  62. INFO_FILETYPE_ALPHA "Type: AVI (alpha format)\r\n"
  63. INFO_DISABLED " (Disabled)\r\n"
  64. IDS_VIDEO "Video"
  65. IDS_VIDEOCAPTION "Video Properties"
  66. #ifdef DEBUG
  67. INFO_SKIP "Skipped %ld of %ld frames (%d%%)\r\n"
  68. INFO_NOTREAD "Didn't read %ld frames (%d%%)\r\n"
  69. INFO_SKIPAUDIO "Audio broke up %ld times\r\n"
  70. #endif
  71. #ifdef EXPIRE
  72. MCIERR_AVI_EXPIRED "Your pre-release copy of Microsoft Video for Windows has expired."
  73. #endif
  74. end
  75. #ifdef WIN32
  76. #include "mciavi32.mci"
  77. #else
  78. #include "mciavi.mci"
  79. #endif
  80. #if 0
  81. MMS MMSCR people.cry
  82. #endif
  83. STRINGTABLE
  84. begin
  85. MCIERR_DGV_IOERR, "An I/O error occurred."
  86. MCIERR_DGV_WORKSPACE_EMPTY, "The workspace is empty."
  87. MCIERR_DGV_DISK_FULL, "The disk is full."
  88. MCIERR_DGV_DEVICE_MEMORY_FULL, "The media device memory is full."
  89. MCIERR_DGV_DEVICE_LIMIT, "A device limit was reached."
  90. MCIERR_DGV_BAD_CLIPBOARD_RANGE, "Unusable clipboard range. Set 'seek exactly off' or specify reference frames."
  91. MCI_DGV_METHOD_PRE, "pre"
  92. MCI_DGV_METHOD_POST, "post"
  93. MCI_DGV_METHOD_DIRECT, "direct"
  94. MCI_DGV_FF_AVSS, "avss"
  95. MCI_DGV_FF_AVI, "avi"
  96. MCI_DGV_FF_DIB, "dib"
  97. MCI_DGV_FF_RDIB, "rdib"
  98. MCI_DGV_FF_JPEG, "jpeg"
  99. MCI_DGV_FF_RJPEG, "rjpeg"
  100. MCI_DGV_FF_JFIF, "jfif"
  101. MCI_DGV_FF_MPEG, "mpeg"
  102. MCI_ON_S, "on"
  103. MCI_OFF_S, "off"
  104. MCI_DGV_INPUT_S, "input"
  105. MCI_DGV_FILE_S, "file"
  106. end