Platform SDK: Broadcast Architecture

GetDatabaseConnected

The GetDatabaseConnected function indicates whether a CDatabaseConnection object has a connection to the Guide database. C syntax is shown.

BOOL GetDatabaseConnected(void);

Parameters

None.

Return Values

Returns TRUE if the CDatabaseConnection object is connected to the database, and FALSE otherwise.

Remarks

In other words, GetDatabaseConnected indicates whether a previous call to the CDatabaseConnection::ConnectToDatabase method was successful.

Requirements

  Windows NT/2000: Unsupported.
  Windows 95/98: Requires Windows 98.
  Header: Declared in dbsets.h.
  Import Library: Use dbsets.lib or dbsetsst.lib.

See Also

CDatabaseConnection, CDatabaseConnection::ConnectToDatabase