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.

197 lines
14 KiB

  1. #include <windows.h>
  2. #define MMNOSOUND
  3. #define MMNOSEQ
  4. #define MMNOTIMER
  5. #define MMNOJOY
  6. #include "mmsystem.h"
  7. #include "mmsystem.rcv"
  8. #define NOTIMERDEV
  9. #define NOJOYDEV
  10. #define NOSEQDEV
  11. #define NOTASKDEV
  12. #include "mmddk.h"
  13. #include "mmsysi.h"
  14. STRINGTABLE
  15. begin
  16. 0, "The specified command was carried out."
  17. STR_MCIUNKNOWN, "Unknown error returned from MCI command"
  18. // STR_WAVEINPUT, "Wave Input: "
  19. // STR_WAVEOUTPUT, "Wave Output: "
  20. // STR_MIDIINPUT, "Midi Input: "
  21. // STR_MIDIOUTPUT, "Midi Output: "
  22. #ifdef DEBUG
  23. STR_MCISSERRTXT, "Error in mciSendString but could not get text"
  24. STR_MCISCERRTXT, "Error in mciSendCommand but could not get text"
  25. #endif
  26. MMSYSERR_ERROR, "Undefined external error."
  27. MMSYSERR_BADDEVICEID, "A device ID has been used that is out of range for your system."
  28. MMSYSERR_NOTENABLED, "The driver was not enabled."
  29. MMSYSERR_ALLOCATED, "The specified device is already in use. Wait until it is free, and then try again."
  30. MMSYSERR_INVALHANDLE, "The specified device handle is invalid."
  31. MMSYSERR_NODRIVER, "There is no driver installed on your system."
  32. MMSYSERR_NOMEM, "Not enough memory available for this task. Quit one or more applications to increase available memory, and then try again."
  33. MMSYSERR_NOTSUPPORTED, "This function is not supported. Use the Capabilities function to determine which functions and messages the driver supports."
  34. MMSYSERR_BADERRNUM, "An error number was specified that is not defined in the system."
  35. MMSYSERR_INVALFLAG, "An invalid flag was passed to a system function."
  36. MMSYSERR_INVALPARAM, "An invalid parameter was passed to a system function."
  37. WAVERR_BADFORMAT, "The specified format is not supported or cannot be translated. Use the Capabilities function to determine the supported formats."
  38. WAVERR_UNPREPARED, "The wave header was not prepared. Use the Prepare function to prepare the header, and then try again."
  39. WAVERR_STILLPLAYING, "Cannot perform this operation while media data is still playing. Reset the device, or wait until the data is finished playing."
  40. WAVERR_SYNC, "Cannot open the device without using the WAVE_ALLOWSYNC flag. Use the flag, and then try again."
  41. MIDIERR_UNPREPARED, "The MIDI header was not prepared. Use the Prepare function to prepare the header, and then try again."
  42. MIDIERR_STILLPLAYING, "Cannot perform this operation while media data is still playing. Reset the device, or wait until the data is finished playing."
  43. 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."
  44. MIDIERR_NOTREADY, "The port is transmitting data to the device. Wait until the data has been transmitted, and then try again."
  45. 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."
  46. MIDIERR_INVALIDSETUP, "The current MIDI setup is damaged. Copy the original MIDIMAP.CFG file to the Windows SYSTEM directory, and then try again."
  47. MCIERR_INVALID_DEVICE_ID, "Invalid MCI device ID. Use the ID returned when opening the MCI device."
  48. MCIERR_UNRECOGNIZED_KEYWORD, "The driver cannot recognize the specified command parameter."
  49. MCIERR_UNRECOGNIZED_COMMAND, "The driver cannot recognize the specified command."
  50. MCIERR_HARDWARE, "There is a problem with your media device. Make sure it is working correctly or contact the device manufacturer."
  51. MCIERR_INVALID_DEVICE_NAME, "The specified device is not open or is not recognized by MCI."
  52. 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."
  53. MCIERR_DEVICE_OPEN, "The device name is already being used as an alias by this application. Use a unique alias."
  54. MCIERR_CANNOT_LOAD_DRIVER, "There is an undetectable problem in loading the specified device driver."
  55. MCIERR_MISSING_COMMAND_STRING, "No command was specified."
  56. MCIERR_PARAM_OVERFLOW, "The output string was to large to fit in the return buffer. Increase the size of the buffer."
  57. MCIERR_MISSING_STRING_ARGUMENT, "The specified command requires a character-string parameter. Please provide one."
  58. MCIERR_BAD_INTEGER, "The specified integer is invalid for this command."
  59. MCIERR_PARSER_INTERNAL, "The device driver returned an invalid return type. Check with the device manufacturer about obtaining a new driver."
  60. MCIERR_DRIVER_INTERNAL, "There is a problem with the device driver. Check with the device manufacturer about obtaining a new driver."
  61. MCIERR_MISSING_PARAMETER, "The specified command requires a parameter. Please supply one."
  62. MCIERR_UNSUPPORTED_FUNCTION, "The MCI device you are using does not support the specified command."
  63. MCIERR_NONAPPLICABLE_FUNCTION, "Cannot carry out the commands in the order specified. Correct the command sequence, and then try again."
  64. MCIERR_FILE_NOT_FOUND, "Cannot find the specified file. Make sure the path and filename are correct."
  65. MCIERR_DEVICE_NOT_READY, "The device driver is not ready."
  66. MCIERR_INTERNAL, "A problem occurred in initializing MCI. Try restarting Windows."
  67. MCIERR_DRIVER, "There is a problem with the device driver. The driver has closed. Cannot access error."
  68. MCIERR_CANNOT_USE_ALL, "Cannot use 'all' as the device name with the specified command."
  69. MCIERR_MULTIPLE, "Errors occurred in more than one device. Specify each command and device separately to determine which devices caused the errors."
  70. MCIERR_EXTENSION_NOT_FOUND, "Cannot determine the device type from the given filename extension."
  71. MCIERR_OUTOFRANGE, "The specified parameter is out of range for the specified command."
  72. MCIERR_FLAGS_NOT_COMPATIBLE, "The specified parameters cannot be used together."
  73. MCIERR_FILE_NOT_SAVED, "Cannot save the specified file. Make sure you have enough disk space or are still connected to the network."
  74. MCIERR_FILE_READ, "Cannot read the specified file. Make sure the file is still present, or check your disk or network connection."
  75. MCIERR_FILE_WRITE, "Cannot write to the specified file. Make sure you have enough disk space or are still connected to the network."
  76. MCIERR_DEVICE_LOCKED, "The specified device is now being closed. Wait a few seconds, and then try again."
  77. MCIERR_DUPLICATE_ALIAS, "The specified alias is already being used in this application. Use a unique alias."
  78. MCIERR_BAD_CONSTANT, "The specified parameter is invalid for this command."
  79. MCIERR_MUST_USE_SHAREABLE, "The device driver is already in use. To share it, use the 'shareable' parameter with each 'open' command."
  80. MCIERR_MISSING_DEVICE_NAME, "The specified command requires an alias, file, driver, or device name. Please supply one."
  81. MCIERR_BAD_TIME_FORMAT, "The specified value for the time format is invalid. Refer to the MCI documentation for valid formats."
  82. MCIERR_NO_CLOSING_QUOTE, "A closing double-quotation mark is missing from the parameter value. Please supply one."
  83. MCIERR_DUPLICATE_FLAGS, "A parameter or value was specified twice. Only specify it once."
  84. MCIERR_INVALID_FILE, "The specified file cannot be played on the specified MCI device. The file may be corrupt, or not in the correct format."
  85. MCIERR_NULL_PARAMETER_BLOCK, "A null parameter block was passed to MCI."
  86. MCIERR_UNNAMED_RESOURCE, "Cannot save an unnamed file. Supply a filename."
  87. MCIERR_NEW_REQUIRES_ALIAS, "You must specify an alias when using the 'new' parameter."
  88. MCIERR_NOTIFY_ON_AUTO_OPEN, "Cannot use the 'notify' flag with auto-opened devices."
  89. MCIERR_NO_ELEMENT_ALLOWED, "Cannot use a filename with the specified device."
  90. 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."
  91. MCIERR_FILENAME_REQUIRED, "The filename is invalid. Make sure the filename is not longer than 8 characters, followed by a period and an extension."
  92. MCIERR_EXTRA_CHARACTERS, "Cannot specify extra characters after a string enclosed in quotation marks."
  93. MCIERR_DEVICE_NOT_INSTALLED, "The specified device is not installed on the system. Use the Drivers option in Control Panel to install the device."
  94. MCIERR_GET_CD, "Cannot access the specified file or MCI device. Try changing directories or restarting your computer."
  95. MCIERR_SET_CD, "Cannot access the specified file or MCI device because the application cannot change directories."
  96. MCIERR_SET_DRIVE, "Cannot access specified file or MCI device because the application cannot change drives."
  97. MCIERR_DEVICE_LENGTH, "Specify a device or driver name that is less than 79 characters."
  98. MCIERR_DEVICE_ORD_LENGTH, "Specify a device or driver name that is less than 69 characters."
  99. MCIERR_NO_INTEGER, "The specified command requires an integer parameter. Please provide one."
  100. 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."
  101. 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."
  102. 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."
  103. 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."
  104. MCIERR_WAVE_OUTPUTUNSPECIFIED, "Any compatible waveform playback device may be used."
  105. MCIERR_WAVE_INPUTUNSPECIFIED, "Any compatible waveform recording device may be used."
  106. MCIERR_WAVE_OUTPUTSUNSUITABLE, "No wave device that can play files in the current format is installed. Use the Drivers option to install the wave device."
  107. MCIERR_WAVE_SETOUTPUTUNSUITABLE, "The device you are trying to play to cannot recognize the current file format."
  108. MCIERR_WAVE_INPUTSUNSUITABLE, "No wave device that can record files in the current format is installed. Use the Drivers option to install the wave device."
  109. MCIERR_WAVE_SETINPUTUNSUITABLE, "The device you are trying to record from cannot recognize the current file format."
  110. MCIERR_SEQ_DIV_INCOMPATIBLE, "Cannot use the song-pointer time format and the SMPTE time-format together."
  111. MCIERR_SEQ_PORT_INUSE, "The specified MIDI device is already in use. Wait until it is free, and then try again."
  112. MCIERR_SEQ_PORT_NONEXISTENT, "The specified MIDI device is not installed on the system. Use the Drivers option in Control Panel to install the driver."
  113. 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."
  114. MCIERR_SEQ_PORT_MISCERROR, "An error occurred using the specified port."
  115. MCIERR_SEQ_TIMER, "All multimedia timers are being used by other applications. Quit one of these applications, and then try again."
  116. MCIERR_SEQ_PORTUNSPECIFIED, "There is no current MIDI port."
  117. MCIERR_SEQ_NOMIDIPRESENT, "There are no MIDI devices installed on the system. Use the Drivers option in Control Panel to install the driver."
  118. MCIERR_NO_WINDOW, "There is no display window."
  119. MCIERR_CREATEWINDOW, "Could not create or use window."
  120. MCIERR_DEVICE_TYPE_REQUIRED, "Cannot find the specified device. Make sure it is installed or that the device name is spelled correctly."
  121. MCI_FALSE, "false"
  122. MCI_TRUE, "true"
  123. MCI_DEVTYPE_ANIMATION, "animation"
  124. MCI_DEVTYPE_CD_AUDIO, "cdaudio"
  125. MCI_DEVTYPE_DAT, "dat"
  126. MCI_DEVTYPE_DIGITAL_VIDEO, "digitalvideo"
  127. MCI_DEVTYPE_OTHER, "other"
  128. MCI_DEVTYPE_OVERLAY, "overlay"
  129. MCI_DEVTYPE_SCANNER, "scanner"
  130. MCI_DEVTYPE_SEQUENCER, "sequencer"
  131. MCI_DEVTYPE_VCR, "vcr"
  132. MCI_DEVTYPE_VIDEODISC, "videodisc"
  133. MCI_DEVTYPE_WAVEFORM_AUDIO, "waveaudio"
  134. MCI_MODE_NOT_READY, "not ready"
  135. MCI_MODE_STOP, "stopped"
  136. MCI_MODE_PLAY, "playing"
  137. MCI_MODE_RECORD, "recording"
  138. MCI_MODE_SEEK, "seeking"
  139. MCI_MODE_PAUSE, "paused"
  140. MCI_MODE_OPEN, "open"
  141. MCI_FORMAT_MILLISECONDS_S, "milliseconds"
  142. MCI_FORMAT_HMS_S, "hms"
  143. MCI_FORMAT_MSF_S, "msf"
  144. MCI_FORMAT_FRAMES_S, "frames"
  145. MCI_FORMAT_SMPTE_24_S, "smpte 24"
  146. MCI_FORMAT_SMPTE_25_S, "smpte 25"
  147. MCI_FORMAT_SMPTE_30_S, "smpte 30"
  148. MCI_FORMAT_SMPTE_30DROP_S, "smpte 30 drop"
  149. MCI_FORMAT_BYTES_S, "bytes"
  150. MCI_FORMAT_SAMPLES_S, "samples"
  151. MCI_FORMAT_TMSF_S, "tmsf"
  152. MCI_VD_MODE_PARK, "parked"
  153. MCI_VD_MEDIA_CAV, "CAV"
  154. MCI_VD_MEDIA_CLV, "CLV"
  155. MCI_VD_MEDIA_OTHER, "other"
  156. MCI_VD_FORMAT_TRACK_S, "track"
  157. MCI_SEQ_DIV_PPQN, "PPQN"
  158. MCI_SEQ_DIV_SMPTE_24, "SMPTE 24 Frame"
  159. MCI_SEQ_DIV_SMPTE_25, "SMPTE 25 Frame"
  160. MCI_SEQ_DIV_SMPTE_30DROP, "SMPTE 30 Drop Frame"
  161. MCI_SEQ_DIV_SMPTE_30, "SMPTE 30 Frame"
  162. MIDIMAPPER_S, "mapper"
  163. MCI_SEQ_FILE_S, "file"
  164. MCI_SEQ_MIDI_S, "midi"
  165. MCI_SEQ_SMPTE_S, "smpte"
  166. MCI_SEQ_FORMAT_SONGPTR_S, "song pointer"
  167. MCI_SEQ_NONE_S, "none"
  168. WAVE_FORMAT_PCM_S, "pcm"
  169. WAVE_MAPPER_S, "mapper"
  170. IDS_TASKSTUB, "mmtask.tsk"
  171. end
  172. #include "mci.rc"
  173. #ifdef DEBUG
  174. #include "mmsex.dlg"
  175. #endif