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

This function retrieves information about the current state of the GPS hardware by setting the fields of the passed GPS_DEVICEstructure.

Syntax

DWORD GPSGetDeviceState(
  GPS_DEVICE 
*pGPSDevice
);

Parameters

pGPSDevice

Pointer to a GPS_DEVICEstructure. On return, this structure is filled with device data for the GPS hardware managed by the GPS Intermediate Driver.

Return Value

If successful, returns ERROR_SUCCESS.

If unsuccessful, returns an error code.

Remarks

For more information about setting configurable GPS Intermediate Driver settings, like the driver and multiplex prefixes, see Configuring the GPS Intermediate Driver.

Requirements

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

See Also