/****************************************************************************
 *
 *   avicap.rc
 * 
 *   Resources
 *
 *   Microsoft Video for Windows Sample Capture Class
 *
 *   Copyright (c) 1992, 1993 Microsoft Corporation.  All Rights Reserved.
 *
 *    You have a royalty-free right to use, modify, reproduce and 
 *    distribute the Sample Files (and/or any modified version) in 
 *    any way you find useful, provided that you agree that 
 *    Microsoft has no warranty obligations or liability for any 
 *    Sample Application Files which are modified. 
 *
 ***************************************************************************/

#include <windows.h>
#include <verinfo.h>
#include "avicap.h"  
#include "avicapi.h"
#include "avicap.rcv"

SAVEAVIFILTER RCDATA
BEGIN
        "Microsoft AVI\0",
        "*.avi\0",
        "\0"
END


OPENAVIFILTER RCDATA
BEGIN
        "Microsoft AVI\0",
        "*.avi\0",
        "All Files\0",
        "*.*\0",
        "\0"
END


SAVEDIBFILTER RCDATA
BEGIN
        "Microsoft Windows DIB\0",
        "*.dib;*.bmp\0",
        "\0"
END


STRINGTABLE
BEGIN
        IDS_CAP_BEGIN               "Capture Start"
        IDS_CAP_END                 "Capture End"
        IDS_CAP_INFO                "%s"
        IDS_CAP_DEFAVIEXT           "avi"
        IDS_CAP_DEFPALEXT           "pal"
        IDS_CAP_ERRORPALOPEN        "Error opening palette '%s'"
        IDS_CAP_ERRORPALSAVE        "Error saving palette '%s'"
        IDS_CAP_ERRORDIBSAVE        "Error saving frame '%s'"
        IDS_CAP_CANTOPEN            "Cannot open '%s'"
        IDS_CAP_OUTOFMEM            "Out of memory"
        IDS_CAP_FILEEXISTS          "File '%s' exists -- overwrite it?"
        IDS_CAP_VIDEDITERR          "An error occurred while trying to run VidEdit."
        IDS_CAP_READONLYFILE        "The file '%s' is a read-only file."
        IDS_CAP_WRITEERROR          "Unable to write to file '%s'.\nDisk may be full."
        IDS_CAP_NODISKSPACE         "There is no space to create a capture file on the specified device."
        IDS_CAP_SETFILESIZE         "Set File Size"
        IDS_CAP_SAVEASPERCENT       "SaveAs: %2ld%%  Hit Escape to abort."

        IDS_CAP_WAVE_OPEN_ERROR     "Error: Cannot open the wave input device.\nCheck sample size, frequency, and channels."
        IDS_CAP_WAVE_ALLOC_ERROR    "Error: Out of memory for wave buffers."
        IDS_CAP_WAVE_PREPARE_ERROR  "Error: Cannot prepare wave buffers."
        IDS_CAP_WAVE_ADD_ERROR      "Error: Cannot add wave buffers."
        IDS_CAP_WAVE_SIZE_ERROR     "Error: Bad wave size."

        IDS_CAP_VIDEO_OPEN_ERROR    "Error: Cannot open the video input device."
        IDS_CAP_VIDEO_ALLOC_ERROR   "Error: Out of memory for video buffers."
        IDS_CAP_VIDEO_PREPARE_ERROR "Error: Cannot prepare video buffers."
        IDS_CAP_VIDEO_ADD_ERROR     "Error: Cannot add video buffers."
        IDS_CAP_VIDEO_SIZE_ERROR    "Error: Bad video size."

        IDS_CAP_FILE_OPEN_ERROR     "Error: Cannot open capture file."
        IDS_CAP_FILE_WRITE_ERROR    "Error: Cannot write to capture file.  Disk may be full."
        IDS_CAP_RECORDING_ERROR     "Error: Cannot write to capture file.  Data rate too high or disk full."
        IDS_CAP_RECORDING_ERROR2    "Error while recording"
        IDS_CAP_NO_FRAME_CAP_ERROR  "Warning: No frames captured.\nConfirm that vertical sync interrupts\nare configured and enabled."
        IDS_CAP_NO_PALETTE_WARN     "Warning: Using default palette."
        IDS_CAP_MCI_CONTROL_ERROR   "Error: Unable to access MCI device."
        IDS_CAP_MCI_CANT_STEP_ERROR "Error: Unable to step MCI device."
        IDS_CAP_NO_AUDIO_CAP_ERROR  "Error: No audio data captured.\nCheck audio card settings."
        IDS_CAP_AVI_INIT_ERROR      "Error: Unable to initialize for capture."
        IDS_CAP_AVI_DRAWDIB_ERROR   "Error: Unable to draw this data format."
        IDS_CAP_COMPRESSOR_ERROR    "Error: Unable to initialize compressor."
        IDS_CAP_AUDIO_DROP_ERROR    "Error: Audio data was lost during capture, reduce capture rate."

        /* status */
        IDS_CAP_STAT_LIVE_MODE      "Live window"
        IDS_CAP_STAT_OVERLAY_MODE   "Overlay window"
        IDS_CAP_STAT_CAP_INIT       "Setting up for capture - Please wait"
        IDS_CAP_STAT_CAP_FINI       "Finished capture, now writing frame %ld"
        IDS_CAP_STAT_PALETTE_BUILD  "Building palette map"
        IDS_CAP_STAT_OPTPAL_BUILD   "Computing optimal palette"
        IDS_CAP_STAT_I_FRAMES       "%d frames"
        IDS_CAP_STAT_L_FRAMES       "%ld frames"
        IDS_CAP_STAT_CAP_L_FRAMES   "Captured %ld frames"
        IDS_CAP_STAT_CAP_AUDIO      "Capturing audio"
        IDS_CAP_STAT_VIDEOCURRENT   "Captured %ld frames (%ld dropped) %d.%03d sec."
        IDS_CAP_STAT_VIDEOAUDIO     "Captured %d.%03d sec.  %ld frames (%ld dropped) (%d.%03d fps).  %ld audio bytes (%d,%03d sps)"
        IDS_CAP_STAT_VIDEOONLY      "Captured %d.%03d sec.  %ld frames (%ld dropped) (%d.%03d fps)"
        IDS_CAP_STAT_FRAMESDROPPED  "Dropped %ld of %ld frames (%d.%02d%%) during capture."

        /* capture dialog strings */
        IDS_CAP_SEQ_MSGSTART        "Select OK to start capture\nof video sequence\nto %s."
        IDS_CAP_SEQ_MSGSTOP         "Hit ESCAPE or click to end capture"

        IDS_CAP_RTL                 "0=rtl"
END