GPSOpenDevice (Compact 2013)
3/26/2014
This function creates a connection to the GPS Intermediate Driver.
Syntax
HANDLE GPSOpenDevice(
HANDLE hNewLocationData,
HANDLE hDeviceStateChange,
const WCHAR *szDeviceName,
DWORD dwFlags
);
Parameters
- 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.
Return Value
If successful, returns a handle to the GPS Intermediate Driver.
If unsuccessful, returns NULL.
Requirements
Header |
gpsapi.h |
Library |
Gpsapi.lib |
See Also
Reference
GPS Intermediate Driver Functions