Share via


GPS_DEVICE (Windows Embedded CE 6.0)

1/6/2010

This structure contains information about the GPS Intermediate Driver and GPS hardware used by the GPS Intermediate Driver.

To retrieve the data represented by this structure, call GPSGetDeviceState.

Syntax

typedef struct _GPS_DEVICE {
   DWORD    dwVersion;
   DWORD    dwSize;
   DWORD    dwServiceState;
   DWORD    dwDeviceState;
   FILETIME ftLastDataReceived;
   WCHAR    szGPSDriverPrefix[GPS_MAX_PREFIX_NAME];
   WCHAR    szGPSMultiplexPrefix[GPS_MAX_PREFIX_NAME];
   WCHAR    szGPSFriendlyName[GPS_MAX_FRIENDLY_NAME];
   GPS_DEVICE_STATUS    gdsDeviceStatus;
} *PGPS_DEVICE, GPS_DEVICE;

Members

  • dwVersion
    Version of the GPS Intermediate Driver expected by the application. Must be set before the structure is passed to GPSGetDeviceState.
  • dwSize
    Size of the structure, in bytes. Must be set before the structure is passed to GPSGetDeviceState.
  • dwServiceState
    State of the GPS Intermediate Driver. Contains one of the SERVICE_STATE values defined IOCTL_SERVICE_STATUS.
  • dwDeviceState
    State of the driver controlling the GPS hardware. Contains one of the SERVICE_STATE values defined in IOCTL_SERVICE_STATUS.
  • ftLastDataReceived
    Most recent time the GPS Intermediate Driver received information from the GPS hardware. This time is based on UTC according to the local system clock, not the clock information used by GPS satellites.
  • szGPSDriverPrefix
    Prefix string used to open the GPS hardware. This entry is defined by the CommPort registry entry for hardware that connects through a serial (or virtual serial) interface. This entry is empty when the GPS Intermediate Driver reads information from static files. For more information about GPS hardware registry settings, see GPS Intermediate Driver GPS Hardware Registry Settings.
  • szGPSMultiplexPrefix
    Prefix string used to open the GPS Intermediate Driver multiplexer. This entry is defined by the DriverInterface registry entry in the Multiplexer key. For more information about multiplexer registry settings, see GPS Intermediate Driver Multiplexer Registry Settings.

    For more information about accessing data using the GPS Intermediate Driver multiplexer, see Accessing Raw GPS Data.

  • **

Requirements

Header gpsapi.h
Windows Embedded CE Windows Embedded CE 6.0 and later

See Also

Reference

GPS Intermediate Driver Structures
GPSGetDeviceState

Concepts

Accessing Parsed GPS Data

Other Resources

IOCTL_SERVICE_STATUS