Pointer to a GPSDATASTRUCT structure that will be filled with all of the currently available GPS data.
Return Value
If the GPS data is successfully retrieved, then the return value will be GPSERROR_NONE. Otherwise the return value will be GPSERROR_INVALID_PARAMETER.
Remarks
The user is responsible for allocating and freeing the memory pointed to by pgdsData.
This function gets a GPSDATA structure containing all of the information that the GPS receiver has collected. There are functions for retrieving each individual element as well. If many data elements are of interest, it can be more efficient to use this function rather than several of the ones that retrieve individual data elements.