PNCONFIG
This structure stores the data that goes into the registry as saved configuration data for this Positioning and Navigation device.
Syntax
typedef struct tagPNCONFIG{
DWORD dwStructureSize;
PNPOSITION poPositionData;
PNACCURACY acAccuracy;
PNPOSITION poStaticRefPos;
PNALMANAC alAlmanac;
PNSETTINGS seSettings;
PNBool fInitAlmanac;
PNBool fInitPosition;
PNBool fInitTime;
DWORD dwPNReserved;
} PNCONFIG;
Members
- dwStructureSize
- Specifies the size, in bytes, of the PNCONFIG structure.
- poPositionData
- Holds a GPS position and time the position was found. Only the PNPOSLLA portion of the PNPOSITION structure is used.
- acAccuracy
- Unsupported
- poStaticRefPos
- Unsupported
- alAlmanac
- Almanac data
- seSettings
- Unsupported
- fInitAlmanac
- Boolean that specifies if almanac is initialized when PNAPI is started. TRUE indicates that the almanac is initialized when PNAPI is started. FALSE indicates the almanac is not initialized when PNAPI is started.
- fInitPosition
- Boolean that specifies whether position is initialized when PNAPI is started. TRUE indicates the position is initialized when PNAPI is started. FALSE indicates the position is not initialized when PNAPI is started.
- fInitTime
- Boolean that specifies whether the time is initialized when PNAPI is started. TRUE indicates the time is initialized when PNAPI is started. FALSE indicates the time is not initialized when PNAPI is started.
- dwPNReserved
- Reserved for future use
Remarks
All latitude, and longitude position data is stored in these structures in radians. If any structure contains a tiTime member, it indicates when the data was collected.
All values in the PNCONFIG structure go to the registry. No data passes to the device.