GPSGetDeviceState

Send Feedback

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
);

Parameters

  • 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.

Return Values

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

OS Versions: Windows CE 5.01 and later.
Header: Gpsapi.h.
Link Library: Gpsapi.lib.

See Also

GPS Intermediate Driver Functions | Accessing Parsed GPS Data

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.