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.

QuickInfo

  Windows NT: Requires version 3.1 or later.
  Windows: Requires Windows 95 or later.
  Windows CE: Unsupported.
  Header: Declared in mmsystem.h.
  Import Library: Use winmm.lib.