Group: Windows Multimedia - Library: winmm
Quering waveform-audio output devices
MMRESULT waveOutGetErrorText(
MMRESULT mmrError,
LPSTR pszText,
UINT cchText
);
DECLARE INTEGER waveOutGetErrorText IN winmm;
INTEGER mmrError,;
STRING @ pszText,;
INTEGER cchText
mmrError Error number.
pszText Pointer to a 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.