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.

130 lines
6.4 KiB

  1. /****************************************************************************
  2. *
  3. * avicap.rc
  4. *
  5. * Resources
  6. *
  7. * Microsoft Video for Windows Sample Capture Class
  8. *
  9. * Copyright (c) 1992, 1993 Microsoft Corporation. All Rights Reserved.
  10. *
  11. * You have a royalty-free right to use, modify, reproduce and
  12. * distribute the Sample Files (and/or any modified version) in
  13. * any way you find useful, provided that you agree that
  14. * Microsoft has no warranty obligations or liability for any
  15. * Sample Application Files which are modified.
  16. *
  17. ***************************************************************************/
  18. #include <windows.h>
  19. //#include <verinfo.h>
  20. #include "avicap.h"
  21. #include "msvideo.h"
  22. #include "avicap.rcv"
  23. STRINGTABLE
  24. BEGIN
  25. DV_ERR_OK "No Error."
  26. DV_ERR_NONSPECIFIC "Unspecified error."
  27. DV_ERR_BADFORMAT "Unsupported video format."
  28. DV_ERR_STILLPLAYING "Device is still playing."
  29. DV_ERR_UNPREPARED "Unprepared header."
  30. DV_ERR_SYNC "Sync error."
  31. DV_ERR_TOOMANYCHANNELS "Device already in use."
  32. DV_ERR_NOTDETECTED "Capture device was not detected."
  33. DV_ERR_BADINSTALL "Capture driver is not installed properly."
  34. DV_ERR_CREATEPALETTE "Palette creation error."
  35. DV_ERR_SIZEFIELD "Structure size incorrect."
  36. DV_ERR_PARAM1 "Param1 invalid."
  37. DV_ERR_PARAM2 "Param2 invalid."
  38. DV_ERR_CONFIG1 "Configuration parameter 1 invalid."
  39. DV_ERR_CONFIG2 "Configuration parameter 2 invalid."
  40. DV_ERR_FLAGS "Flags parameter invalid."
  41. DV_ERR_13 "Error 13."
  42. DV_ERR_NOTSUPPORTED "Unsupported function."
  43. DV_ERR_NOMEM "Out of memory."
  44. DV_ERR_ALLOCATED "Device is already in use."
  45. DV_ERR_BADDEVICEID "Invalid device ID."
  46. DV_ERR_INVALHANDLE "Invalid handle."
  47. DV_ERR_BADERRNUM "Invalid error number."
  48. DV_ERR_NO_BUFFERS "No buffers are available."
  49. DV_ERR_MEM_CONFLICT "Memory conflict / problem detected."
  50. DV_ERR_IO_CONFLICT "I/O address conflict detected."
  51. DV_ERR_DMA_CONFLICT "DMA conflict detected."
  52. DV_ERR_INT_CONFLICT "Interrupt conflict / problem detected."
  53. DV_ERR_PROTECT_ONLY "Driver cannot run in Standard mode, requires Enhanced mode."
  54. IDS_CAP_BEGIN "Capture Start"
  55. IDS_CAP_END "Capture End"
  56. IDS_CAP_INFO "%s"
  57. IDS_CAP_DEFAVIEXT "avi"
  58. IDS_CAP_DEFPALEXT "pal"
  59. IDS_CAP_ERRORPALOPEN "Error opening palette '%s'"
  60. IDS_CAP_ERRORPALSAVE "Error saving palette '%s'"
  61. IDS_CAP_ERRORDIBSAVE "Error saving frame '%s'"
  62. IDS_CAP_CANTOPEN "Cannot open '%s'"
  63. IDS_CAP_OUTOFMEM "Out of memory"
  64. IDS_CAP_FILEEXISTS "File '%s' exists -- overwrite it?"
  65. IDS_CAP_VIDEDITERR "An error occurred while trying to run VidEdit."
  66. IDS_CAP_READONLYFILE "The file '%s' is a read-only file."
  67. IDS_CAP_WRITEERROR "Unable to write to file '%s'.\nDisk may be full."
  68. IDS_CAP_NODISKSPACE "There is no space to create a capture file on the specified device."
  69. IDS_CAP_SETFILESIZE "Set File Size"
  70. IDS_CAP_SAVEASPERCENT "SaveAs: %2ld%% Hit Escape to abort."
  71. IDS_CAP_WAVE_OPEN_ERROR "Error: Cannot open the wave input device.\nCheck sample size, frequency, and channels."
  72. IDS_CAP_WAVE_ALLOC_ERROR "Error: Out of memory for wave buffers."
  73. IDS_CAP_WAVE_PREPARE_ERROR "Error: Cannot prepare wave buffers."
  74. IDS_CAP_WAVE_ADD_ERROR "Error: Cannot add wave buffers."
  75. IDS_CAP_WAVE_SIZE_ERROR "Error: Bad wave size."
  76. IDS_CAP_VIDEO_OPEN_ERROR "Error: Cannot open the video input device."
  77. IDS_CAP_VIDEO_ALLOC_ERROR "Error: Out of memory for video buffers."
  78. IDS_CAP_VIDEO_PREPARE_ERROR "Error: Cannot prepare video buffers."
  79. IDS_CAP_VIDEO_ADD_ERROR "Error: Cannot add video buffers."
  80. IDS_CAP_VIDEO_SIZE_ERROR "Error: Bad video size."
  81. IDS_CAP_FILE_OPEN_ERROR "Error: Cannot open capture file."
  82. IDS_CAP_FILE_WRITE_ERROR "Error: Cannot write to capture file. Disk may be full."
  83. IDS_CAP_RECORDING_ERROR "Error: Cannot write to capture file. Data rate too high or disk full."
  84. IDS_CAP_RECORDING_ERROR2 "Error while recording"
  85. IDS_CAP_NO_FRAME_CAP_ERROR "Warning: No frames captured.\nConfirm that vertical sync interrupts\nare configured and enabled."
  86. IDS_CAP_NO_PALETTE_WARN "Warning: Using default palette."
  87. IDS_CAP_MCI_CONTROL_ERROR "Error: Unable to access MCI device."
  88. IDS_CAP_MCI_CANT_STEP_ERROR "Error: Unable to step MCI device."
  89. IDS_CAP_NO_AUDIO_CAP_ERROR "Error: No audio data captured.\nCheck audio card settings."
  90. IDS_CAP_AVI_INIT_ERROR "Error: Unable to initialize for capture."
  91. IDS_CAP_AVI_DRAWDIB_ERROR "Error: Unable to draw this data format."
  92. IDS_CAP_COMPRESSOR_ERROR "Error: Unable to initialize compressor."
  93. IDS_CAP_AUDIO_DROP_ERROR "Error: Audio data was lost during capture, reduce capture rate."
  94. /* status */
  95. IDS_CAP_STAT_LIVE_MODE "Live window"
  96. IDS_CAP_STAT_OVERLAY_MODE "Overlay window"
  97. IDS_CAP_STAT_CAP_INIT "Setting up for capture - Please wait"
  98. IDS_CAP_STAT_CAP_FINI "Finished capture, now writing frame %ld"
  99. IDS_CAP_STAT_PALETTE_BUILD "Building palette map"
  100. IDS_CAP_STAT_OPTPAL_BUILD "Computing optimal palette"
  101. IDS_CAP_STAT_I_FRAMES "%d frames"
  102. IDS_CAP_STAT_L_FRAMES "%ld frames"
  103. IDS_CAP_STAT_CAP_L_FRAMES "Captured %ld frames"
  104. IDS_CAP_STAT_CAP_AUDIO "Capturing audio"
  105. IDS_CAP_STAT_VIDEOCURRENT "Captured %ld frames (%ld dropped) %d.%03d sec."
  106. IDS_CAP_STAT_VIDEOAUDIO "Captured %d.%03d sec. %ld frames (%ld dropped) (%d.%03d fps). %ld audio bytes (%d,%03d sps)"
  107. IDS_CAP_STAT_VIDEOONLY "Captured %d.%03d sec. %ld frames (%ld dropped) (%d.%03d fps)"
  108. IDS_CAP_STAT_FRAMESDROPPED "Dropped %ld of %ld frames (%d.%1d%%) during capture."
  109. /* capture dialog strings */
  110. IDS_CAP_SEQ_MSGSTART "Select OK to start capture\nof video sequence\nto %s."
  111. IDS_CAP_SEQ_MSGSTOP "Hit ESCAPE or click to end capture"
  112. END