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.

257 lines
17 KiB

  1. #if 0
  2. Copyright (c) 1991-1998 Microsoft Corporation
  3. #endif
  4. #define _NTIMAGE_
  5. #define MMNOSOUND
  6. #define MMNOSEQ
  7. #define MMNOTIMER
  8. #define MMNOJOY
  9. #define NOTIMERDEV
  10. #define NOJOYDEV
  11. #define NOSEQDEV
  12. #define NOTASKDEV
  13. #include "winmmi.h"
  14. #include "mci.h"
  15. IDI_MCIHWND ICON Mcihwnd.ico
  16. STRINGTABLE
  17. begin
  18. 0, "The specified command was carried out."
  19. STR_MCIUNKNOWN, "Unknown error returned from MCI command"
  20. // STR_WAVEINPUT, "Wave Input: "
  21. // STR_WAVEOUTPUT, "Wave Output: "
  22. // STR_MIDIINPUT, "Midi Input: "
  23. // STR_MIDIOUTPUT, "Midi Output: "
  24. #ifdef DEBUG
  25. STR_MCISSERRTXT, "Error in mciSendString but could not get text"
  26. STR_MCISCERRTXT, "Error in mciSendCommand but could not get text"
  27. #endif
  28. MMSYSERR_ERROR, "Undefined external error."
  29. MMSYSERR_BADDEVICEID, "A device ID has been used that is out of range for your system."
  30. MMSYSERR_NOTENABLED, "The driver was not enabled."
  31. MMSYSERR_ALLOCATED, "The specified device is already in use. Wait until it is free, and then try again."
  32. MMSYSERR_INVALHANDLE, "The specified device handle is invalid."
  33. MMSYSERR_NODRIVER, "There is no driver installed on your system."
  34. MMSYSERR_NOMEM, "There is not enough memory available for this task. Quit one or more applications to increase available memory, and then try again."
  35. MMSYSERR_NOTSUPPORTED, "This function is not supported. Use the Capabilities function to determine which functions and messages the driver supports."
  36. MMSYSERR_BADERRNUM, "An error number was specified that is not defined in the system."
  37. MMSYSERR_INVALFLAG, "An invalid flag was passed to a system function."
  38. MMSYSERR_INVALPARAM, "An invalid parameter was passed to a system function."
  39. MMSYSERR_HANDLEBUSY "Handle being used simultaneously on another thread (eg callback)."
  40. MMSYSERR_INVALIDALIAS, "Specified alias not found in WIN.INI."
  41. MMSYSERR_BADDB, "The registry database is corrupt."
  42. MMSYSERR_KEYNOTFOUND, "The specified registry key was not found."
  43. MMSYSERR_READERROR, "The registry could not be opened or could not be read."
  44. MMSYSERR_WRITEERROR, "The registry could not be written to."
  45. MMSYSERR_DELETEERROR, "The specified registry key could not be deleted."
  46. MMSYSERR_VALNOTFOUND, "The specified registry key value could not be found."
  47. MMSYSERR_NODRIVERCB, "The driver did not generate a valid OPEN callback."
  48. WAVERR_BADFORMAT, "The specified format is not supported or cannot be translated. Use the Capabilities function to determine the supported formats."
  49. WAVERR_UNPREPARED, "The wave header was not prepared. Use the Prepare function to prepare the header, and then try again."
  50. WAVERR_STILLPLAYING, "Cannot perform this operation while media data is still playing. Reset the device, or wait until the data is finished playing."
  51. WAVERR_SYNC, "Cannot open the device without using the WAVE_ALLOWSYNC flag. Use the flag, and then try again."
  52. MIDIERR_UNPREPARED, "The MIDI header was not prepared. Use the Prepare function to prepare the header, and then try again."
  53. MIDIERR_STILLPLAYING, "Cannot perform this operation while media data is still playing. Reset the device, or wait until the data is finished playing."
  54. 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."
  55. MIDIERR_NOTREADY, "The port is transmitting data to the device. Wait until the data has been transmitted, and then try again."
  56. 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."
  57. MIDIERR_INVALIDSETUP, "The current MIDI setup is damaged. Copy the original MIDIMAP.CFG file to the Windows SYSTEM directory, and then try again."
  58. MIDIERR_BADOPENMODE, "A MIDI call was made which is invalid with the current open mode. Reopen the device with the correct mode."
  59. // This is an internal driver return which will never be propogated out
  60. // of MMSYSTEM.
  61. MIDIERR_DONT_CONTINUE, "Driver condition - do not callback this input event"
  62. MCIERR_INVALID_DEVICE_ID, "Invalid MCI device ID. Use the ID returned when opening the MCI device."
  63. MCIERR_UNRECOGNIZED_KEYWORD, "The driver cannot recognize the specified command parameter."
  64. MCIERR_UNRECOGNIZED_COMMAND, "The driver cannot recognize the specified command."
  65. MCIERR_HARDWARE, "There is a problem with your media device. Make sure it is working correctly or contact the device manufacturer."
  66. MCIERR_INVALID_DEVICE_NAME, "The specified device is not open or is not recognized by MCI."
  67. 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."
  68. MCIERR_DEVICE_OPEN, "The device name is already being used as an alias by this application. Use a unique alias."
  69. MCIERR_CANNOT_LOAD_DRIVER, "Unknown problem while loading the specified device driver."
  70. MCIERR_MISSING_COMMAND_STRING, "No command was specified."
  71. MCIERR_PARAM_OVERFLOW, "The output string was too large to fit in the return buffer. Increase the size of the buffer."
  72. MCIERR_MISSING_STRING_ARGUMENT, "The specified command requires a character-string parameter. Please provide one."
  73. MCIERR_BAD_INTEGER, "The specified integer is invalid for this command."
  74. MCIERR_PARSER_INTERNAL, "The device driver returned an invalid return type. Check with the device manufacturer about obtaining a new driver."
  75. MCIERR_DRIVER_INTERNAL, "There is a problem with the device driver. Check with the device manufacturer about obtaining a new driver."
  76. MCIERR_MISSING_PARAMETER, "The specified command requires a parameter. Please supply one."
  77. MCIERR_UNSUPPORTED_FUNCTION, "The MCI device you are using does not support the specified command."
  78. MCIERR_NONAPPLICABLE_FUNCTION, "Cannot carry out the commands in the order specified. Correct the command sequence, and then try again."
  79. MCIERR_FILE_NOT_FOUND, "Cannot find the specified file. Make sure the path and filename are correct."
  80. MCIERR_DEVICE_NOT_READY, "The device driver is not ready."
  81. MCIERR_INTERNAL, "A problem occurred in initializing MCI."
  82. MCIERR_DRIVER, "There is a problem with the device driver. The driver has closed. Cannot access error."
  83. MCIERR_CANNOT_USE_ALL, "Cannot use 'all' as the device name with the specified command."
  84. MCIERR_MULTIPLE, "Errors occurred in more than one device. Specify each command and device separately to determine which devices caused the errors."
  85. MCIERR_EXTENSION_NOT_FOUND, "Cannot determine the device type from the given filename extension."
  86. MCIERR_OUTOFRANGE, "The specified parameter is out of range for the specified command."
  87. MCIERR_FLAGS_NOT_COMPATIBLE, "The specified parameters cannot be used together."
  88. MCIERR_FILE_NOT_SAVED, "Cannot save the specified file. Make sure you have enough disk space or are still connected to the network."
  89. MCIERR_FILE_READ, "Cannot read the specified file. Make sure the file is still present, or check your disk or network connection."
  90. MCIERR_FILE_WRITE, "Cannot write to the specified file. Make sure you have enough disk space or are still connected to the network."
  91. MCIERR_DEVICE_LOCKED, "The specified device is now being closed. Wait a few seconds, and then try again."
  92. MCIERR_DUPLICATE_ALIAS, "The specified alias is already being used in this application. Use a unique alias."
  93. MCIERR_BAD_CONSTANT, "The specified parameter is invalid for this command."
  94. MCIERR_MUST_USE_SHAREABLE, "The device driver is already in use. To share it, use the 'shareable' parameter with each 'open' command."
  95. MCIERR_MISSING_DEVICE_NAME, "The specified command requires an alias, file, driver, or device name. Please supply one."
  96. MCIERR_BAD_TIME_FORMAT, "The specified value for the time format is invalid. Refer to the MCI documentation for valid formats."
  97. MCIERR_NO_CLOSING_QUOTE, "A closing double-quotation mark is missing from the parameter value. Please supply one."
  98. MCIERR_DUPLICATE_FLAGS, "A parameter or value was specified twice. Only specify it once."
  99. 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."
  100. MCIERR_NULL_PARAMETER_BLOCK, "A null parameter block was passed to MCI."
  101. MCIERR_UNNAMED_RESOURCE, "Cannot save an unnamed file. Supply a filename."
  102. MCIERR_NEW_REQUIRES_ALIAS, "You must specify an alias when using the 'new' parameter."
  103. MCIERR_NOTIFY_ON_AUTO_OPEN, "Cannot use the 'notify' flag with auto-opened devices."
  104. MCIERR_NO_ELEMENT_ALLOWED, "Cannot use a filename with the specified device."
  105. 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."
  106. MCIERR_FILENAME_REQUIRED, "The filename is invalid. Make sure the filename is not longer than 8 characters, followed by a period and an extension."
  107. MCIERR_EXTRA_CHARACTERS, "Cannot specify extra characters after a string enclosed in quotation marks."
  108. 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."
  109. MCIERR_GET_CD, "Cannot access the specified file or MCI device. Try changing directories or restarting your computer."
  110. MCIERR_SET_CD, "Cannot access the specified file or MCI device because the application cannot change directories."
  111. MCIERR_SET_DRIVE, "Cannot access specified file or MCI device because the application cannot change drives."
  112. MCIERR_DEVICE_LENGTH, "Specify a device or driver name that is less than 79 characters."
  113. MCIERR_DEVICE_ORD_LENGTH, "Specify a device or driver name that is less than 69 characters."
  114. MCIERR_NO_INTEGER, "The specified command requires an integer parameter. Please provide one."
  115. 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."
  116. 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."
  117. 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."
  118. 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."
  119. MCIERR_WAVE_OUTPUTUNSPECIFIED, "Any compatible waveform playback device may be used."
  120. MCIERR_WAVE_INPUTUNSPECIFIED, "Any compatible waveform recording device may be used."
  121. 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."
  122. MCIERR_WAVE_SETOUTPUTUNSUITABLE, "The device you are trying to play to cannot recognize the current file format."
  123. 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."
  124. MCIERR_WAVE_SETINPUTUNSUITABLE, "The device you are trying to record from cannot recognize the current file format."
  125. MCIERR_SEQ_DIV_INCOMPATIBLE, "Cannot use the song-pointer time format and the SMPTE time-format together."
  126. MCIERR_SEQ_PORT_INUSE, "The specified MIDI device is already in use. Wait until it is free, and then try again."
  127. 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."
  128. 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."
  129. MCIERR_SEQ_PORT_MISCERROR, "An error occurred using the specified port."
  130. MCIERR_SEQ_TIMER, "All multimedia timers are being used by other applications. Quit one of these applications, and then try again."
  131. MCIERR_SEQ_PORTUNSPECIFIED, "There is no current MIDI port."
  132. 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."
  133. MCIERR_NO_WINDOW, "There is no display window."
  134. MCIERR_CREATEWINDOW, "Could not create or use window."
  135. MCIERR_DEVICE_TYPE_REQUIRED, "Cannot find the specified device. Make sure it is installed or that the device name is spelled correctly."
  136. MCIERR_NO_IDENTITY, "Cannot determine media identity or universal product code."
  137. MCI_FALSE, "false"
  138. MCI_TRUE, "true"
  139. MCI_DEVTYPE_ANIMATION, "animation"
  140. MCI_DEVTYPE_CD_AUDIO, "cdaudio"
  141. MCI_DEVTYPE_DAT, "dat"
  142. MCI_DEVTYPE_DIGITAL_VIDEO, "digitalvideo"
  143. MCI_DEVTYPE_OTHER, "other"
  144. MCI_DEVTYPE_OVERLAY, "overlay"
  145. MCI_DEVTYPE_SCANNER, "scanner"
  146. MCI_DEVTYPE_SEQUENCER, "sequencer"
  147. MCI_DEVTYPE_VCR, "vcr"
  148. MCI_DEVTYPE_VIDEODISC, "videodisc"
  149. MCI_DEVTYPE_WAVEFORM_AUDIO, "waveaudio"
  150. MCI_MODE_NOT_READY, "not ready"
  151. MCI_MODE_STOP, "stopped"
  152. MCI_MODE_PLAY, "playing"
  153. MCI_MODE_RECORD, "recording"
  154. MCI_MODE_SEEK, "seeking"
  155. MCI_MODE_PAUSE, "paused"
  156. MCI_MODE_OPEN, "open"
  157. MCI_FORMAT_MILLISECONDS_S, "milliseconds"
  158. MCI_FORMAT_HMS_S, "hms"
  159. MCI_FORMAT_MSF_S, "msf"
  160. MCI_FORMAT_FRAMES_S, "frames"
  161. MCI_FORMAT_SMPTE_24_S, "smpte 24"
  162. MCI_FORMAT_SMPTE_25_S, "smpte 25"
  163. MCI_FORMAT_SMPTE_30_S, "smpte 30"
  164. MCI_FORMAT_SMPTE_30DROP_S, "smpte 30 drop"
  165. MCI_FORMAT_BYTES_S, "bytes"
  166. MCI_FORMAT_SAMPLES_S, "samples"
  167. MCI_FORMAT_TMSF_S, "tmsf"
  168. MCI_VD_MODE_PARK, "parked"
  169. MCI_VD_MEDIA_CAV, "CAV"
  170. MCI_VD_MEDIA_CLV, "CLV"
  171. MCI_VD_MEDIA_OTHER, "other"
  172. MCI_VD_FORMAT_TRACK_S, "track"
  173. MCI_SEQ_DIV_PPQN, "PPQN"
  174. MCI_SEQ_DIV_SMPTE_24, "SMPTE 24 Frame"
  175. MCI_SEQ_DIV_SMPTE_25, "SMPTE 25 Frame"
  176. MCI_SEQ_DIV_SMPTE_30DROP, "SMPTE 30 Drop Frame"
  177. MCI_SEQ_DIV_SMPTE_30, "SMPTE 30 Frame"
  178. MIDIMAPPER_S, "mapper"
  179. MCI_SEQ_FILE_S, "file"
  180. MCI_SEQ_MIDI_S, "midi"
  181. MCI_SEQ_SMPTE_S, "smpte"
  182. MCI_SEQ_FORMAT_SONGPTR_S, "song pointer"
  183. MCI_SEQ_NONE_S, "none"
  184. WAVE_FORMAT_PCM_S, "pcm"
  185. WAVE_MAPPER_S, "mapper"
  186. /*
  187. * MCI_WAVE_PCM, "pcm"
  188. * MCI_WAVE_MAPPER, "mapper"
  189. */
  190. STR_ALIAS_SYSTEMASTERISK, "SystemAsterisk"
  191. STR_ALIAS_SYSTEMQUESTION, "SystemQuestion"
  192. STR_ALIAS_SYSTEMHAND, "SystemHand"
  193. STR_ALIAS_SYSTEMEXIT, "SystemExit"
  194. STR_ALIAS_SYSTEMSTART, "SystemStart"
  195. STR_ALIAS_SYSTEMEXCLAMATION, "SystemExclamation"
  196. STR_ALIAS_SYSTEMDEFAULT, ".Default"
  197. STR_JOYSTICKNAME, "Microsoft PC-joystick driver"
  198. STR_LABEL_APPGPFAULT, "Program error"
  199. STR_LABEL_CLOSE, "Close program"
  200. STR_LABEL_EMPTYRECYCLEBIN, "Empty Recycle Bin"
  201. STR_LABEL_MAXIMIZE, "Maximize"
  202. STR_LABEL_MENUCOMMAND, "Menu command"
  203. STR_LABEL_MENUPOPUP, "Menu popup"
  204. STR_LABEL_MINIMIZE, "Minimize"
  205. STR_LABEL_OPEN, "Open program"
  206. STR_LABEL_RESTOREDOWN, "Restore Down"
  207. STR_LABEL_RESTOREUP, "Restore Up"
  208. STR_LABEL_RINGIN, "Incoming Call"
  209. STR_LABEL_RINGOUT, "Outgoing Call"
  210. STR_LABEL_SYSTEMASTERISK, "Asterisk"
  211. STR_LABEL_SYSTEMDEFAULT, "Default Beep"
  212. STR_LABEL_SYSTEMEXCLAMATION, "Exclamation"
  213. STR_LABEL_SYSTEMEXIT, "Exit Windows"
  214. STR_LABEL_SYSTEMHAND, "Critical Stop"
  215. STR_LABEL_SYSTEMQUESTION, "Question"
  216. STR_LABEL_SYSTEMSTART, "Start Windows"
  217. STR_WINDOWS_APP_NAME, "Windows"
  218. STR_EXPLORER_APP_NAME, "Windows Explorer"
  219. end
  220. #include "mci.rc"
  221. #include <ntverp.h>
  222. #define VER_FILETYPE VFT_DLL
  223. #define VER_FILESUBTYPE VFT2_UNKNOWN
  224. #define VER_FILEDESCRIPTION_STR "MCI API DLL"
  225. #define VER_INTERNALNAME_STR "winmm.dll"
  226. #define VER_ORIGINALFILENAME_STR "WINMM.DLL"
  227. #include <common.ver>