regfi
Data Fields

Key structure. More...

Collaboration diagram for REGFI_NK:
Collaboration graph
[legend]

Data Fields

uint32_t offset
 Real offset of this record's cell in the file.
uint32_t cell_size
 Actual or estimated length of the cell.
REGFI_VALUE_LISTvalues
 Preloaded value-list for this key.
REGFI_SUBKEY_LISTsubkeys
 Preloaded subkey-list for this key.
uint16_t flags
 Key flags.
uint8_t magic [REGFI_CELL_MAGIC_SIZE]
 Magic number of key (should be "nk")
REGFI_NTTIME mtime
 Key's last modification time.
uint16_t name_length
 Length of name_raw.
uint16_t classname_length
 Length of referenced classname.
char * name
 The name of this key converted to desired REGFI_ENCODING.
uint8_t * name_raw
 The raw key name.
uint32_t parent_off
 Virtual offset of parent key.
uint32_t classname_off
 Virtual offset of classname key.
uint32_t num_subkeys
 Number of subkeys.
uint32_t subkeys_off
 Virtual offset of subkey-list.
uint32_t num_values
 Number of values for this key.
uint32_t values_off
 Virtual offset of value-list.
uint32_t sk_off
 Virtual offset of SK record.

Detailed Description

Key structure.


Field Documentation

Actual or estimated length of the cell.

Always in multiples of 8.

Referenced by regfi_parse_nk().

Preloaded value-list for this key.

This element is loaded automatically when using the iterator interface and possibly some lower layer interfaces.

Referenced by regfi_fetch_num_values(), regfi_get_value(), regfi_load_key(), and regfi_parse_nk().

Preloaded subkey-list for this key.

This element is loaded automatically when using the iterator interface and possibly some lower layer interfaces.

Referenced by regfi_fetch_num_subkeys(), regfi_get_subkey(), regfi_load_key(), and regfi_parse_nk().

The name of this key converted to desired REGFI_ENCODING.

This conversion typically occurs automatically through REGFI_ITERATOR settings. String is NUL terminated.

Referenced by regfi_find_subkey(), and regfi_parse_nk().

The raw key name.

Length of the buffer is stored in name_length.

Referenced by regfi_parse_nk().


The documentation for this struct was generated from the following file:
 All Data Structures Files Functions Variables