TBApiGetMacroStatus API Call

 

Description

Returns the current status of the macro processor for the specified device.

Parameters

Device handle and state buffer.

Returns

0 = fail, 1 = OK. If OK, current status is returned in aState. Possible values are defined (in TBapi.h) as: enum _MacroState{ eMacroNotStarted, eStarted, eTimedOut, eFailed, eSyntax, eNotSupported, eNak, eNoMacro, eComplete, eUnknown} etc.

Notes

None.

 

Visual C++ Declaration/example

 

BOOL TBAPI TBApiGetMacroStatus(HTBDEVICE aDeviceHandle, DWORD* aState);

 

Visual Basic Declaration/example

 

Public Declare Function TBApiGetMacroStatus Lib "TBapi" Alias "_DLL_TBApiGetMacroStatus@8" (ByVal aDeviceHandle As Byte, ByVal aState As Long) As Long