man DlpGetSysDateTime (Fonctions bibliothèques) - DlpGetSysDateTime ,

NAME

DlpGetSysDateTime ,DlpSetSysDateTime - read and write date/time to/from a PalmOS device

LIBRARY

libpconn

SYNOPSIS

#include <palm.h>#include <pconn/pconn.h>DlpGetSysDateTime PConnection *pconn struct dlp_time *ptimeDlpSetSysDateTime PConnection *pconn const struct dlp_time *ptime

DESCRIPTION

DlpGetSysDateTime

reads the date and time pconn and stores it in ptime . DlpSetSysDateTime sets the date and time on the Palm. The structure is defined as struct dlp_time { uword year; ubyte month; ubyte day; ubyte hour; ubyte minute; ubyte second; };

RETURN VALUE

DlpGetSysDateTime

and DlpSetSysDateTime return 0 if successful, or a negative value in case of error.

SEE ALSO

CETTE PAGE DOCUMENTE AUSSI :