Changeset 253 for trunk/python/pyregfi/structures.py
- Timestamp:
- 06/12/11 22:27:42 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/python/pyregfi/structures.py
r252 r253 21 21 REGFI_DATA_TYPE = c_uint32 22 22 REGFI_NTTIME = c_uint64 23 24 REGFI_REGF_SIZE = 0x1000 23 25 24 26 # Prototype everything first so we don't have to worry about reference order … … 94 96 read_cb_type = CB_FACTORY(c_int64, POINTER(REGFI_RAW_FILE), POINTER(c_char), c_size_t, use_errno=True) 95 97 98 99 from winsec import * 96 100 97 101 REGFI_VK._fields_ = [('offset', c_uint32), … … 113 117 REGFI_SK._fields_ = [('offset', c_uint32), 114 118 ('cell_size', c_uint32), 115 ('sec_desc', c_void_p), #XXX119 ('sec_desc', POINTER(WINSEC_DESC)), 116 120 ('hbin_off', c_uint32), 117 121 ('prev_sk_off', c_uint32), … … 261 265 regfi.regfi_fetch_sk.restype = POINTER(REGFI_SK) 262 266 267 regfi.regfi_next_sk.argtypes = [POINTER(REGFI_FILE), POINTER(REGFI_SK)] 268 regfi.regfi_next_sk.restype = POINTER(REGFI_SK) 269 270 regfi.regfi_prev_sk.argtypes = [POINTER(REGFI_FILE), POINTER(REGFI_SK)] 271 regfi.regfi_prev_sk.restype = POINTER(REGFI_SK) 272 263 273 regfi.regfi_fetch_data.argtypes = [POINTER(REGFI_FILE), POINTER(REGFI_VK)] 264 274 regfi.regfi_fetch_data.restype = POINTER(REGFI_DATA) … … 283 293 regfi.regfi_get_parentkey.restype = POINTER(REGFI_NK) 284 294 285 regfi.regfi_nt2unix_time.argtypes = [ POINTER(REGFI_NTTIME)]295 regfi.regfi_nt2unix_time.argtypes = [REGFI_NTTIME] 286 296 regfi.regfi_nt2unix_time.restype = c_double 287 297
Note: See TracChangeset
for help on using the changeset viewer.