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
| Parameter | Type | Description |
|---|---|---|
| sDriver | String | Driver Name |
Syntax
Function DriverCLIHandler String sDriver Returns Handle
Call Example
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.
Return Value
Handle to cCLIHandler object. If it returns 0, the driver is not registered.