Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The waveform audio functions return a nonzero value when an error occurs. Windows Embedded CE provides functions that convert these error values into textual descriptions of the errors. The application still must examine the error values to determine how to proceed, but it can use a textual description in a dialog box to describe an error to the user. The following table shows the functions that are used to retrieve textual descriptions of audio error values.

Function Description

waveInGetErrorText

Retrieves a textual description of a specified waveform audio input error.

waveOutGetErrorText

Retrieves a textual description of a specified waveform audio output error.

The only audio functions that do not return error values are the waveInGetNumDevsand waveOutGetNumDevsfunctions. These functions return 0 if no device is present in a system or if they encounter any errors.

See Also