Determines whether a DBPROCESS structure is available for general use.
BOOL dbisavail ( PDBPROCESS dbproc );
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.
dbsetavail |