Syntax 

int PCMSGetStopOptions(Trip trip, int stopIndex, bool* pOnDuty, int* pStopDuration, int* pStopType)


Parameters 

Trip trip – Handle to a trip.

int stopIndex – Index of the stop.

bool *pOnDuty – Stores the On Duty status of this stop.  True = on duty, False = off duty.

int *pStopDuration – Stores the time in minutes that the driver will remain at this stop.

int *pStopType – Stores the identifier for what kind of stop is being made. Should be an integer value of 0 through 4: 0 = None, 1 = Pickup, 2 = Drop off, 3 = Rest stop, 4 = Fuel stop.


Description

Gets the advanced stop information for a specific stop in a trip. By default, all stops will be set to on duty, zero duration, and be of type “None”.


Return Values 

Returns zero (0) upon success. A negative one (-1) indicates an error has occurred. 

 

Supported Since: PC*MILER|Connect 29

Category: Trip Options