TBApiGetDeviceAddress API Call

 

Description

Returns the DMA address for used by a serial controller.

Parameters

Device handle and pointer to buffer to receive Address.

Returns

0 = fail, 1 = OK.

Notes

None.

 

Visual C++ Declaration/example

 

BOOL TBAPI TBApiGetDeviceAddress(HTBDEVICE aDeviceHandle, DWORD* aAddress);

 

Visual Basic Declaration/example

 

Public Declare Function TBApiGetDeviceAddress Lib "TBapi" Alias "_DLL_TBApiGetDeviceAddress@8" (ByVal aDeviceHandle As Byte, ByVal aAddress As Long) As Long