acmFormatChooseHookProc

The acmFormatChooseHookProc function specifies a user-defined function that hooks the acmFormatChoose dialog box. The acmFormatChooseHookProc name is a placeholder for an application-defined name.

UINT ACMFORMATCHOOSEHOOKPROC acmFormatChooseHookProc(
  HWND hwnd,     
  UINT uMsg,     
  WPARAM wParam, 
  LPARAM lParam  
);
 

Parameters

hwnd
Window handle for the dialog box.
uMsg
Window message.
wParam and lParam
Message parameters.

Remarks

If the hook function processes one of the WM_CTLCOLOR messages, this function must return a handle of the brush that should be used to paint the control background.

A hook function can optionally process the MM_ACM_FORMATCHOOSE message.

You should use this function the same way as you use the Common Dialog hook functions for customizing common dialog boxes.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in msacm.h.
  Import Library: User-defined.
  Unicode: Defined as Unicode and ANSI prototypes.

See Also

Audio Compression Manager Overview, Audio Compression Functions, acmFormatChoose, MM_ACM_FORMATCHOOSE