Scott Erickson wrote:
I am looking for a way to do a few things.... first, get a list of all applications and all stored data on a Garnet device. second, read through the data one at a time. third, edit or delete any data I dont want on my device (could be stored anywhere, applications, records, database)...can anyone help me with this?Generally, all applications, data, etc., will be in prc or pdb databases, and you can simply iterate through the entire memory using DmGetNextDatabaseByTypeCreator with wildcards for the type and creator params. Once you have each database, you can iterate through each record, getting a handle to the start of the record and scan the memory that is associated with the handle (limiting the scan to MemHandleSize(your handle)).
Since you are looking for viruses, it could be that you need to look at the appInfo and sortInfo blocks too, if those could harbours for infection.
Something like that.
Bob.
-- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
