Ignore:
Timestamp:
10/09/10 17:55:44 (14 years ago)
Author:
tim
Message:

worked on pyregfi value data interface

added initial scons target for API/devel documentation

File:
1 edited

Legend:

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

    r206 r209  
    1111REGFI_ENCODING = c_uint32
    1212REGFI_DATA_TYPE = c_uint32
     13
     14# Registry value data types
     15REG_NONE                       =  0
     16REG_SZ                         =  1
     17REG_EXPAND_SZ                  =  2
     18REG_BINARY                     =  3
     19REG_DWORD                      =  4
     20REG_DWORD_LE                   =  4 # DWORD, little endian
     21REG_DWORD_BE                   =  5 # DWORD, big endian
     22REG_LINK                       =  6
     23REG_MULTI_SZ                   =  7
     24REG_RESOURCE_LIST              =  8
     25REG_FULL_RESOURCE_DESCRIPTOR   =  9
     26REG_RESOURCE_REQUIREMENTS_LIST = 10
     27REG_QWORD                      = 11 # 64-bit little endian
    1328
    1429
     
    176191                ('full_resource_descriptor',POINTER(c_char)),
    177192                ('resource_requirements_list',POINTER(c_char)),
    178                 ]   
     193                ]
    179194REGFI_DATA._fields_ = [('offset', c_uint32),
    180195                       ('type', REGFI_DATA_TYPE),
     
    185200                       ]
    186201
    187    
     202
    188203REGFI_FILE._fields_ = [('magic', c_char * 4),
    189204                       ('sequence1', c_uint32),
Note: See TracChangeset for help on using the changeset viewer.