DRV_LOAD message

Notifies the driver that it has been loaded. The driver should make sure that any hardware and supporting drivers it needs to function properly are present.


The hdrvr parameter is always zero. The dwDriverId, lParam1, and lParam2 parameters are not used.

Return Value

Returns nonzero if successful or zero otherwise.


The DRV_LOAD message is always the first message that a device driver receives.


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

See also

Installable Drivers

Installable Driver Messages