Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ waveInGetErrorText(3mms) — Multimedia Services 2.4B

Media Vault

Software Library

Restoration Projects

Artifacts Sought

waveInGetErrorText(3mms)  —  Subroutines

 
 
 
 

Name

 
waveInGetErrorText --- Retrieve a text description of the error identified by the specified error number
 
 

Syntax

 
 
 

 #include <mme/mme_api.h>
 MMRESULT waveInGetErrorText (UINT uError,
                             LPSTR lpText,
                             UINT uSize);
 

 
 
 

Arguments

 
UINT uError
Specifies the error number.

 
LPSTR lpText
Specifies a pointer to a buffer to be filled with the text error description.

 
The buffer must be allocated with the mmeAllocMem function before being passed to the waveInGetErrorText function. 
 
 
 
 
See the mmeAllocMem(3mms) reference page for more information about allocating memory for the error text buffer. 
 
 

 
UINT uSize
Specifies the size of the buffer pointed to by the lpText argument. 
 
 

Description

 
The waveInGetErrorText function retrieves a text description of the error identified by the specified error number. If the text error description is longer than the buffer, the description is truncated. The returned string is always null terminated. If the value of the uSize argument is zero, nothing is copied and the function  returns MMSYSERR_NOERROR. All error descriptions are fewer than MAXERRORLENGTH characters long. 
 

Extensions

 
None.
 
 

Return Values

 
Returns MMSYSERR_NOERROR if the function is successful; otherwise, it returns the following error code:
 
 

 
MMSYSERR_BADERRNUM@T{ The specified error number is out of range. T}

 
 
 

See Also

 
None.
 
 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026