NAME
DlpReadSysInfo, – read system information from a PalmOS device
LIBRARY
libpconn
SYNOPSIS
#include <palm.h>
#include <pconn/pconn.h>
int
DlpReadSysInfo(PConnection *pconn, struct dlp_sysinfo *sysinfo);
DESCRIPTION
DlpReadSysInfo() reads system information from pconn and stores it in sysinfo. The dlp_sysinfo structure is defined in <pconn/dlp_cmd.h> as
struct dlp_sysinfo
{
udword rom_version;
udword localization;
ubyte unused;
ubyte prodIDsize;
udword prodID;
uword dlp_ver_maj;
uword dlp_ver_min;
uword comp_ver_maj;
uword comp_ver_min;
udword max_rec_size;
};
RETURN VALUE
DlpReadSysInfo() returns 0 if successful, or a negative value in case of error.