Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

DefDriverProc function

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.

Syntax


LRESULT WINAPI DefDriverProc(
   DWORD_PTR 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

32-bit message-dependent information.

lParam2

32-bit message-dependent information.

Return value

Returns nonzero if successful or zero otherwise.

Requirements

Minimum supported client

Windows 2000 Professional [desktop apps only]

Minimum supported server

Windows 2000 Server [desktop apps only]

Header

Mmsystem.h (include Windows.h)

Library

Winmm.lib

DLL

Winmm.dll

 

 

Show: