DRV_ENABLE message

Enables the driver. The driver should initialize any variables and locate devices with the input and output (I/O) interface.

Parameters

hdrvr

Handle of the installable driver instance.

Return Value

No return value.

Remarks

The dwDriverId, lParam1, and lParam2 parameters are not used.

Drivers are considered enabled from the time they receive this message until they are disabled by using the DRV_DISABLE message.

Requirements

Requirement Value
Minimum supported client
Windows 2000 Professional [desktop apps only]
Minimum supported server
Windows 2000 Server [desktop apps only]
Header
Mmsystem.h (include Windows.h)

See also

Installable Drivers

Installable Driver Messages