GPSCloseDevice (Compact 2013)

3/26/2014

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

See Also

Reference

GPS Intermediate Driver Functions
GPSOpenDevice

Other Resources

GetLastError