Querying and Opening Waveform Audio I/O Devices

To correctly record or play a sound, first determine what drivers your Windows CE–based device has available for audio I/O, and then open those drivers for recording or playback.