Skip to content

Latest commit

 

History

History
53 lines (37 loc) · 1.08 KB

waveInGetErrorText.md

File metadata and controls

53 lines (37 loc) · 1.08 KB

Home

Function name : waveInGetErrorText

Group: Windows Multimedia - Library: winmm


The waveInGetErrorText function retrieves a textual description of the error identified by the given error number.


Code examples:

Quering a waveform-audio input device
Class for sound recording

Declaration:

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

FoxPro declaration:

DECLARE INTEGER waveInGetErrorText IN winmm;
	INTEGER   mmrError,;
	STRING  @ pszText,;
	LONG      cchText
  

Parameters:

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.


Return value:

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