The mciGetErrorString function retrieves a string that describes the specified MCI error code.
BOOL mciGetErrorString(
DWORD fdwError,
LPTSTR lpszErrorText,
UINT cchErrorText
);
Returns TRUE if successful or FALSE if the error code is not known.
Each string that MCI returns, whether data or an error description, can be a maximum of 128 characters.
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
Header: Declared in mmsystem.h.
Import Library: Use winmm.lib.
Unicode: Implemented as Unicode and ANSI versions on Windows NT.
MCI Overview, MCI Functions, mciSendCommand, mciSendString