Brew MP 1.0.2
Retrieve the value associated with the supplied key.
Pointer to the IPersistentStorage interface object.
A string describing the key component of the key/value
pair to retrieve.
[in/out] The length of the supplied buffer. If data is set
to -1 when this function is called, length is set
to the length of the value at the supplied location.
[in/out] A buffer to copy the data into. If -1, after the call
length will contain the length of the value stored at
int IPERSISTENTSTORAGE_Read(IPersistentStorage* storage, const AECHAR* key,
uint32* length, void* data);
AEE_SUCCESS : The value was successfully retrieved.
AEE_EFAILED : The requested value was not retrieved.