Description
|
Get a list of com port names on the current machine. |
Parameters |
A pointer to the buffer to receive the com port names and the length of this buffer. |
Returns |
0 = fail, 1 = OK. |
Notes |
The UPDD driver must be active. |
Visual C++ Declaration/example
BOOL TBAPI
TBApiGetComPortNames(TCHAR* aBuff,int aBuffLength)
Public Declare Function
TBApiGetComPortNames Lib "TBapi" Alias
“_DLL_TBApiGetComPortNames@8" (ByVal aBuff as String, ByVal aBuffLength As
Long) As Long