|
<< Click to Display Table of Contents >> DbiOpenDriverList |
![]() ![]()
|
C syntax
DBIResult DBIFN DbiOpenDriverList (phCur);
Delphi syntax
function DbiOpenDriverList (var hCur: hDBICur): DBIResult stdcal;
Description
DbiOpenDriverList creates a list of driver names available to the client application.
Parameters
phCur Type: phDBICur (Output)
Pointer to the cursor handle.
Usage
The list of drivers is obtained from the Registry and can be used as input to other functions. If no drivers were configured, an error is returned. The table contains only one CHAR field (of size DBINAME), the name of the driver. It does not contain all the information contained in DRVType structure.
| Note: | The session property sesCFGMODE2 can affect the list returned by this function. |
DbiResult |
Meaning |
DBIERR_NONE |
The table containing a list of the available drivers was successfully created. |
DBIERR_INVALIDHNDL |
phCur is NULL. |
DBIERR_NOCONFIGFILE |
No configuration file was available at initialization time. |
DBIERR_OBJNOTFOUND |
No drivers were configured at initialization time. |
See also