Ok, nobody answers... I found at least something: sysFtrNumDmAutoBackup is the matter of the simulator settings.
Jan Slodicka ----- Original Message ----- From: "Jan Slodicka" <[EMAIL PROTECTED]> To: "Palm Developer Forum" <[email protected]> Sent: Friday, April 22, 2005 12:36 AM Subject: Re: detect NVFS > Hello > > I just tested Tungsten E2 simulator (debug version) and > FtrGet (sysFtrCreator, sysFtrNumDmAutoBackup, &returnVal); > produced returnVal=0. > That's strange given that both T5 handheld and the emulator return non-zero > values. > > I have couple more questions that emerged while iterating VFS volumes. > Volume enumeration returns: > > 1st drive > Attributes: vfsVolumeAttrSlotBased|vfsVolumeAttrHidden|8 > VolumeInfoType.mediaType='ssdr' > > 2nd drive > Attributes: vfsVolumeAttrSlotBased|8 > VolumeInfoType.mediaType='lsdr' > Empty label > > Looks similarly to the T5 except the label. Real T5 device returns the > string "INTERNAL". Does real E2 device return a meaningfull label as well? > (Otherwise we need to synthetize a name, but I don't know which criterion to > use.) > > What does the attribute "8" mean? > > What do the media types mean? Actually these values seem to be identical to > those returned by e.g. T5 (as far I remember). Still, I would like to know > if there is any specific meaning behind them. > > Best regards, > Jan Slodicka > > > ----- Original Message ----- > From: "Ben Combee" <[EMAIL PROTECTED]> > To: "Palm Developer Forum" <[email protected]> > Sent: Wednesday, April 13, 2005 5:16 PM > Subject: Re: detect NVFS > > > > At 05:26 AM 4/13/2005, Alexander R. Pruss wrote: > > >Is there a way of detecing NVFS without having the app have a list of > > >hardware models that have it, which means updating whenever a new one > > >comes along? > > > > Yes. As documented in the palmOne Developer Guide PDF file: > > > > Checking for NVFS > > > > To check if a device includes NVFS, use the following command: > > > > FtrGet (sysFtrCreator, sysFtrNumDmAutoBackup, &returnVal); > > > > If the returnVal is 1, NVFS is present on the device. > sysFtrNumDmAutoBackup is > > defined in the PmPalmOSNVFS.h header file. > > > > > > -- Ben Combee, Senior Software Engineer, palmOne, Inc. > > "Combee on Palm OS" weblog: http://palmos.combee.net/ > > Developer Forum Archives: http://news.palmos.com/read/all_forums/ > > > > > > -- > > 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/ -- For information on using the Palm Developer Forums, or to unsubscribe, please see http://www.palmos.com/dev/support/forums/
