GPSCloseDevice

Send Feedback

This function closes the connection to the GPS Intermediate Driver. If this is the only connection to the GPS Intermediate Driver, the GPS Intermediate Driver turns off the GPS hardware to save power.

DWORD GPSCloseDevice(
  HANDLE hGPSDevice
);

Parameters

Return Values

If successful, returns ERROR_SUCCESS.

If unsuccessful, returns an error code.

Requirements

OS Versions: Windows CE 5.01 and later.
Header: Gpsapi.h.
Link Library: Gpsapi.lib.

See Also

GPS Intermediate Driver Functions | GetLastError | GPSOpenDevice | Accessing Parsed GPS Data

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.