Export (0) Print
Expand All

GPSOpenDevice (Compact 2013)

3/26/2014

This function creates a connection to the GPS Intermediate Driver.


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

hNewLocationData

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

hDeviceStateChange

Handle to an 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.

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

If unsuccessful, returns NULL.

Header

gpsapi.h

Library

Gpsapi.lib

Show:
© 2014 Microsoft