Producing a Dialog Box for Selecting a Format for Recording

An application can allow the user to select a format for which an installed waveform-audio device provides native support. For example, you might want a waveform-audio editor to record new waveform-audio data without using an ACM compressor or decompressor to provide a translation layer. To do this, use the acmFormatChoose function, specifying the ACM_FORMATENUMF_HARDWARE and ACM_FORMATENUMF_INPUT flags in the fdwEnum member of the ACMFORMATCHOOSE structure.