Brew MP 1.0.2
Store a value associated with the supplied key.
Pointer to the IPersistentStorage interface object.
The key component of the key/value pair to be stored.
The length of the supplied value.
A buffer of length bytes containing the value to be stored.
TRUE indicates that the write should immediately
be persisted to flash or disk. FALSE indicates
that the result can be cached and may be written
to disk later. Use FALSE if performance is more
important than information safety, TRUE otherwise.
int IPERSISTENTSTORAGE_Write(IPersistentStorage* storage, const
AECHAR* key, uint32 length,
void* data, BOOLEAN writeNow);
AEE_SUCCESS: The value was successfully stored.
AEE_EFAILED: The requested value was not stored.