Compartilhar via


GPSGetDeviceState

A version of this page is also available for

Windows Embedded CE 6.0 R3

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.

Syntax

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

Reference

GPS Intermediate Driver Functions

Concepts

Accessing Parsed GPS Data

Other Resources