Ignore:
Timestamp:
04/01/11 23:42:08 (13 years ago)
Author:
tim
Message:

added a lot of documentation for pyregfi and a few more attributes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/python/pyregfi/structures.py

    r220 r221  
    11#!/usr/bin/env python
     2
     3## @package pyregfi.structures
     4# Low-level data structures and C API mappings.
     5#
     6# Most users need not venture here.  For more information, see the source.
    27
    38import sys
     
    813from ctypes import *
    914
     15
    1016# XXX: can we always be sure enums are this size?
    1117REGFI_ENCODING = c_uint32
     
    1319
    1420REGFI_DATA_TYPE = c_uint32
    15 REGFI_REGF_SIZE = 0x1000
    16 
    17 # Registry value data types
    18 REG_NONE                       =  0
    19 REG_SZ                         =  1
    20 REG_EXPAND_SZ                  =  2
    21 REG_BINARY                     =  3
    22 REG_DWORD                      =  4
    23 REG_DWORD_LE                   =  4 # DWORD, little endian
    24 REG_DWORD_BE                   =  5 # DWORD, big endian
    25 REG_LINK                       =  6
    26 REG_MULTI_SZ                   =  7
    27 REG_RESOURCE_LIST              =  8
    28 REG_FULL_RESOURCE_DESCRIPTOR   =  9
    29 REG_RESOURCE_REQUIREMENTS_LIST = 10
    30 REG_QWORD                      = 11 # 64-bit little endian
     21REGFI_REGF_SIZE = 0x1000
    3122
    3223
Note: See TracChangeset for help on using the changeset viewer.