Required Entry-point Function (Windows Embedded CE 6.0)
1/6/2010
An ACM driver must have an entry-point function named DriverProc. The audio compression manager calls this function to control the driver and retrieve information from the driver.
The following code example defines the DriverProc function.
LRESULT FNEXPORT DriverProc ( DWORD dwID,
HDRVR hdrvr,
UINT uMsg,
LPARAM lParam1,
LPARAM lParam2 )
For most messages, the dwID parameter is a nonzero value that identifies a driver instance. It is returned in response to a DRV_OPEN message.
The hdrvr parameter is the handle to a driver.
The uMsg parameter is the message being passed.
The two LPARAM parameters contain message-specific data.
The following topics describe the messages that an ACM driver is required to support: