Changeset 165 for trunk/include


Ignore:
Timestamp:
12/11/09 22:13:27 (15 years ago)
Author:
tim
Message:

added misc comments

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/regfi.h

    r162 r165  
    9696#define REG_KEY                    0x7FFFFFFF
    9797
     98#define REGFI_OFFSET_NONE          0xffffffff
     99
     100
     101/* This maximum depth is described here:
     102 * http://msdn.microsoft.com/en-us/library/ms724872%28VS.85%29.aspx
     103 */
    98104#define REGFI_MAX_DEPTH            512
    99 #define REGFI_OFFSET_NONE          0xffffffff
    100 
    101 /* XXX: This is totally arbitrary right now. */
     105
     106/* This limit defines the maximum number of levels deep that ri subkey list
     107 * trees can go.
     108 */
     109/* XXX: This is totally arbitrary right now.
     110 *      The actual limit may need to be discovered by experimentation.
     111 */
    102112#define REGFI_MAX_SUBKEY_DEPTH     255
     113
    103114
    104115/* Header sizes and magic number lengths for various records */
     
    475486
    476487
    477 /* XXX: Should move all caching (SK records, HBINs, NKs, etc) to a single
    478  *      structure, probably REGFI_FILE.  Once key caching is in place,
    479  *      convert key_positions stack to store just key offsets rather than
    480  *      whole keys.
    481  */
    482488typedef struct _regfi_iterator
    483489{
Note: See TracChangeset for help on using the changeset viewer.