Lưu ý
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử đăng nhập hoặc thay đổi thư mục.
Cần có ủy quyền mới truy nhập được vào trang này. Bạn có thể thử thay đổi thư mục.
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 |