IHTMLStorage::commit Method
.gif)
Note: This documentation is preliminary and is subject to change.
Writes pending changes to persistent storage.
Syntax
HRESULT commit(VOID);
Return Value
Returns S_OK if successful, or an error value otherwise.
Remarks
After calling IHTMLStorage::begin to start a storage transaction, changes to the collection are not saved to disk until commit is called.
Internet Explorer uses XML files to store global storage. Disk writes occur asynchronously; however, to provide more fine-grained control of data consistency, the begin and commit methods can be used to defer disk writes.