Changeset 252 for trunk/python/pyregfi/structures.py
- Timestamp:
- 05/08/11 13:33:49 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/pyregfi/structures.py
r233 r252 20 20 21 21 REGFI_DATA_TYPE = c_uint32 22 22 REGFI_NTTIME = c_uint64 23 23 24 24 # Prototype everything first so we don't have to worry about reference order 25 class REGFI_NTTIME(Structure):26 pass27 28 25 class REGFI_VK(Structure): 29 26 pass … … 97 94 read_cb_type = CB_FACTORY(c_int64, POINTER(REGFI_RAW_FILE), POINTER(c_char), c_size_t, use_errno=True) 98 95 99 100 REGFI_NTTIME._fields_ = [('low', c_uint32),101 ('high', c_uint32)]102 96 103 97 REGFI_VK._fields_ = [('offset', c_uint32), … … 253 247 254 248 regfi.regfi_reference_record.argtypes = [POINTER(REGFI_FILE), c_void_p] 255 regfi.regfi_reference_record.restype = c_ bool249 regfi.regfi_reference_record.restype = c_void_p 256 250 257 251 regfi.regfi_fetch_num_subkeys.argtypes = [POINTER(REGFI_NK)] … … 307 301 regfi.regfi_iterator_to_root.restype = c_bool 308 302 309 regfi.regfi_iterator_ walk_path.argtypes = [POINTER(REGFI_ITERATOR), POINTER(c_char_p)]310 regfi.regfi_iterator_ walk_path.restype = c_bool303 regfi.regfi_iterator_descend.argtypes = [POINTER(REGFI_ITERATOR), POINTER(c_char_p)] 304 regfi.regfi_iterator_descend.restype = c_bool 311 305 312 306 regfi.regfi_iterator_cur_key.argtypes = [POINTER(REGFI_ITERATOR)] … … 337 331 regfi.regfi_iterator_find_value.restype = c_bool 338 332 333 regfi.regfi_iterator_ancestry.argtypes = [POINTER(REGFI_ITERATOR)] 334 regfi.regfi_iterator_ancestry.restype = POINTER(POINTER(REGFI_NK)) 339 335 340 336 regfi.regfi_init.argtypes = []
Note: See TracChangeset
for help on using the changeset viewer.