LinksPoint GPS Toolkit Reference
GpsGetPortList
gpsapi.h | Generic GPS Functions
Returns a list of names of the available communications ports
Parameters
Parameters Description
LPTSTR lpszPorts Specifies the address of a buffer to receive the list of ports.
Return Value
The return value will be the number of communications ports that are in the list of returned strings.
Remarks
The list is double NULL terminated. Each entry is single NULL terminated.

 

Windows. The returned list will look similar to “COM1:\0COM2:\0\0”.

Palm OS. The returned list will look similar to “Serial\0IrCOMM\0\0”.

Group
Declaration
long GPSAPI GpsGetPortList(LPTSTR lpszPorts);
File
Links
Copyright ©1998-2005 Links Point Inc.