DbiOpenTableTypesList

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

DbiOpenTableTypesList

Return to chapter overview

C syntax

DBIResult DBIFN DbiOpenTableTypesList (pszDriverType, phCur);

Delphi syntax

function DbiOpenTableTypesList (pszDriverType: PChar; var hCur: hDBICur): DBIResult stdcall;

Description

DbiOpenTableTypesList creates a table listing table type names for the given driver.

Parameters

pszDriverType                Type: pCHAR                (Input)
Pointer to the driver type.

phCur                Type: phDBICur                (Output)
Pointer to the cursor handle.

Completion state

Each of the table type records can be retrieved via DbiGetNextRecord. DbiGetCursorProps can be used to allocate the proper record size. After the record is retrieved, it can be cast with the TBLType type definition, and used like a TBLType C language structure.

DbiResult

Meaning

DBIERR_NONE

The list of table type names was returned successfully.

DBIERR_INVALIDHNDL

The specified handle is invalid.

DBIERR_DRIVERNOTLOADED

The driver was not initialized.

See also

DbiGetTableTypeDesc