Parameter
|
Type
|
Description
|
IN
|
||
dam_hdbc
|
DAM_HDBC
|
The connection handle.
|
henv
|
IP_HENV
|
The data structure allocated by the IP to keep its information.
|
pMemTree
|
XM_Tree *
|
The tree to use for allocating memory.
|
sDataSourceName
|
OAWCHAR *
|
The name of the Data Source to which the connection is being made.
|
sUserName
|
OAWCHAR *
|
User name passed in by the client.
|
sPassword
|
OAWCHAR *
|
Password passed in by the client.
|
sCurrentCatalog
|
OAWCHAR *
|
Name of the catalog to use. The value can be specified by the client or in the DataSourceCurrentCatalog attribute.
|
sIPProperties
|
OAWCHAR *
|
Data source specific information that is set in the DataSourceIPProperties attribute.
|
sIPCustomProperties
|
OAWCHAR *
|
Custom properties passed in by the client. The keywords that can appear in this string are based on the setting of the DataSourceIPCustomProperties attribute.
|
OUT
|
||
phdbc
|
IP_HDBC *
|
A pointer to data structure allocated by the IP to keep its connection information. This handle is passed in to the IP on subsequent IP calls. The OpenAccess SDK SQL engine does not look at information pointed to by this pointer - it is strictly for the IP's own use.
|
RETURN
|
||
int
|
DAM_SUCCESS - on success
DAM_FAILURE - on failure
|