DrvDefDriverProc function (mmiscapi.h)

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 DrvDefDriverProc(
  DWORD  dwDriverIdentifier,
  HDRVR  hdrvr,
  UINT   uMsg,
  LPARAM lParam1,
  LPARAM lParam2
);

Parameters

dwDriverIdentifier

Identifier of the installable driver.

hdrvr

Handle of the installable driver instance.

uMsg

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

Requirement Value
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header mmiscapi.h (include Mmiscapi.h, Windows.h)
Library Winmm.lib
DLL Winmm.dll