#if 0
Copyright (c) 1991-1998 Microsoft Corporation
#endif

#define _NTIMAGE_

#define MMNOSOUND
#define MMNOSEQ
#define MMNOTIMER
#define MMNOJOY

#define NOTIMERDEV
#define NOJOYDEV
#define NOSEQDEV
#define NOTASKDEV
#include "winmmi.h"
#include "mci.h"

IDI_MCIHWND ICON Mcihwnd.ico

STRINGTABLE
begin
   0,			        "The specified command was carried out."

   STR_MCIUNKNOWN,              "Unknown error returned from MCI command"
//   STR_WAVEINPUT,               "Wave Input: "
//   STR_WAVEOUTPUT,              "Wave Output: "
//   STR_MIDIINPUT,               "Midi Input: "
//   STR_MIDIOUTPUT,              "Midi Output: "
#ifdef DEBUG
   STR_MCISSERRTXT,             "Error in mciSendString but could not get text"
   STR_MCISCERRTXT,             "Error in mciSendCommand but could not get text"
#endif
   MMSYSERR_ERROR,	        "Undefined external error."
   MMSYSERR_BADDEVICEID,        "A device ID has been used that is out of range for your system."
   MMSYSERR_NOTENABLED,         "The driver was not enabled."
   MMSYSERR_ALLOCATED,          "The specified device is already in use.  Wait until it is free, and then try again."
   MMSYSERR_INVALHANDLE,        "The specified device handle is invalid."
   MMSYSERR_NODRIVER,	        "There is no driver installed on your system."
   MMSYSERR_NOMEM,	        "There is not enough memory available for this task.  Quit one or more applications to increase available memory, and then try again."
   MMSYSERR_NOTSUPPORTED,       "This function is not supported.  Use the Capabilities function to determine which functions and messages the driver supports."
   MMSYSERR_BADERRNUM,          "An error number was specified that is not defined in the system."
   MMSYSERR_INVALFLAG,          "An invalid flag was passed to a system function."
   MMSYSERR_INVALPARAM,         "An invalid parameter was passed to a system function."
   MMSYSERR_HANDLEBUSY          "Handle being used simultaneously on another thread (eg callback)."
   MMSYSERR_INVALIDALIAS,       "Specified alias not found in WIN.INI."
   MMSYSERR_BADDB,              "The registry database is corrupt."
   MMSYSERR_KEYNOTFOUND,        "The specified registry key was not found."
   MMSYSERR_READERROR,          "The registry could not be opened or could not be read."
   MMSYSERR_WRITEERROR,         "The registry could not be written to."
   MMSYSERR_DELETEERROR,        "The specified registry key could not be deleted."
   MMSYSERR_VALNOTFOUND,        "The specified registry key value could not be found."
   MMSYSERR_NODRIVERCB,         "The driver did not generate a valid OPEN callback."

   WAVERR_BADFORMAT,            "The specified format is not supported or cannot be translated.  Use the Capabilities function to determine the supported formats."
   WAVERR_UNPREPARED,           "The wave header was not prepared.  Use the Prepare function to prepare the header, and then try again."
   WAVERR_STILLPLAYING,         "Cannot perform this operation while media data is still playing.  Reset the device, or wait until the data is finished playing."
   WAVERR_SYNC,                 "Cannot open the device without using the WAVE_ALLOWSYNC flag.  Use the flag, and then try again."

   MIDIERR_UNPREPARED,          "The MIDI header was not prepared.  Use the Prepare function to prepare the header, and then try again."
   MIDIERR_STILLPLAYING,        "Cannot perform this operation while media data is still playing.  Reset the device, or wait until the data is finished playing."
   MIDIERR_NOMAP,               "A MIDI map was not found.  There may be a problem with the driver, or the MIDIMAP.CFG file may be corrupt or missing."
   MIDIERR_NOTREADY,            "The port is transmitting data to the device.  Wait until the data has been transmitted, and then try again."
   MIDIERR_NODEVICE,            "The current MIDI Mapper setup refers to a MIDI device that is not installed on the system.  Use MIDI Mapper to edit the setup."
   MIDIERR_INVALIDSETUP,        "The current MIDI setup is damaged.  Copy the original MIDIMAP.CFG file to the Windows SYSTEM directory, and then try again."
   MIDIERR_BADOPENMODE,         "A MIDI call was made which is invalid with the current open mode. Reopen the device with the correct mode."

