DefDriverProc

3.1

  LRESULT DefDriverProc(dwDriverIdentifier, hdrvr, uMsg, lParam1, lParam2)    
  DWORD dwDriverIdentifier; /* installable-driver identifier */
  HDRVR hdrvr; /* handle of installable driver */
  UINT uMsg; /* message number, */  
  LPARAM lParam1; /* first message parameter */
  LPARAM lParam2; /* second message parameter */

The DefDriverProc function provides default processing for any messages not processed by an installable driver.

Parameters

dwDriverIdentifier

Identifies an installable driver. This parameter must have been obtained by a previous call to the OpenDriver function.

hdrvr

Identifies the installable driver.

uMsg

Specifies the message to be processed.

lParam1

Specifies 32 bits of additional message-dependent information.

lParam2

Specifies 32 bits of additional message-dependent information.

Return Value

The return value is nonzero if the function is successful. Otherwise, it is zero.

Comments

The DefDriverProc function processes messages that are not handled by the DriverProc function.

See Also

OpenDriver, SendDriverMessage