LinksPoint GPS Toolkit Reference
GpsSendData
gpsapi.h | Generic GPS Functions
Sends a buffer of data directly to the GPS device
Parameters
Parameters Description
void * pData Pointer to a block of data to be sent to the GPS device.
long lCount Number of bytes to send to the GPS device.
GPSBOOL fQueue If set to GPS_TRUE the data will be queued for transmission by the main red thread of the Toolkit, otherwise the data is immediately sent in the thread that calls this funcction.
Return Value
If the GPS data is sent successfully, then the return value will be GPSERROR_NONE. If the GPS data is not sent successfully, then the return value will be GPSERROR_NO_DATA.
Remarks
The user is responsible for allocating and freeing the memory for the parameter(s).
Group
Declaration
GPSERROR GPSAPI GpsSendData(void * pData, long lCount, GPSBOOL fQueue);
File
Links
Copyright ©1998-2005 Links Point Inc.