共用方式為


GPS_FIX_TYPE

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

This enumeration contains values that specify the type of GPS fix. This enumeration is used in the FixType field of the GPS_POSITION structure.

Syntax

typedef enum {
   GPS_FIX_UNKNOWN = 0,
   GPS_FIX_2D,
   GPS_FIX_3D
} GPS_FIX_TYPE;

Elements

  • GPS_FIX_UNKNOWN
    Type of fix is unknown.
  • GPS_FIX_2D
    Fix is two-dimensional and only provides latitude and longitude. This occurs when only three GPS satellites are used.
  • GPS_FIX_3D
    Fix is three-dimensional and provides latitude, longitude, and elevation. This occurs when four or more GPS satellites are used.

Requirements

Header gpsapi.h
Windows Embedded CE Windows Embedded CE 6.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

GPS Intermediate Driver Enumerations
GPS_POSITION

Concepts

Accessing Parsed GPS Data

Other Resources