Syntax
int PCMSGetStop(Trip trip, int which, char *buffer, int bufSize)
Parameters
Trip trip – Handle to a trip.
int which – The stop on the trip. Stop number 0 is the origin.
char *buffer – The stop name is stored in this buffer.
int bufSize – The number of bytes in the buffer.
Description
Gets the place name for the requested stop number in a trip. If bufSize is less than the actual stop name length, then bufSize - 1 characters will be copied into buffer.
Return Values
Returns the number of characters put into the buffer.
Sample Code
Trip trip = PCMSNewTrip(server); PCMSAddStop(trip, "12345"); PCMSAddStop(trip, "18974;1174 nassau road"); PCMSAddStop(trip, "Dublin, PA")
Supported Since: PC*MILER Connect 12
Category: Trip Management