|
Error |
Constant |
Description |
|
0 |
WAV_ERROR_NONE |
Not an error |
|
1 |
MMSYSERR_ERROR |
Unspecified error |
|
2 |
MMSYSERR_BADDEVICEID |
Specified device identifier is out of range. |
|
3 |
MMSYSERR_NOTENABLED |
Driver failed enable |
|
4 |
MMSYSERR_ALLOCATED |
Specified resource is already allocated. |
|
5 |
MMSYSERR_INVALHANDLE |
Device handle is invalid |
|
6 |
MMSYSERR_NODRIVER |
No device driver is present. |
|
7 |
MMSYSERR_NOMEM |
Unable to allocate or lock memory. |
|
8 |
MMSYSERR_NOTSUPPORTED |
Function isn't supported |
|
9 |
MMSYSERR_BADERRNUM |
Error value out of range |
|
10 |
MMSYSERR_INVALFLAG |
Invalid flag passed |
|
11 |
MMSYSERR_INVALPARAM |
Invalid parameter passed |
|
12 |
MMSYSERR_HANDLEBUSY |
Handle being used simultaneously on another thread (eg callback) |
|
13 |
MMSYSERR_INVALIDALIAS |
Specified alias not foun |
|
14 |
MMSYSERR_BADDB |
Bad registry database |
|
15 |
MMSYSERR_KEYNOTFOUND |
Registry key not found |
|
16 |
MMSYSERR_READERROR |
Registry read error |
|
17 |
MMSYSERR_WRITEERROR |
Registry write error |
|
18 |
MMSYSERR_DELETEERROR |
Registry delete error |
|
19 |
MMSYSERR_VALNOTFOUND |
Registry value not found |
|
20 |
MMSYSERR_NODRIVERCB |
Driver does not call DriverCallback |
|
32 |
WAVERR_BADFORMAT |
Attempted to open with an unsupported waveform-audio format. |
|
33 |
WAVERR_STILLPLAYING |
Still something playing |
|
34 |
WAVERR_UNPREPARED |
Header not prepared |
|
35 |
WAVERR_SYNC |
The device is synchronous but waveOutOpen was called without using the WAVE_ALLOWSYNC flag. |
|
256 |
MMIOERR_BASE |
|
|
257 |
MMIOERR_FILENOTFOUND |
File not found |
|
258 |
MMIOERR_OUTOFMEMORY |
Out of memory |
|
259 |
MMIOERR_CANNOTOPEN |
Cannot open |
|
260 |
MMIOERR_CANNOTCLOSE |
Cannot close |
|
261 |
MMIOERR_CANNOTREAD |
Cannot read |
|
262 |
MMIOERR_CANNOTWRITE |
Cannot write |
|
263 |
MMIOERR_CANNOTSEEK |
Cannot seek |
|
264 |
MMIOERR_CANNOTEXPAND |
Cannot expand file |
|
265 |
MMIOERR_CHUNKNOTFOUND |
Chunk not found |
|
266 |
MMIOERR_UNBUFFERED |
|
|
267 |
MMIOERR_PATHNOTFOUND |
Path incorrect |
|
268 |
MMIOERR_ACCESSDENIED |
File was protected |
|
269 |
MMIOERR_SHARINGVIOLATION |
File in use |
|
270 |
MMIOERR_NETWORKERROR |
Network not responding |
|
271 |
MMIOERR_TOOMANYOPENFILES |
No more file handles |
|
272 |
MMIOERR_INVALIDFILE |
Default error file error |
|
-1 |
WAV_ERROR_NOFILE |
File was not available or found |
|
-2 |
WAV_ERROR_FILEOPEN |
Unable to open the file |
|
-3 |
WAV_ERROR_FILECORRUPT |
File is corrupt |
|
-4 |
WAV_ERROR_FILEREAD |
Error reading file |
|
-5 |
WAV_ERROR_FILEWRITE |
Error writing to file |
|
-6 |
WAV_ERROR_NOMEMORY |
Not enough memory or resources available |
|
-7 |
WAV_ERROR_UNSUPPORTEDFORMAT |
Wave format is not supported by the device |
|
-8 |
WAV_ERROR_TIMEOUT |
etPlay or etRecord has timed out waiting for a message from the device. |
|
-9 |
WAV_ERROR_CANCELED |
Playing or recording has stopped |
|
-10 |
WAV_ERROR_FILETOOBIG |
The file to be played is too large or the file being recorded has grown to big |
|
-11 |
WAV_ERROR_INVALIDVOLUME |
The number given for the volume must be with in the range defined in the TWAVVOUME type. For Visual Basic, this is 0 to 100. |
|
-12 |
WAV_ERROR_FORMATMISMATCH |
One or more of the files in the etPlay.FileName property are not the same format |
|
-13 |
WAV_ERROR_INVALIDBUFSIZE |
Buffer size is too large or too small |
|
-14 |
WAV_ERROR_DEVICEACTIVE |
Operation requires device to be inactive |
|
-15 |
WAV_ERROR_DEVICEINACTIVE |
Operation requires device to be active |