You can use HsGetVersionString(hsVerStrSerialNo, pSerial, &size) but for
this you have to download Treo650 SDK from PalmOne. This API will work
only on Treo device so if you are writing generic code which should work
on other device also then first check IsTreoDevice() then use this API.
#define Treo650ComID 'hspr'
#define Treo650DevID 'H102'
#define Treo650ComIDSim 'hspr'
#define Treo650DevIDSim 'H202'
IsTreoDevice() {
UInt32 companyID;
UInt32 deviceID;
FtrGet(sysFtrCreator, sysFtrNumOEMCompanyID, &companyID);
FtrGet(sysFtrCreator, sysFtrNumOEMDeviceID, &deviceID);
return (((companyID == Treo650ComID) && (deviceID == Treo650DevID))
|| ((companyID == Treo650ComIDSim) && (deviceID ==
Treo650DevIDSim)));
}
Pradeep
>>> [EMAIL PROTECTED] 3/14/2005 6:23:03 AM >>>
Exactly what I was looking for.
Thanks!
--
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/