dbgetloginfo

Description

Transfer Tabular Data Stream (TDS) login response information from a DBPROCESS structure to a newly allocated DBLOGINFO structure.

Syntax

RETCODE dbgetloginfo(dbproc, loginfo)
 
DBPROCESS    *dbproc;
DBLOGINFO     **loginfo;

Parameters

dbproc

A pointer to the DBPROCESS structure that provides the connection for a particular front-end/server process. It contains all the information that DB-Library/C uses to manage communications and data between the front end and the server.

loginfo

The address of a DBLOGINFO pointer variable. dbgetloginfo sets the DBLOGINFO pointer to the address of a newly-allocated DBLOGINFO structure.

Returns

SUCCEED or FAIL.

Usage

See also

dbrecvpassthru, dbsendpassthru, dbsetloginfo