update for HEAD-2003091401
[reactos.git] / lib / winmm / winmm.rc
index b40fb9e..61cccbc 100644 (file)
@@ -1,8 +1,285 @@
 #include <defines.h>
 #include <reactos/resource.h>
+#include <mmsystem.h>
 
 LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
 
+
+/*
+ *  These strings are exactly as the original winmm's. I think we might be
+ *  able to improve on them, as most of them are meaningless to the end
+ *  user! Also, translations need to be done
+*/
+
+STRINGTABLE
+{
+    MMSYSERR_NOERROR,       "The specified command was carried out."
+    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 tak. 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."
+}
+
+STRINGTABLE
+{
+    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."
+}
+
+STRINGTABLE
+{
+    WAVERR_BADFORMAT,       "The specified format is not supported or cannot be translated.  Use the Capabilities function to determine the supported formats."
+    WAVERR_STILLPLAYING,    "Cannot perform this operation while media data is still playing.  Reset the device, or wait until the data is finished playing."
+    WAVERR_UNPREPARED,      "The wave header was not prepared.  Use the Prepare function to prepare the header, and then try again."
+    WAVERR_SYNC,            "Cannot open the device without using the WAVE_ALLOWSYNC flag.  Use the flag, and then try again."
+}
+
+STRINGTABLE
+{
+    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."
+    MIDIERR_DONT_CONTINUE,  "Driver condition - do not callback this input event"
+}
+
+
+STRINGTABLE
+{
+    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."
+}
+
+STRINGTABLE
+{
+    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_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_DEVICE_TYPE_REQUIRED,    "Cannot find the specified device.  Make sure it is installed or that the device name is spelled correctly."
+}
+
+
+STRINGTABLE
+{
+    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_NONAPPLICABLE_FUNCTION,  "Cannot carry out the commands in the order specified.  Correct the command sequence, and then try again."
+    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."
+}
+
+STRINGTABLE
+{
+    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.  Use the Add/Remove Hardware Wizard in Control Panel to install the device."
+    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."
+}
+
+
+STRINGTABLE
+{
+    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 that can play files in the current format is installed.  Use the Add/Remove Hardware Wizard in Control Panel to install the wave device."
+    MCIERR_WAVE_SETOUTPUTUNSUITABLE,"The device you are trying to play to cannot recognize the current file format."
+    MCIERR_WAVE_INPUTSUNSUITABLE,   "No wave device that can record files in the current format is installed.  Use the Add/Remove Hardware Wizard in Control Panel to install the wave device."
+    MCIERR_WAVE_SETINPUTUNSUITABLE, "The device you are trying to record from cannot recognize the current file format."
+}
+
+
+STRINGTABLE
+{
+    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.  Use the Add/Remove Hardware Wizard in Control Panel to install the driver."
+    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.  Use the Add/Remove Hardware Wizard in Control Panel to install the driver."
+    MCIERR_NO_WINDOW,               "There is no display window."
+    MCIERR_CREATEWINDOW,            "Could not create or use window."
+    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_NO_IDENTITY,             "Cannot determine media identity or universal product code."
+}
+
+STRINGTABLE
+{
+MCI_DEVTYPE_VCR,            "vcr"
+MCI_DEVTYPE_VIDEODISC,      "videodisc"
+MCI_DEVTYPE_OVERLAY,        "overlay"
+MCI_DEVTYPE_CD_AUDIO,       "cdaudio"
+MCI_DEVTYPE_DAT,            "dat"
+MCI_DEVTYPE_SCANNER,        "scanner"
+MCI_DEVTYPE_ANIMATION,      "animation"
+MCI_DEVTYPE_DIGITAL_VIDEO,  "digitalvideo"
+MCI_DEVTYPE_OTHER,          "other"
+MCI_DEVTYPE_WAVEFORM_AUDIO, "waveaudio"
+MCI_DEVTYPE_SEQUENCER,      "sequencer"
+MCI_MODE_NOT_READY,         "not ready"
+MCI_MODE_STOP,              "stopped"
+MCI_MODE_PLAY,              "playing"
+MCI_MODE_RECORD,            "recording"
+}
+
+STRINGTABLE
+{
+MCI_MODE_SEEK,      "seeking"
+MCI_MODE_PAUSE,     "paused"
+MCI_MODE_OPEN,      "open"
+531,    "false"
+532,    "true"
+533,    "milliseconds"
+534,    "hms"
+535,    "msf"
+536,    "frames"
+537,    "smpte 24"
+538,    "smpte 25"
+539,    "smpte 30"
+540,    "smpte 30 drop"
+541,    "bytes"
+542,    "samples"
+543,    "tmsf"
+}
+
+STRINGTABLE
+{
+1025,   "parked"
+1026,   "CLV"
+1027,   "CAV"
+1028,   "other"
+1029,   "track"
+}
+
+STRINGTABLE
+{
+1152,   "pcm"
+1153,   "mapper"
+}
+
+STRINGTABLE
+{
+1216,   "PPQN"
+1217,   "SMPTE 24 Frame"
+1218,   "SMPTE 25 Frame"
+1219,   "SMPTE 30 Drop Frame"
+1220,   "SMPTE 30 Frame"
+1222,   "file"
+1223,   "midi"
+1224,   "smpte"
+1225,   "song pointer"
+1226,   "none"
+1227,   "mapper"
+}
+
+STRINGTABLE
+LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
+{
+2001,   "Unknown error returned from MCI command"
+}
+
+STRINGTABLE
+{
+3000,   "SystemAsterisk"
+3001,   "SystemQuestion"
+3002,   "SystemHand"
+3003,   "SystemExit"
+3004,   "SystemStart"
+3006,   "SystemExclamation"
+3007,   ".Default"
+}
+
+STRINGTABLE
+{
+3008,   "Program error"
+3009,   "Close program"
+3010,   "Empty Recycle Bin"
+3011,   "Maximize"
+3012,   "Menu command"
+3013,   "Menu popup"
+3014,   "Minimize"
+3015,   "Open program"
+3016,   "Restore Down"
+3017,   "Restore Up"
+3018,   "Incoming Call"
+3019,   "Outgoing Call"
+3020,   "Asterisk"
+3021,   "Default Beep"
+3022,   "Exclamation"
+3023,   "Exit Windows"
+}
+
+STRINGTABLE
+{
+3024,   "Critical Stop"
+3025,   "Question"
+3026,   "Start Windows"
+3027,   "Windows"
+3028,   "Windows Explorer"
+}
+
+
+
 VS_VERSION_INFO VERSIONINFO
        FILEVERSION     RES_UINT_FV_MAJOR,RES_UINT_FV_MINOR,RES_UINT_FV_REVISION,RES_UINT_FV_BUILD
        PRODUCTVERSION  RES_UINT_PV_MAJOR,RES_UINT_PV_MINOR,RES_UINT_PV_REVISION,RES_UINT_PV_BUILD