Group: Windows Multimedia - Library: winmm
Accessing a CD device (cdaudio) with Multimedia Command Strings
Using Multimedia Command Strings to play MIDI files
BOOL mciGetErrorString(
DWORD fdwError,
LPTSTR lpszErrorText,
UINT cchErrorText
);
DECLARE INTEGER mciGetErrorString IN winmm;
INTEGER fdwError,;
STRING @ lpszErrorText,;
INTEGER cchErrorText
fdwError Error code returned by the mciSendCommand or mciSendString function.
lpszErrorText Pointer to a buffer that receives a null-terminated string describing the specified error.
cchErrorText Length of the buffer, in characters, pointed to by the lpszErrorText parameter.
Returns TRUE if successful or FALSE if the error code is not known.