|
<< Click to Display Table of Contents >> C Examples: DbiCloseSession |
![]() ![]()
|
Close the current session.
DbiCloseSession releases all session resources. This example uses the following input:
fDbiCloseSession();
DBIResult fDbiCloseSession(VOID)
{
DBIResult rslt;
hDBISes hSes;
rslt = Chk(DbiGetCurrSession(&hSes));
if (rslt != DBIERR_NONE)
return rslt;
rslt = Chk(DbiCloseSession(hSes));
return rslt;
}