Export (0) Print
Expand All
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

GPSOpenDevice

Windows Mobile 6.5
A version of this page is also available for
4/8/2010

This function creates a connection to the GPS Intermediate Driver.


HANDLE GPSOpenDevice(
  HANDLE       hNewLocationData,
  HANDLE       hDeviceStateChange,
  const WCHAR *szDeviceName,
  DWORD        dwFlags
);

hNewLocationData

Handle to a Windows Embedded CE event created using CreateEvent, or NULL. The GPS Intermediate Driver signals the passed event whenever it has new GPS location information.

hDeviceStateChange

Handle to a Windows Embedded CE event created using CreateEvent, or NULL. The GPS Intermediate Driver signals the passed event whenever the state of the device changes.

szDeviceName

Reserved. Must be NULL.

dwFlags

Reserved. Must be 0.

If successful, returns a handle to the GPS Intermediate Driver.

If unsuccessful, returns NULL.

Headergpsapi.h
LibraryGpsapi.lib
Windows Embedded CEWindows Embedded CE 6.0 and later
Windows MobileWindows Mobile Version 5.0 and later

Community Additions

Show:
© 2014 Microsoft