TBApiIsApiActive API Call

 

Description

Indicates if a valid driver interface exists. I.e. has TBApiOpen been successfully called.

Parameters

None.

Returns

TRUE (1) if successful. FALSE (0) if the interface is not available.

Notes

None.

 

Visual C++ Declaration/example

 

BOOL TBAPI TBApiIsApiActive();

 

if ( ! TBApiIsApiActive() )

            AfxMessageBox( “The UPDD API is *not* active” );

 

Visual Basic Declaration/example

 

Public Declare Function TBApiIsApiActive Lib "TBapi" Alias "_DLL_TBApiIsApiActive@0" () As Long

 

if  TBApiIsApiActive = false then

            MsgBox “The UPDD API is *not* active”

End if