I am having a little trouble reading this DmFindResource function
documentation, it says that it returnes an unsigned integer, however it
also says that -1 indicates that the record was not found. Am I to assume
that it is a Signed integer being returned rather then unsigned?
Should I do a cast to (Int16) on the result?
I have checked in the SDK definitions and the function does return UInt16.
Any comments on this documentation booboo will be appreciated :)
THE FOLLOWING IS AN EXCERPT FROM THE SDK DOCUMENTATION:
UInt16 DmFindResource (DmOpenRef dbP, DmResType resType,
DmResID resID, MemHandle resH)
Parameters
-> dbP
-> resType
-> resID
->resH
Result
Returns index of resource in resource database, or -1 if not found.
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/