// This is an internal driver return which will never be propogated out
// of MMSYSTEM.
   MIDIERR_DONT_CONTINUE,       "Driver condition - do not callback this input event"

   MCIERR_INVALID_DEVICE_ID,        "Invalid MCI device ID.  Use the ID returned when opening the MCI device."
   MCIERR_UNRECOGNIZED_KEYWORD,     "The driver cannot recognize the specified command parameter."
   MCIERR_UNRECOGNIZED_COMMAND,     "The driver cannot recognize the specified command."
   MCIERR_HARDWARE,                 "There is a problem with your media device.  Make sure it is working correctly or contact the device manufacturer."
   MCIERR_INVALID_DEVICE_NAME,      "The specified device is not open or is not recognized by MCI."
   MCIERR_OUT_OF_MEMORY,            "Not enough memory available for this task.\n\nQuit one or more applications to increase available memory, and then try again."
   MCIERR_DEVICE_OPEN,              "The device name is already being used as an alias by this application.  Use a unique alias."
   MCIERR_CANNOT_LOAD_DRIVER,       "Unknown problem while loading the specified device driver."
   MCIERR_MISSING_COMMAND_STRING,   "No command was specified."
   MCIERR_PARAM_OVERFLOW,           "The output string was too large to fit in the return buffer.  Increase the size of the buffer."
   MCIERR_MISSING_STRING_ARGUMENT,  "The specified command requires a character-string parameter.  Please provide one."
   MCIERR_BAD_INTEGER,              "The specified integer is invalid for this command."
   MCIERR_PARSER_INTERNAL,          "The device driver returned an invalid return type.  Check with the device manufacturer about obtaining a new driver."
   MCIERR_DRIVER_INTERNAL,          "There is a problem with the device driver.  Check with the device manufacturer about obtaining a new driver."
   MCIERR_MISSING_PARAMETER,        "The specified command requires a parameter.  Please supply one."
   MCIERR_UNSUPPORTED_FUNCTION,     "The MCI device you are using does not support the specified command."
   MCIERR_NONAPPLICABLE_FUNCTION,   "Cannot carry out the commands in the order specified.  Correct the command sequence, and then try again."
   MCIERR_FILE_NOT_FOUND,           "Cannot find the specified file.  Make sure the path and filename are correct."
   MCIERR_DEVICE_NOT_READY,         "The device driver is not ready."
   MCIERR_INTERNAL,                 "A problem occurred in initializing MCI."
   MCIERR_DRIVER,                   "There is a problem with the device driver.  The driver has closed.  Cannot access error."
   MCIERR_CANNOT_USE_ALL,           "Cannot use 'all' as the device name with the specified command."
   MCIERR_MULTIPLE,                 "Errors occurred in more than one device.  Specify each command and device separately to determine which devices caused the errors."
   MCIERR_EXTENSION_NOT_FOUND,      "Cannot determine the device type from the given filename extension."
   MCIERR_OUTOFRANGE,	            "The specified parameter is out of range for the specified command."
   MCIERR_FLAGS_NOT_COMPATIBLE,     "The specified parameters cannot be used together."
   MCIERR_FILE_NOT_SAVED,           "Cannot save the specified file.  Make sure you have enough disk space or are still connected to the network."
   MCIERR_FILE_READ,                "Cannot read the specified file.  Make sure the file is still present, or check your disk or network connection."
   MCIERR_FILE_WRITE,               "Cannot write to the specified file.  Make sure you have enough disk space or are still connected to the network."
   MCIERR_DEVICE_LOCKED,            "The specified device is now being closed.  Wait a few seconds, and then try again."
   MCIERR_DUPLICATE_ALIAS,          "The specified alias is already being used in this application.  Use a unique alias."
   MCIERR_BAD_CONSTANT,             "The specified parameter is invalid for this command."
   MCIERR_MUST_USE_SHAREABLE,       "The device driver is already in use.  To share it, use the 'shareable' parameter with each 'open' command."
   MCIERR_MISSING_DEVICE_NAME,      "The specified command requires an alias, file, driver, or device name.  Please supply one."
   MCIERR_BAD_TIME_FORMAT,          "The specified value for the time format is invalid.  Refer to the MCI documentation for valid formats."
   MCIERR_NO_CLOSING_QUOTE,         "A closing double-quotation mark is missing from the parameter value.  Please supply one."
   MCIERR_DUPLICATE_FLAGS,          "A parameter or value was specified twice.  Only specify it once."
   MCIERR_INVALID_FILE,		    "The specified file cannot be played on the specified MCI device.  The file may be corrupt, not in the correct format, or no file handler available for this format."
   MCIERR_NULL_PARAMETER_BLOCK,     "A null parameter block was passed to MCI."
   MCIERR_UNNAMED_RESOURCE,	    "Cannot save an unnamed file.  Supply a filename."
   MCIERR_NEW_REQUIRES_ALIAS,       "You must specify an alias when using the 'new' parameter."
   MCIERR_NOTIFY_ON_AUTO_OPEN,      "Cannot use the 'notify' flag with auto-opened devices."
   MCIERR_NO_ELEMENT_ALLOWED,       "Cannot use a filename with the specified device."
   MCIERR_ILLEGAL_FOR_AUTO_OPEN,    "Cannot carry out the specified command on an auto-opened device.  Wait until the device is closed, and then try again."
   MCIERR_FILENAME_REQUIRED,        "The filename is invalid.  Make sure the filename is not longer than 8 characters, followed by a period and an extension."
   MCIERR_EXTRA_CHARACTERS,         "Cannot specify extra characters after a string enclosed in quotation marks."
   MCIERR_DEVICE_NOT_INSTALLED,     "The specified device is not installed on the system. To install the device, go to Control Panel, click Printers and Other Hardware, and then click Add Hardware."
   MCIERR_GET_CD,                   "Cannot access the specified file or MCI device.  Try changing directories or restarting your computer."
   MCIERR_SET_CD,                   "Cannot access the specified file or MCI device because the application cannot change directories."
   MCIERR_SET_DRIVE,                "Cannot access specified file or MCI device because the application cannot change drives."
   MCIERR_DEVICE_LENGTH,            "Specify a device or driver name that is less than 79 characters."
   MCIERR_DEVICE_ORD_LENGTH,        "Specify a device or driver name that is less than 69 characters."
   MCIERR_NO_INTEGER,               "The specified command requires an integer parameter.  Please provide one."

   MCIERR_WAVE_OUTPUTSINUSE,        "All wave devices that can play files in the current format are in use.  Wait until a wave device is free, and then try again."
   MCIERR_WAVE_SETOUTPUTINUSE,      "Cannot set the current wave device for play back because it is in use.  Wait until the device is free, and then try again."
   MCIERR_WAVE_INPUTSINUSE,         "All wave devices that can record files in the current format are in use.  Wait until a wave device is free, and then try again."
   MCIERR_WAVE_SETINPUTINUSE,       "Cannot set the current wave device for recording because it is in use.  Wait until the device is free, and then try again."
   MCIERR_WAVE_OUTPUTUNSPECIFIED,   "Any compatible waveform playback device may be used."
   MCIERR_WAVE_INPUTUNSPECIFIED,    "Any compatible waveform recording device may be used."
   MCIERR_WAVE_OUTPUTSUNSUITABLE,   "No wave device is installed that can play files in the current format. To install a wave device, go to Control Panel, click Printers and Other Hardware, and then click Add Hardware."
   MCIERR_WAVE_SETOUTPUTUNSUITABLE, "The device you are trying to play to cannot recognize the current file format."
   MCIERR_WAVE_INPUTSUNSUITABLE,    "No wave device is installed that can record files in the current format. To install a wave device, go to Control Panel, click Printers and Other Hardware, and then click Add Hardware."
   MCIERR_WAVE_SETINPUTUNSUITABLE,  "The device you are trying to record from cannot recognize the current file format."

   MCIERR_SEQ_DIV_INCOMPATIBLE,     "Cannot use the song-pointer time format and the SMPTE time-format together."
   MCIERR_SEQ_PORT_INUSE,	    "The specified MIDI device is already in use.  Wait until it is free, and then try again."
   MCIERR_SEQ_PORT_NONEXISTENT,	    "The specified MIDI device is not installed on the system. To install the driver, go to Control Panel, click Printers and Other Hardware, and then click Add Hardware."
   MCIERR_SEQ_PORT_MAPNODEVICE,	    "The current MIDI Mapper setup refers to a MIDI device that is not installed on the system.  Use MIDI Mapper to edit the setup."
   MCIERR_SEQ_PORT_MISCERROR,	    "An error occurred using the specified port."
   MCIERR_SEQ_TIMER,		    "All multimedia timers are being used by other applications.  Quit one of these applications, and then try again."
   MCIERR_SEQ_PORTUNSPECIFIED,      "There is no current MIDI port."
   MCIERR_SEQ_NOMIDIPRESENT,        "There are no MIDI devices installed on the system. To install the driver, go to Control Panel, click Printers and Other Hardware, and then click Add Hardware."

   MCIERR_NO_WINDOW,                "There is no display window."
   MCIERR_CREATEWINDOW,             "Could not create or use window."

   MCIERR_DEVICE_TYPE_REQUIRED,     "Cannot find the specified device.  Make sure it is installed or that the device name is spelled correctly."

   MCIERR_NO_IDENTITY,              "Cannot determine media identity or universal product code."

   MCI_FALSE,  	                    "false"
   MCI_TRUE,                        "true"

   MCI_DEVTYPE_ANIMATION,           "animation"
   MCI_DEVTYPE_CD_AUDIO,            "cdaudio"
   MCI_DEVTYPE_DAT,                 "dat"
   MCI_DEVTYPE_DIGITAL_VIDEO,       "digitalvideo"
   MCI_DEVTYPE_OTHER,               "other"
   MCI_DEVTYPE_OVERLAY,             "overlay"
   MCI_DEVTYPE_SCANNER,             "scanner"
   MCI_DEVTYPE_SEQUENCER,           "sequencer"
   MCI_DEVTYPE_VCR,                 "vcr"
   MCI_DEVTYPE_VIDEODISC,           "videodisc"
   MCI_DEVTYPE_WAVEFORM_AUDIO,      "waveaudio"

   MCI_MODE_NOT_READY,              "not ready"
   MCI_MODE_STOP,                   "stopped"
   MCI_MODE_PLAY,                   "playing"
   MCI_MODE_RECORD,                 "recording"
   MCI_MODE_SEEK,                   "seeking"
   MCI_MODE_PAUSE,                  "paused"
   MCI_MODE_OPEN,                   "open"

   MCI_FORMAT_MILLISECONDS_S,       "milliseconds"
   MCI_FORMAT_HMS_S,                "hms"
   MCI_FORMAT_MSF_S,                "msf"
   MCI_FORMAT_FRAMES_S,             "frames"
   MCI_FORMAT_SMPTE_24_S,           "smpte 24"
   MCI_FORMAT_SMPTE_25_S,           "smpte 25"
   MCI_FORMAT_SMPTE_30_S,           "smpte 30"
   MCI_FORMAT_SMPTE_30DROP_S,       "smpte 30 drop"
   MCI_FORMAT_BYTES_S,              "bytes"
   MCI_FORMAT_SAMPLES_S,            "samples"
   MCI_FORMAT_TMSF_S,               "tmsf"

   MCI_VD_MODE_PARK,                "parked"
   MCI_VD_MEDIA_CAV,                "CAV"
   MCI_VD_MEDIA_CLV,                "CLV"
   MCI_VD_MEDIA_OTHER,		    "other"
   MCI_VD_FORMAT_TRACK_S,           "track"

   MCI_SEQ_DIV_PPQN,		    "PPQN"
   MCI_SEQ_DIV_SMPTE_24, 	    "SMPTE 24 Frame"
   MCI_SEQ_DIV_SMPTE_25, 	    "SMPTE 25 Frame"
   MCI_SEQ_DIV_SMPTE_30DROP,	    "SMPTE 30 Drop Frame"
   MCI_SEQ_DIV_SMPTE_30, 	    "SMPTE 30 Frame"
   MIDIMAPPER_S,                    "mapper"
   MCI_SEQ_FILE_S,                  "file"
   MCI_SEQ_MIDI_S,                  "midi"
   MCI_SEQ_SMPTE_S,                 "smpte"
   MCI_SEQ_FORMAT_SONGPTR_S,        "song pointer"
   MCI_SEQ_NONE_S,                  "none"

   WAVE_FORMAT_PCM_S,		    "pcm"
   WAVE_MAPPER_S,   		    "mapper"
