DriverCLIHandler - cConnection

Returns a handle for the CLI object associated with the passed driver, tests if driver is registered

Type: Function

Return Data Type: Handle

Parameters: String sDriver

ParameterDescription
sDriverDriver Name


Return Value

Handle to cCLIHandler object. If it returns 0, the driver is not registered.


Syntax
Function DriverCLIHandler String sDriver Returns Handle

Call: Get DriverCLIHandler sDriver to HandleVariable


Description

This returns a handle for the CLI object associated with the passed driver.

When a driver is registered a cCLIHandler object is created for this driver. DriverCLIHandler can also be used to test if a driver is registered.

If it returns 0, the driver is not registered, although it may be loaded (check DriverIndex for that). The ConnectionIdCLIHandler method can be used to access this same CLI object via a connection ID.