Functions | |
TC_STATUS | TcQueryPortList (PTC_PORT *ppPorts, PULONG pLength) |
It returns a list on all the available ports on the system, both physical and aggregating (TcAP and BAP). | |
TC_STATUS | TcFreePortList (PTC_PORT pPorts) |
It frees a list of port handles returned by TcQueryPortList . | |
PCHAR | TcStatusGetString (TC_STATUS status) |
It translates a status code returned by one of the functions into an error string. |
It returns a list on all the available ports on the system, both physical and aggregating (TcAP and BAP).
ppPorts | Address of a caller allocated pointer to a TC_PORT. On success, the pointer will point to an array of port handles available on the system. The returned list must be freed with TcFreePortList. | |
pLength | Address of a caller allocated unsigned long. On success, it contains the number of entries in the array of port handles ppPorts. |
Thread safety: this function is thread safe i.e. it can be called from multiple threads concurrently.
It frees a list of port handles returned by TcQueryPortList .
pPorts | A list of port handles previously returned by TcQueryPortList . |
Thread safety: this function is thread safe i.e. it can be called from multiple threads concurrently.
PCHAR TcStatusGetString | ( | TC_STATUS | status | ) |
It translates a status code returned by one of the functions into an error string.
status | A status code (in the Error codes section) returned by one of functions in the library. |
Thread safety: this function is thread safe i.e. it can be called from multiple threads concurrently.
TurboCap API documentation. Copyright (c) 2007-2008 CACE Technologies. All rights reserved.