/*
 * MCI_WAVE_PCM,		    "pcm"
 * MCI_WAVE_MAPPER,		    "mapper"
 */
   STR_ALIAS_SYSTEMASTERISK,       "SystemAsterisk"
   STR_ALIAS_SYSTEMQUESTION,       "SystemQuestion"
   STR_ALIAS_SYSTEMHAND,           "SystemHand"
   STR_ALIAS_SYSTEMEXIT,           "SystemExit"
   STR_ALIAS_SYSTEMSTART,          "SystemStart"
   STR_ALIAS_SYSTEMEXCLAMATION,    "SystemExclamation"
   STR_ALIAS_SYSTEMDEFAULT,        ".Default"

   STR_JOYSTICKNAME,		   "Microsoft PC-joystick driver"

   STR_LABEL_APPGPFAULT,           "Program error"
   STR_LABEL_CLOSE,                "Close program"
   STR_LABEL_EMPTYRECYCLEBIN,      "Empty Recycle Bin"
   STR_LABEL_MAXIMIZE,             "Maximize"
   STR_LABEL_MENUCOMMAND,          "Menu command"
   STR_LABEL_MENUPOPUP,            "Menu popup"
   STR_LABEL_MINIMIZE,             "Minimize"
   STR_LABEL_OPEN,                 "Open program"
   STR_LABEL_RESTOREDOWN,          "Restore Down"
   STR_LABEL_RESTOREUP,            "Restore Up"
   STR_LABEL_RINGIN,               "Incoming Call"
   STR_LABEL_RINGOUT,              "Outgoing Call"
   STR_LABEL_SYSTEMASTERISK,       "Asterisk"
   STR_LABEL_SYSTEMDEFAULT,        "Default Beep"
   STR_LABEL_SYSTEMEXCLAMATION,    "Exclamation"
   STR_LABEL_SYSTEMEXIT,           "Exit Windows"
   STR_LABEL_SYSTEMHAND,           "Critical Stop"
   STR_LABEL_SYSTEMQUESTION,       "Question"
   STR_LABEL_SYSTEMSTART,          "Start Windows"

   STR_WINDOWS_APP_NAME,           "Windows"
   STR_EXPLORER_APP_NAME,          "Windows Explorer"

end

#include "mci.rc"

#include <ntverp.h>

#define VER_FILETYPE              VFT_DLL
#define VER_FILESUBTYPE           VFT2_UNKNOWN
#define VER_FILEDESCRIPTION_STR   "MCI API DLL"
#define VER_INTERNALNAME_STR      "winmm.dll"
#define VER_ORIGINALFILENAME_STR  "WINMM.DLL"

#include <common.ver>