GPSCloseDevice

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/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
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

GPS Intermediate Driver Functions
GPSOpenDevice

Concepts

Accessing Parsed GPS Data

Other Resources

GetLastError