Use this Api to get the tick per secon for system 
 
This is the code for logout :


EventType event;
event.eType = appStopEvent;
EvtAddEventToQueue( &event );

use function  UInt16 SysTicksPerSecond (void) to get ticks per second for your system 


UInt32 TimGetTicks (void)
Return the tick count since the last reset. The tick count does not advance while the 
device is in sleep mode.


so from these three function you can easily implment the logout time 


regards , 

piyush jain 

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to