Hi there,
I am not sure I understand what is the 'value' argument in the DmSet function
below. Specifically, say that I am using the function to write into a record
the value of a variable that is a struct, say struct A {...}. So in the call to
DmSet bytes would be sizeof(A), but what the value argument would be ?
Err DmSet (
void *recordP,
UInt32 offset,
UInt32 bytes,
UInt8 value
)
Parameters
â recordP
Pointer to locked data record (chunk pointer).
â offset
Offset within record to start writing.
â bytes
Number of bytes to write.
â value
Byte value to write.
Thanks,
Fernando
--
For information on using the Palm Developer Forums, or to unsubscribe, please
see http://www.palmos.com/dev/support/forums/