|
<< Click to Display Table of Contents >> DbiGetLdNameFromDb |
![]() ![]()
|
C syntax
DBIResult DBIFN DbiGetLdNameFromDb (hDb, pObjName, pLdName);
Delphi syntax
function DbiGetLdNameFromDb (pszDriver: hDBIDb; pObjName: PChar; pLdName: PChar): DBIResult stdcall;
Description
DbiGetLdNameFromDb retrieves the name of the language driver associated with the specified database.
Parameters
hDb Type: hDBIDb (Input)
Handle for the database.
pObjName Type: pCHAR (Input)
Pointer to the table name.
pLdName Type: pCHAR (Output)
Pointer to the client buffer that receives the language driver name associated with the specified table. This buffer should be at least (DBIMAXNAMELEN + 1) in size.
Usage
If pObjName is NULL, the name of the driver's default language driver is returned. Pass a value for either the hDb or pObjName argument, not both. When one is not NULL the other should be.
Standard: The returned language driver name can be used as an optional parameter for DbiCreateTable as a way to override the default language driver at create time.
SQL: If pObjName is not NULL, it must be of the form :dbalias:objName.
DbiResult |
Meaning |
DBIERR_NONE |
The name of the language driver was retrieved successfully. |
See also