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.

136 lines
5.4 KiB

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