LinksPoint GPS Toolkit Reference
Up | Next
GpsSetNotificationCallback
gpsapi.h | Notifications | See Also
Sets an application defined callback function to receive messages from the Toolkit
Parameters
Parameters Description
GPSNOTIFYPROC pNotifyProc Pointer to the application-defined notification function
long lUserParam Long integer representing to the application-defined user parameter that will be passed to the notification function
Return Value
If the notification function is successfully set, then the return value will be GPSERROR_NONE. If the notification function is not successfully set, then the return value will be GPSERROR_INVALID_PARAMETER.
Remarks
  • If pNotifyProc is NULL, then the GPS engine will no longer send status messages.

  • lUserParam is often useful to pass a window handle or an MFC CWnd pointer that can be used in the callback function to post a windows message to an application window.

  • For information about the callback function see the GPSNOTIFYPROC callback function.
See Also
Group
Declaration
GPSERROR GPSAPI GpsSetNotificationCallback(GPSNOTIFYPROC pNotifyProc, long lUserParam);
File
Links
Copyright ©1998-2005 Links Point Inc.