Producing a Dialog Box for Selecting Restricted Formats
[The feature associated with this page, Audio Compression Manager, is a legacy feature. Microsoft strongly recommends that new code does not use this feature.]
You might want to use the dialog box created by the acmFormatChoose function, but limit or control the formats in the dialog box. You can do this by using the ACMFORMATCHOOSE_STYLEF_ENABLEHOOK flag to hook the dialog procedure. The application can then filter the formats by responding to the MM_ACM_FORMATCHOOSE message in the message procedure for the dialog box.