CloseDatabase

#include "BIDB.h"

 

BOOL CALLBACK CloseDatabase(CDatabase* db)

Description

This function closes the ODBC database specified by the parameter.

Parameters

CDatabase*

db

Pointer the CDatabase object to close.

Return values

Returns TRUE on success, otherwise FALSE. The GetLastDBError returns the error code.

Requirements

Header :     Declared in BiDb.h; include BiDb.h.

Library :    Use BiDb.lib.

DLLs :       BiDb.dll.