Sets the user Microsoft® SQL Server™ 2000 password in the LOGINREC structure.
RETCODE DBSETLPWD (
LPCSTR password );
Is a pointer to a LOGINREC structure, which is passed as a parameter to dbopen. To get one of these pointers, call dblogin.
Is the SQL Server password that is sent to SQL Server. It must be a null-terminated character string. The maximum length of the string is 30 characters, not including the null-terminating character.
SUCCEED or FAIL.
For DBSETLPWD to have any effect, call it before dbopen.
You do not need to call it if the password is a null value.