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 dwID,
HDRIVER hdrvr,
UINT uMsg,
LPARAM lParam1,
LPARAM lParam2
);
Returns zero if successful or an error otherwise.
Applications should not call any system-defined functions from inside a callback function, except for PostMessage, timeGetSystemTime, timeGetTime, timeSetEvent, timeKillEvent, midiOutShortMsg, midiOutLongMsg, and OutputDebugStr.
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.
Audio Compression Manager Overview, Audio Compression Functions, PostMessage, timeGetSystemTime, timeGetTime, timeSetEvent, timeKillEvent, midiOutShortMsg, midiOutLongMsg