Export (0) Print
Expand All

2.6.2 Root Directory Entry

The first entry in the first sector of the directory chain (also referred to as the first element of the directory array, or stream ID #0) is known as the root directory entry, and it is reserved for two purposes. First, it provides a root parent for all objects stationed at the root of the compound file. Second, its function is overloaded to store the size and starting sector for the mini stream.

The root directory entry behaves as both a stream and storage object. The root directory entry's Name field MUST contain the null-terminated string "Root Entry" in UnicodeUTF-16.

The object classGUID (CLSID) stored in the root directory entry can be used for Component Object Model (COM) activation of the document's application.

The time stamps for the root storage are not maintained in the root directory entry. Rather, the root storage's creation and modification time stamps are normally stored on the file itself in the file system.

The creation time and modified time fields in the root storage directory entry MUST be all zeroes.

 
Show:
© 2014 Microsoft