regfi
Loading...
Searching...
No Matches
Data Fields

Key structure. More...

#include "regfi.h"

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.
 
charname
 The name of this key converted to desired REGFI_ENCODING.
 
uint8_tname_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

◆ cell_size

uint32_t REGFI_NK::cell_size

Actual or estimated length of the cell.


Always in multiples of 8.

Referenced by regfi_parse_nk().

◆ values

REGFI_VALUE_LIST* REGFI_NK::values

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().

◆ subkeys

REGFI_SUBKEY_LIST* REGFI_NK::subkeys

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().

◆ name

char* REGFI_NK::name

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().

◆ name_raw

uint8_t* REGFI_NK::name_raw

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: