cwbUN_EndODBCConnections

Purpose

Ends all ODBC connections previously opened by cwbUN_GetODBCConnection.

Syntax

CWBAPI unsigned int WINAPI cwbUN_EndODBCConnections(
    );

Parameters

None

Return Codes

The following list shows common return values:

CWB_OK
Successful completion.
CWB_INVALID_API_HANDLE
Handle was not created.

Usage

It is important to remember that the EndODBCConnections function only closes connections that were opened using the GetODBCConnection function. The EndODBCConnections function is unaware of ODBC connections opened directly or by using other interfaces.

Also ensure that the destructor for the folder of your application extension invokes the EndODBCConnections if any code in your extension uses GetODBCConnection.

See also cwbUN_GetODBCConnection.