Partager via


Handling Errors Generated by Audio Functions (Windows CE 5.0)

Send Feedback

The waveform audio functions return a nonzero value when an error occurs. Windows 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 waveInGetNumDevs and waveOutGetNumDevs functions. These functions return 0 if no device is present in a system or if they encounter any errors.

See Also

Using the Waveform Audio Interface

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.