Share via


GPSCloseDevice (Windows Embedded CE 6.0)

1/6/2010

This function closes the connection to the GPS Intermediate Driver. If this is the only connection to the GPS Intermediate Driver, the GPSID closes its internal handle to the underlying GPS Hardware driver.

Syntax

DWORD GPSCloseDevice(
  HANDLE hGPSDevice
);

Parameters

Return Value

If successful, returns ERROR_SUCCESS.

If unsuccessful, returns an error code.

Requirements

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

See Also

Reference

GPS Intermediate Driver Functions
GPSOpenDevice

Concepts

Accessing Parsed GPS Data

Other Resources

GetLastError