Skip to content

Latest commit

 

History

History
52 lines (36 loc) · 939 Bytes

waveOutGetErrorText.md

File metadata and controls

52 lines (36 loc) · 939 Bytes

Home

Function name : waveOutGetErrorText

Group: Windows Multimedia - Library: winmm


Retrieves a textual description of the error identified by the given error number.


Code examples:

Quering waveform-audio output devices

Declaration:

MMRESULT waveOutGetErrorText(
  MMRESULT mmrError,
  LPSTR pszText,
  UINT cchText
);  

FoxPro declaration:

DECLARE INTEGER waveOutGetErrorText IN winmm;
	INTEGER   mmrError,;
	STRING  @ pszText,;
	INTEGER   cchText
  

Parameters:

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.


Return value:

Returns MMSYSERR_NOERROR (0) if successful or an error otherwise.