Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Resetting settings store values

ISettings_Reset() can be used to restore a specific setting or a registry subtree to its original state. Settings stores that have default values, such as an .ini file, can be reset. A heap-based .ini has no original value, so reset has no effect.

When a subtree is reset, settings not included in the default settings are removed, settings included in the default settings set are re-added if necessary, and all remaining settings are reset to their original values. If a reset is done on the root of the tree, which reset all the values in the .ini file, the .inix file is removed.