Developer

API Reference

IPERSISTENTSTORAGE_Delete()

deprecated
Items marked as deprecated have been replaced by a more powerful, alternative feature. Deprecated interfaces include a reference to the replacement interface, which should be used for all new application development. Deprecated features are still supported for backward compatibility, but should be avoided when developing new applications.
Brew Release
Brew MP 1.0.2
See Also
Error Codes
Description
Delete a key/value pair.
Parameters
  • storage
    []:
    Pointer to the IPersistentStorage interface object.
  • key
    []:
    The key component of the key/value pair to be deleted.
  • writeNow
    []:
    TRUE indicates that the delete 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.
Interface
IPERSISTENTSTORAGE
Prototype
   int IPERSISTENTSTORAGE_Delete(IPersistentStorage* storage,
                                 const AECHAR* key, int writeNow);
Return
AEE_SUCCESS : The pair was successfully deleted. AEE_EFAILED : The pair was not deleted.
Side Effect
None
Comment
None
  • Follow