CloseDriver function (mmiscapi.h)
Closes an installable driver.
Syntax
LRESULT CloseDriver(
[in] HDRVR hDriver,
[in] LPARAM lParam1,
[in] LPARAM lParam2
);
Parameters
[in] hDriver
Handle of an installable driver instance. The handle must have been previously created by using the OpenDriver function.
[in] lParam1
32-bit driver-specific data.
[in] 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
Requirement | Value |
---|---|
Minimum supported client | Windows 2000 Professional [desktop apps only] |
Minimum supported server | Windows 2000 Server [desktop apps only] |
Target Platform | Windows |
Header | mmiscapi.h (include Mmiscapi.h, Windows.h) |
Library | Winmm.lib |
DLL | Winmm.dll |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for