25.12.2013 Views

SLAMorris Final Thesis After Corrections.pdf - Cranfield University

SLAMorris Final Thesis After Corrections.pdf - Cranfield University

SLAMorris Final Thesis After Corrections.pdf - Cranfield University

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Appendix A Thumbnail Cache File Structures<br />

A.1 Windows 7 Thumbnail Cache Structure<br />

A.1.1 IDX File Header Structure<br />

typedefstruct {<br />

CHAR FileSignature[4]; // 4 bytes<br />

DWORD Version; // 4 bytes<br />

DWORD CacheNo; // 4 bytes<br />

DWORD HeaderSize; // 4 bytes<br />

DWORD NumRecordsUsed; // 4 bytes<br />

DWORD HashTableSize; // 4 bytes<br />

} ThumbcacheIDXHeader7;<br />

The version number is 20 for Windows Vista and 21 for Windows 7<br />

The CacheNo is 0 for 32, 1 for 96, 2 for 256, 3 for 1024 and 4 for sr<br />

A.1.2 IDX Record Structure<br />

typedefstruct {<br />

UQUAD HashTableKey; // 8 bytes<br />

UINT flags; // 4 bytes<br />

UINT Position32; // 4 bytes<br />

UINT Position96; // 4 bytes<br />

UINT Position256; // 4 bytes<br />

UINT Position1024; // 4 bytes<br />

UINT Positionsr; // 4 bytes<br />

} ThumbcacheIDXRecord7;<br />

The record structure repeats throughout the idx file; the number of records present is<br />

always a multiple of 101. If a position field contains FF FFFFFF, then there is no<br />

associated image of that size for the record. If the position is 00 00 00 00 then the<br />

whole record should be empty.<br />

<strong>Cranfield</strong> <strong>University</strong> |<br />

311

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!