Changeset 162 for trunk/include


Ignore:
Timestamp:
12/07/09 15:12:13 (15 years ago)
Author:
tim
Message:

added UTF-16LE support for value names

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/regfi.h

    r161 r162  
    137137
    138138/* Flags for the vk records */
    139 /* XXX: This next flag may be incorrect.  According to Jeffrey Muir,
    140 *       this may actually indicate that the value name is stored in
    141 *       UTF-16LE.
    142 */
    143 #define REGFI_VK_FLAG_NAME_PRESENT 0x0001
     139#define REGFI_VK_FLAG_ASCIINAME    0x0001
    144140#define REGFI_VK_DATA_IN_OFFSET    0x80000000
    145141#define REGFI_VK_MAX_DATA_LENGTH   1024*1024  /* XXX: This is arbitrary */
     
    331327  uint32 type;
    332328  uint8  magic[REGFI_CELL_MAGIC_SIZE];
    333   uint16 flag;
     329  uint16 flags;
    334330  uint16 unknown1;
    335331  bool data_in_offset;
     
    591587                                     bool strict);
    592588REGFI_VK_REC*         regfi_load_value(REGFI_FILE* file, uint32 offset,
     589                                       REGFI_ENCODING output_encoding,
    593590                                       bool strict);
    594591REGFI_SUBKEY_LIST*    regfi_load_subkeylist(REGFI_FILE* file, uint32 offset,
Note: See TracChangeset for help on using the changeset viewer.