C Examples: DbiCloseDatabase

<< Click to Display Table of Contents >>

Navigation:  »No topics above this level«

C Examples: DbiCloseDatabase

Return to chapter overview

Close the database associated with the valid handle passed in:

This example uses the following input:
         fDbiCloseDatabase(&hDb);

DBIResult fDbiCloseDatabase(phDBIDb phTmpDb)

{

   DBIResult        rslt = DBIERR_NONE;

   if (*phTmpDb != 0)

      rslt = Chk(DbiCloseDatabase(phTmpDb));

   return rslt;

}