-
-
Notifications
You must be signed in to change notification settings - Fork 16
/
Copy pathINFO2 Structure.tpl
42 lines (37 loc) · 1.04 KB
/
INFO2 Structure.tpl
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
template "INFO2 Structure"
// Costas Katsavounidis - 2021 v.1
// kacos2000 [at] gmail.com
// https://github.com/kacos2000
//
// To be applied to INFO2 files at
// offset 0 of the file
description "INFO2 Structure"
applies_to file
read-only
// ref: https://github.com/libyal/dtformats/blob/main/documentation/Windows%20Recycler%20file%20formats.asciidoc
begin
Section "Header"
uint32 "Version"
uint32 "Number_of_file_entries"
uint32 "Previous Number of file entries"
uint32 "Record_Size"
hex 4 "Unknown"
endSection
ifGreater Number_of_file_entries 0
move 0
else
end
endIF
numbering 1{
Section "File Entry #~"
char[260] "Original filename [ASCII]"
uint32 "Index within INFO2"
uint32 "Drive Number"
FileTime "Deletion date and time"
uint32 "Original File size"
ifGreater Record_Size 280
string16 260 "Original filename [UTF-16]"
endIf
endSection
}[Number_of_file_entries]
end