Determines whether a DBPROCESS structure is available for general use.
BOOL dbisavail ( PDBPROCESS dbproc );
Is the DBPROCESS structure that is the handle for a particular workstation or Microsoft® SQL Server™ 2000 process. It contains all the information that DB-Library uses to manage communications and data between the workstation and SQL Server.
TRUE if DBPROCESS is available for general use; FALSE otherwise.
dbisavail indicates whether the specified DBPROCESS structure is available for general use. When DBPROCESS is first opened, it is marked as being available until it is used. Many DB-Library functions automatically set DBPROCESS to "not available", but only dbsetavail resets it to "available". This facility is useful when several parts of an application are trying to share a single DBPROCESS structure.