Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
4/8/2010

The GPS Intermediate Driver uses this IOCTL when the GPS hardware is configured using an input source of type Poll. For more information, see GPS Intermediate Driver Poll Registry Settings.

Parameters

The lpOutBuffer parameter to DeviceIOControlpoints to memory that must be set to a GPS_POSITIONstructure that contains the most recent location information obtained by the GPS hardware.

If the GPS hardware has no data, but the hardware is still functioning, the dwValidFields member of the GPS_POSITIONstructure should be set to 0.

Return Values

TRUE if the GPS hardware is functioning, even if there was no data to return.

FALSE if there has been a GPS hardware error (for example, if the GPS hardware has been unplugged).

Requirements

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

See Also