LRESULT
DriverProc (
DWORD dwDriverID,
HDRVR hDriver,
UINT uMsg,
LPARAM lParam1,
LPARAM lParam2
);
The DriverProc function is a user-mode driver’s entry point.
DriverProc returns a value that is dependent upon the message.
All user-mode multimedia drivers must define a DriverProc function. The DriverProc function name must be exported in a module definition (.def) file.
The meanings of the dwDriverID, lParam1, and lParam2 parameters are dependent upon the message that the driver receives as the uMsg parameter value. Refer to the description of each message to determine the meanings of these parameters.
For more information about DriverProc, see User-Mode Driver Entry Points.