ACMDRIVERPROC callback function

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.

Syntax

ACMDRIVERPROC Acmdriverproc;

LRESULT Acmdriverproc(
  DWORD_PTR Arg1,
  HACMDRIVERID Arg2,
  UINT Arg3,
  LPARAM Arg4,
  LPARAM Arg5
)
{...}

Parameters

Arg1

Arg2

Arg3

Arg4

Arg5

Return Value

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

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header msacm.h

See Also

Audio Compression Functions

Audio Compression Manager