Microsoft Windows CE 3.0  

Closing Waveform Audio Output Devices

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.

After you have finished playing a waveform audio file and deallocating the header files that are associated with waveform audio file, call the waveOutClosefunction or waveInClosefunction to close the output device. If you call these functions while an application is still using a waveform audio file, the close operation fails and the function returns an error value that indicates that the device is not closed. If you do not want to wait for recording or playback to end before closing the device, call the waveOutResetfunction or the waveInResetfunction.

 Last updated on Tuesday, May 18, 2004

© 2004 Microsoft Corporation. All rights reserved.