WORD mciGetErrorString(dwError, lpstrBuffer, wLength)
This function returns a textual description of the specified MCI error.
DWORD dwError
Specifies the error code returned by mciSendCommand or mciSendString.
LPSTR lpstrBuffer
Specifies a pointer to a buffer that is filled with a textual description of the specified error.
WORD wLength
Specifies the length of the buffer pointed to by lpstrBuffer.
Returns TRUE if successful. Otherwise, the given error code was not known.