Luc Le Blanc,

>Is this documented somewhere, eventually with a struct?

Yes, start here:

http://www.palmos.com/dev/support/docs/fileformats/Intro.html#969980

That is chapter 1, "Introduction to File Formats", in the Palm OS File Format
Specification manual.  It describes the database header area common to both PDB
and PRC databases.  I only mentioned the first 32 bytes which is the internal
database name, but you can readily access other fields too such as the creator
ID or type, etc.

As Jerome mentions, you can also alter the header bytes on the fly during an
ExgDBRead callback so that you don't need to update the VFS contents at all.  In
my experience, ExgDBRead always begins by getting the first 72 bytes of the
database on the first call, giving you access to all the header fields to
examine or manipulate.

Doug

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

Reply via email to