DefDriverProc

Provides default processing for any messages not processed by an installable driver. This function is intended to be used only within the DriverProc function of an installable driver.

LONG DefDriverProc(DWORD dwDriverId, HDRVR hdrvr, UINT msg, 
    LONG lParam1, LONG lParam2);
 

Parameters

dwDriverId
Identifier of the installable driver.
hdrvr
Handle of the installable driver instance.
msg
Driver message value.
lParam1 and lParam2
32-bit message-dependent information.

Return Value

Returns nonzero if successful or zero otherwise.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mmsystem.h.
  Import Library: Use winmm.lib.