Struct nt_hive::Hive [−][src]
pub struct Hive<B: ByteSlice> { /* fields omitted */ }
Expand description
Root structure describing a registry hive.
Implementations
Creates a new Hive
from any byte slice.
Performs basic validation and rejects any invalid hive.
You may use Hive::without_validation
if you want to accept hives that fail validation.
Creates a new Hive
from any byte slice, without validating the header.
You may later validate the header via Hive::validate
.
This is a solution for accessing parts of hives that have not been fully flushed to disk
(e.g. due to hibernation and mismatching sequence numbers).
Returns the major version of this hive.
The only known value is 1
.
Returns the minor version of this hive.
You can feed this value to HiveMinorVersion::n
to find out whether this is a known version.
Clears the volatile_subkey_count
field of all key nodes recursively.
This needs to be done before passing the hive to an NT kernel during boot. See https://github.com/reactos/reactos/pull/1883 for more information.