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.

130 lines
6.7 KiB

  1. /****************************************************************************
  2. *
  3. * avicap.rc
  4. *
  5. * Resources
  6. *
  7. * Microsoft Video for Windows Sample Capture Class
  8. *
  9. * Copyright (c) 1992 - 1995 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 <vfw.h>
  20. #include "avicapi.h"
  21. #include "avicap32.rcv"
  22. STRINGTABLE
  23. BEGIN
  24. DV_ERR_OK "No Error."
  25. DV_ERR_NONSPECIFIC "Unspecified error."
  26. DV_ERR_BADFORMAT "Unsupported video format."
  27. DV_ERR_STILLPLAYING "Device is still playing."
  28. DV_ERR_UNPREPARED "Unprepared header."
  29. DV_ERR_SYNC "Sync error."
  30. DV_ERR_TOOMANYCHANNELS "Device already in use."
  31. DV_ERR_NOTDETECTED "Capture device was not detected."
  32. DV_ERR_BADINSTALL "Capture driver is not installed properly."
  33. DV_ERR_CREATEPALETTE "Palette creation error."
  34. DV_ERR_SIZEFIELD "Structure size incorrect."
  35. DV_ERR_PARAM1 "Param1 invalid."
  36. DV_ERR_PARAM2 "Param2 invalid."
  37. DV_ERR_CONFIG1 "Configuration parameter 1 invalid."
  38. DV_ERR_CONFIG2 "Configuration parameter 2 invalid."
  39. DV_ERR_FLAGS "Flags parameter invalid."
  40. DV_ERR_13 "Error 13."
  41. DV_ERR_NOTSUPPORTED "Unsupported function."
  42. DV_ERR_NOMEM "Out of memory."
  43. DV_ERR_ALLOCATED "Device is already in use."
  44. DV_ERR_BADDEVICEID "Invalid device ID."
  45. DV_ERR_INVALHANDLE "Invalid handle."
  46. DV_ERR_BADERRNUM "Invalid error number."
  47. DV_ERR_NO_BUFFERS "No buffers are available."
  48. DV_ERR_MEM_CONFLICT "Memory conflict / problem detected."
  49. DV_ERR_IO_CONFLICT "I/O address conflict detected."
  50. DV_ERR_DMA_CONFLICT "DMA conflict detected."
  51. DV_ERR_INT_CONFLICT "Interrupt conflict / problem detected."
  52. DV_ERR_PROTECT_ONLY "Driver cannot run in Standard mode, requires Enhanced mode."
  53. IDS_CAP_BEGIN "Capture Start"
  54. IDS_CAP_END "Capture End"
  55. IDS_CAP_INFO "%s"
  56. IDS_CAP_DEFAVIEXT "avi"
  57. IDS_CAP_DEFPALEXT "pal"
  58. IDS_CAP_ERRORPALOPEN "Error opening palette '%s'"
  59. IDS_CAP_ERRORPALSAVE "Error saving palette '%s'"
  60. IDS_CAP_ERRORDIBSAVE "Error saving frame '%s'"
  61. IDS_CAP_CANTOPEN "Cannot open '%s'"
  62. IDS_CAP_OUTOFMEM "Out of memory"
  63. IDS_CAP_FILEEXISTS "File '%s' exists -- overwrite it?"
  64. IDS_CAP_VIDEDITERR "An error occurred while trying to run VidEdit."
  65. IDS_CAP_READONLYFILE "The file '%s' is a read-only file."
  66. IDS_CAP_WRITEERROR "Unable to write to file '%s'.\nDisk may be full."
  67. IDS_CAP_NODISKSPACE "There is no space to create a capture file on the specified device."
  68. IDS_CAP_SETFILESIZE "Set File Size"
  69. IDS_CAP_SAVEASPERCENT "SaveAs: %2ld%% Hit Escape to abort."
  70. IDS_CAP_WAVE_OPEN_ERROR "Error: Cannot open the wave input device.\nCheck sample size, frequency, and channels."
  71. IDS_CAP_WAVE_ALLOC_ERROR "Error: Out of memory for wave buffers."
  72. IDS_CAP_WAVE_PREPARE_ERROR "Error: Cannot prepare wave buffers."
  73. IDS_CAP_WAVE_ADD_ERROR "Error: Cannot add wave buffers."
  74. IDS_CAP_WAVE_SIZE_ERROR "Error: Bad wave size."
  75. IDS_CAP_VIDEO_OPEN_ERROR "Error: Cannot open the video input device."
  76. IDS_CAP_VIDEO_ALLOC_ERROR "Error: Out of memory for video buffers."
  77. IDS_CAP_VIDEO_PREPARE_ERROR "Error: Cannot prepare video buffers."
  78. IDS_CAP_VIDEO_ADD_ERROR "Error: Cannot add video buffers."
  79. IDS_CAP_VIDEO_SIZE_ERROR "Error: Bad video size."
  80. IDS_CAP_FILE_OPEN_ERROR "Error: Cannot open capture file."
  81. IDS_CAP_FILE_WRITE_ERROR "Error: Cannot write to capture file. Disk may be full."
  82. IDS_CAP_RECORDING_ERROR "Error: Cannot write to capture file. Data rate too high or disk full."
  83. IDS_CAP_RECORDING_ERROR2 "Error while recording"
  84. IDS_CAP_NO_FRAME_CAP_ERROR "Warning: No frames captured.\nConfirm that vertical sync interrupts\nare configured and enabled."
  85. IDS_CAP_NO_PALETTE_WARN "Warning: Using default palette."
  86. IDS_CAP_MCI_CONTROL_ERROR "Error: Unable to access MCI device."
  87. IDS_CAP_MCI_CANT_STEP_ERROR "Error: Unable to step MCI device."
  88. IDS_CAP_NO_AUDIO_CAP_ERROR "Error: No audio data captured.\nCheck audio card settings."
  89. IDS_CAP_AVI_INIT_ERROR "Error: Unable to initialize for capture."
  90. IDS_CAP_AVI_DRAWDIB_ERROR "Error: Unable to draw this data format."
  91. IDS_CAP_COMPRESSOR_ERROR "Error: Unable to initialize compressor."
  92. IDS_CAP_AUDIO_DROP_ERROR "Error: Audio data was lost during capture; reduce capture rate."
  93. IDS_CAP_AUDIO_DROP_COMPERROR "Error: Audio data was lost during capture; try capturing without compressing."
  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. IDS_CAP_RTL "0=rtl"
  113. END