DlpReadSysInfo3
Read system information from a palmos device
Usage
#include <palm.h>
#include <pconn/pconn.h>
int
DlpReadSysInfo(PConnection *pconn, struct dlp_sysinfo *sysinfo);
Library
libpconn
Overview
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.
Releases
Unchanged in 3 releases since Debian 3.0 (Woody).