acmDriverProc

The acmDriverProc function specifies a callback function used with the ACM driver. The acmDriverProc name is a placeholder for an application-defined function name. The actual name must be exported by including it in the module-definition file of the executable or DLL file.

LRESULT CALLBACK acmDriverProc(
  DWORD_PTR dwID,    
  HDRIVER   hdrvr,   
  UINT      uMsg,    
  LPARAM    lParam1, 
  LPARAM    lParam2  
);

Parameters

dwID

Identifier of the installable ACM driver.

hdrvr

Handle to the installable ACM driver. This parameter is a unique handle the ACM assigns to the driver.

uMsg

ACM driver message.

lParam1

Message parameter.

lParam2

Message parameter.

Return Values

Returns zero if successful or an error otherwise.

Remarks

Applications should not call any system-defined functions from inside a callback function, except for PostMessage, timeGetSystemTime, timeGetTime, timeSetEvent, timeKillEvent, midiOutShortMsg, midiOutLongMsg, and OutputDebugStr.

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.

See Also

Audio Compression Manager, Audio Compression Functions, PostMessage, timeGetSystemTime, timeGetTime, timeSetEvent, timeKillEvent, midiOutShortMsg, midiOutLongMsg