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

Message parameter.

lParam

Message parameter.

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.

Requirements

  Windows NT/2000/XP: Included in Windows NT 3.1 and later.
  Windows 95/98/Me: Included in Windows 95 and later.
  Header: Declared in Msacm.h.
  Unicode: Declared as Unicode and ANSI prototypes.

See Also

Audio Compression Manager, Audio Compression Functions, acmFormatChoose, MM_ACM_FORMATCHOOSE

Show: