GPSGetDeviceState (Compact 2013)

3/26/2014

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

Requirements

Header

gpsapi.h

Library

Gpsapi.lib

See Also

Reference

GPS Intermediate Driver Functions