|
inlinestatic |
The function returns informations about actual GPS position.
Error | Additional error information returned from Drive. |
GpsPosition | Reference to instance of SGpsPosition class which contains informations about GPS position. |
SatellitesInfo | Flag determining whether function should return satellites information. |
MaxTime | Maximum time (in milliseconds) function can take. If MaxTime=0 function execution is not time limited. |
The function GetActualGpsPosition needs Drive to have valid GPS position. If valid GPS position is not present GetActualGpsPosition returns 0 and GpsPosition (see SGpsPosition class) members are set to 0.
Possible error codes returned from Drive are:
3 - Function reached timeout.
References SGpsPosition.SizeOf(), and SError.SizeOf().