GPSGetDeviceState

Windows Mobile 6.5
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_DEVICE structure.


DWORD GPSGetDeviceState(
  GPS_DEVICE *pGPSDevice
);

pGPSDevice

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

If successful, returns ERROR_SUCCESS.

If unsuccessful, returns an error code.

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

Headergpsapi.h
LibraryGpsapi.lib
Windows Embedded CEWindows Embedded CE 6.0 and later
Windows MobileWindows Mobile Version 5.0 and later
Show: