Whoops, of course a Visor with a memory card inserted in the Springboard
slot will return 2 for this call.

Gavin.

-----Original Message-----
From: Gavin Maxwell [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 2 January 2002 10:13 AM
To: Palm Developer Forum
Subject: RE: a MemNumCards() question...


Paul,

First comment - you should really only reference OS sources by line number.
You haven't copied code in here, but it's sailing close to the wind. In fact
there was no need to mention OS surce here anyway... what's wrong with just
referring to the "return value" of MemNumCards? Or are you digging a little
deeper than recommended?

Second comment - what on earth are you doing???

Third comment - From memory no Palm devices have more than 1 memory card
(NB: we are NOT talking about expansion mgr stuff, but on board memory
cards). I'd have to check up on some of the earlier devices, but I'm pretty
sure you'll get 1 for this in all cases. 

Fourth comment - what on earth are you doing???!!

Gavin.

-----Original Message-----
From: Paul Nevai [mailto:[EMAIL PROTECTED]]
Sent: Wednesday, 2 January 2002 8:39 AM
To: Palm Developer Forum
Subject: a MemNumCards() question...


We have UInt16 MemNumCards(void) which returns GMemCardSlots.  I would like
to know what is the greatest value of GMemCardSlots which I could expect to
see on all current Palm Powered handhelds so that I could use the high bits
for other purposes (OS < 5.0).

Is GMemCardSlots ever more than 16? May I count on it to be always less than
16? Is there a pointer to such a claim?

Thanks, Paul N.


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

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

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

Reply via email to