A | B | C |  D | E | F |  G | H | I |  J | K | L |  M | N | O |  P | Q | R |  S | T | U |  V | W | X |  Y | Z



mciGetErrorString

The mciGetErrorString function retrieves a string that describes the specified MCI error code.

VB4-32,5,6
Declare Function mciGetErrorString Lib "winmm.dll" Alias "mciGetErrorStringA" (ByVal dwError As Long, ByVal lpstrBuffer As String, ByVal uLength As Long) As Long

Operating Systems Supported
Requires Windows NT 3.1 or later; Requires Windows 95 or later

Library
Winmm

Parameter Information
- fdwError
Error code returned by the mciSendCommand or mciSendString function.

- lpszErrorText
Address of 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.

Return Values
Returns TRUE if successful or FALSE if the error code is not known.

Last update: 07 April 2006