Changeset 137 for trunk/include/regfi.h


Ignore:
Timestamp:
01/23/09 17:58:43 (15 years ago)
Author:
tim
Message:

Added error messages to most parse functions in regfi

Relaxed validation requirements on NK types and missing value data

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/regfi.h

    r136 r137  
    111111#define REGFI_VK_MAX_DATA_LENGTH   1024*1024
    112112
     113
    113114/* NK record types */
     115/* XXX: This is starting to look like this is a flags field. 
     116 *      Need to decipher the meaning of each flag.
     117 */
    114118#define REGFI_NK_TYPE_LINKKEY      0x0010
    115119#define REGFI_NK_TYPE_NORMALKEY    0x0020
    116120 /* XXX: Unknown key type that shows up in Vista registries */
    117121#define REGFI_NK_TYPE_UNKNOWN1     0x1020
     122 /* XXX: Unknown key types that shows up in W2K3 registries */
     123#define REGFI_NK_TYPE_UNKNOWN2     0x4020
     124#define REGFI_NK_TYPE_UNKNOWN3     0x0000  /* XXX: This type seems to have UTF-16 names!!! */
    118125#define REGFI_NK_TYPE_ROOTKEY1     0x002c
    119126 /* XXX: Unknown root key type that shows up in Vista registries */
    120127#define REGFI_NK_TYPE_ROOTKEY2     0x00ac
     128
     129#if 0
     130/* Initial hypothesis of NK flags: */
     131#define REGFI_NK_FLAG_LINK         0x0010
     132/* The name will be in ASCII if this next bit is set, otherwise UTF-16LE */
     133#define REGFI_NK_FLAG_ASCIINAME    0x0020
     134/* These next two combine to form the "c" on both known root key types */
     135#define REGFI_NK_FLAG_ROOT1        0x0008
     136#define REGFI_NK_FLAG_ROOT2        0x0004
     137/* These next two show up on normal-seeming keys in Vista and W2K3 registries */
     138#define REGFI_NK_FLAG_UNKNOWN1     0x4000
     139#define REGFI_NK_FLAG_UNKNOWN2     0x1000
     140/* This next one shows up on root keys in some Vista "software" registries */
     141#define REGFI_NK_FLAG_UNKNOWN3     0x0080
     142#endif
     143
    121144
    122145
Note: See TracChangeset for help on using the changeset viewer.