Hi, Chris,
Here is the details.
Ini:
AppHandle [in] Application Window Handle
MessageId [in] Window notification message id used to notify the
application of a GPS Event.
Gps_Parms [in] Pointer to the GPS_PARM data structure.
typedef struct { USHORT Type; BYTE ComPortID; USHORT NoFixInterval;
USHORT } GPS_PARM;
Read:
GpsData [out] Pointer to a GPS_DATA data structure.
typedef struct { BYTE Status;
int TimeOfDay;
BOOL valid_time;
USHORT day;
USHORT month;
USHORT year;
USHORT hour;
USHORT min;
USHORT sec;
double Latitude;
double Longitude;
double Altitude;
double Heading;
double Speed;
char DllVersion[GPS_VERSION_LENGTH + 1];
char pVersion[GPS_VERSION_LENGTH + 1];
char pStatusBuf[GPS_STATUS_LENGTH+1];
char pLatBuf[LATITUDE_LENGTH+1];
char pLonBuf[LONGITUDE_LENGTH+1];
char pAltBuf[ALTITUDE_LENGTH+1];
char pHeadBuf[GPS_HEADING_LENGTH+1];
USHORT ResetCount;
USHORT FailureCount;
USHORT ResetReason; } GPS_DATA;
How should I declare these functions?
Regards,
LK
BOOL = int
HANDLE = IntPtr
USHORT = UInt16
GPS_PARMS = not enough info provided
GPS_DATA = not enough info providied
-Chris