Usually the DmSet is used to initialize the record or a part of it to a
constant (0 is the most often): DmSet(p, offset, numBytes, 0).
FI> I am not sure I understand what is the 'value' argument in
FI> the DmSet function below. Specifically, say that I am using the
FI> function to write into a record the value of a variable that is a
FI> struct, say struct A {...}. So in the call to DmSet bytes would be
FI> sizeof(A), but what the value argument would be ?
FI> Err DmSet (
FI> void *recordP,
FI> UInt32 offset,
FI> UInt32 bytes,
FI> UInt8 value
FI> )
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/