GPSCloseDevice
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
- hGPSDevice
Handle returned by a call to GPSOpenDevice.
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