Group: Windows Multimedia - Library: winmm
The waveInGetErrorText function retrieves a textual description of the error identified by the given error number.
Quering a waveform-audio input device
Class for sound recording
MMRESULT waveInGetErrorText(
MMRESULT mmrError,
LPSTR pszText,
UINT cchText
);
DECLARE INTEGER waveInGetErrorText IN winmm;
INTEGER mmrError,;
STRING @ pszText,;
LONG cchText
mmrError Error number.
pszText Pointer to the buffer to be filled with the textual error description.
cchText Size, in characters, of the buffer pointed to by pszText.
Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.