acmDriverProc  VNJ213 

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

 

   );

 

 

Parameters

dwID

Identifier of the installable ACM driver.

hdrvr

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

uMsg

ACM driver message.

lParam1 and lParam2

Message parameters.

 

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.

See Also

PostMessage, timeGetSystemTime, timeGetTime, timeSetEvent, timeKillEvent, midiOutShortMsg, midiOutLongMsg