Determines the name of a return parameter of a stored procedure or a remote stored procedure.
LPCSTR dbretname (
PDBPROCESS dbproc,
INT retnum );
where
A pointer to the null-terminated parameter name for the specified return-parameter value. If retnum is out of range, dbretname returns NULL.
For more information about stored procedure return parameters, see "dbretdata."
The server returns stored procedure information (including any return status and parameter values) immediately after returning all normal results for that stored procedure. Process the normal results, and then call dbretname after dbresults returns NO_MORE_RPC_RESULTS (for all stored procedures in a batch except the last one) or NO_MORE_RESULTS (for a single stored procedure, or for the last stored procedure in a batch).
dbnextrow, dbnumrets, dbresults, dbretdata, dbretlen, dbrettype, dbrpcinit, dbrpcparam