close driver

Typecommand
DictionaryLCS
LibraryLiveCode Script
Syntax
close driver <deviceName>
Summary

Closes a device driver that was opened with the open driver command.

Introduced1.1.1
OSmac, windows, linux
Platformsdesktop, server
Parameters
NameTypeDescription
deviceName

The name of a device driver that's installed on the system and that you have previously opened with the open driver command.

Example
close driver (line 2 of the driverNames)
close driver "USBCam1"
Values
NameTypeDescription
The result

If you try to close a driver that is not already open, the result function is set to.

RelatedCommand: close file, write to driver, open driver
Glossary: command, device driver, peripheral device
Securitydisk
Description

Use the close driver command after you're finished communicating with a peripheral device.

Any device drivers you have opened are closed automatically when you quit the application.

Tagsnetworking