DRV_DISABLE

The DRV_DISABLE message causes a Windows NT user-mode multimedia driver to just return a nonzero value (see the following Comments section).

Parameters

dwDriverID

Driver instance identifier. This value is zero for the DRV_DISABLE message.

hDriver

Driver handle.

uMsg

DRV_DISABLE

lParam1

Not used. Set to zero.

lParam2

Not used. Set to zero.

Return Value

The driver should return a nonzero value.

Comments

The DRV_DISABLE message is one of the standard driver messages. A client sends the message by calling the driver's DriverProc entry point, passing the specified parameter values.

Windows 95 drivers respond to the DRV_DISABLE message by disabling hardware. Because hardware access under Windows NT is controlled by kernel-mode drivers, Windows NT user-mode drivers do not perform any operations when they receive a DRV_DISABLE message.