Click to Rate and Give Feedback
MSDN
MSDN Library
Windows Mobile
Windows Mobile 5.0
Native Code
OS Services
 GPSCloseDevice

  Switch on low bandwidth view
Windows Mobile Version 5.0 SDK
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

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

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.


© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker