CloseDriver

Closes an installable driver.

LRESULT CloseDriver(HDRVR hdrvr, LONG lParam1, LONG lParam2);
 

Parameters

hdrvr

Handle of an installable driver instance. The handle must have been previously created by using the OpenDriver function.

lParam1 and lParam2

32-bit driver-specific data.

Return Value

Returns nonzero if successful or zero otherwise.

Remarks

The function passes the lParam1 and lParam2 parameters to the DriverProc function of the installable driver.

Requirements

**  Windows NT/2000:** Requires Windows NT 3.1 or later.
**  Windows 95/98:** Requires Windows 95 or later.
**  Header:** Declared in Mmsystem.h.
**  Library:** Use Winmm.lib.

See Also

Installable Drivers, Installable Driver Functions