Compartilhar via


GPS_VALID_

Windows Mobile SupportedWindows Embedded CE Supported

9/8/2008

Esta família de constantes especifica quais os campos a GPS_POSITION estrutura são válido.

The GPSGetPosition função preenche uma estrutura GPS_POSITION com informações que inclui a latitude e longitude retornado pelo hardware de GPS. GPS_POSITION inclui um campo nomeado dwValidFields, que especifica os campos na estrutura que estão válido, usando um combinação bit a bit das constantes na seguinte tabela.

Value Description

GPS_VALID_UTC_TIME = 0 x 00000001

Se definido, o campo stUTCTime é válido.

GPS_VALID_LATITUDE = 0 x 00000002

Se definido, o campo dblLatitude é válido.

GPS_VALID_LONGITUDE = 0x00000004

Se definido, o campo dblLongitude é válido.

GPS_VALID_SPEED = 0x00000008

Se definido, o campo flSpeed é válido.

GPS_VALID_HEADING = 0x00000010

Se definido, o campo flHeading é válido.

GPS_VALID_MAGNETIC_VARIATION = 0 x 00000020

Se definido, o campo dblMagneticVariation é válido.

GPS_VALID_ALTITUDE_WRT_SEA_LEVEL = 0x00000040

Se definido, o campo flAltitudeWRTSeaLevel é válido.

GPS_VALID_ALTITUDE_WRT_ELLIPSOID = 0x00000080

Se definido, o campo flAltitudeWRTEllipsoid é válido.

GPS_VALID_POSITION_DILUTION_OF_PRECISION = 0x00000100

Se definido, o campo flPositionDilutionOfPrecision é válido.

GPS_VALID_HORIZONTAL_DILUTION_OF_PRECISION = 0x00000200

Se definido, o campo flHorizontalDilutionOfPrecision é válido.

GPS_VALID_VERTICAL_DILUTION_OF_PRECISION = 0 x 00000400

Se definido, o campo flVerticalDilutionOfPrecision é válido.

GPS_VALID_SATELLITE_COUNT = 0x00000800

Se definido, o campo dwSatelliteCount é válido.

GPS_VALID_SATELLITES_USED_PRNS = 0x00001000

Se definido, o campo rgdwSatellitesUsedPRNs é válido.

GPS_VALID_SATELLITES_IN_VIEW = 0x00002000

Se definido, o campo dwSatellitesInView é válido.

GPS_VALID_SATELLITES_IN_VIEW_PRNS = 0x00004000

Se definido, o campo rgdwSatellitesInViewPRNs é válido.

GPS_VALID_SATELLITES_IN_VIEW_ELEVATION = 0x00008000

Se definido, o campo rgdwSatellitesInViewElevation é válido.

GPS_VALID_SATELLITES_IN_VIEW_AZIMUTH = 0x00010000

Se definido, o campo rgdwSatellitesInViewAzimuth é válido.

GPS_VALID_SATELLITES_IN_VIEW_SIGNAL_TO_NOISE_RATIO = 0x00020000

Se definido, o campo rgdwSatellitesInViewSignalToNoiseRatio é válido.

Requisitos

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 Constants
GPS_POSITION
GPSGetPosition

Concepts

Accessing Parsed GPS Data