2.5.27 ObjectDeclarationFileData3RefCountFND

The data for a FileNode structure (section 2.4.3) that specifies an object that references data for a file data object. If this object is revised, all declarations of this object MUST specify identical data. The value of the FileNode.FileNodeID field MUST be 0x072. This structure has the following format.

This structure has the following format.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

oid

jcid

cRef

FileDataReference (variable)

...

Extension (variable)

...

oid (4 bytes): A CompactID structure (section 2.2.2) that specifies the identity of this object.

jcid (4 bytes): A JCID structure (section 2.6.14) that specifies the type of this object and the type of the data the object contains.

cRef (1 byte): An unsigned integer that specifies the reference count for this object (section 2.1.5).

FileDataReference (variable): A StringInStorageBuffer structure (section 2.2.3) that specifies the type and the target of the reference. The value of the FileDataReference.StringData field MUST begin with one of the following strings: "<file>"; "<ifndf>"; "<invfdo>". The prefix specifies the type of the reference and the remaining part of the string specifies the target of the reference:

Prefix

Type of the reference

Remaining part of the string

<file>

A file in the onefiles folder

SHOULD specify a file name, including the file extension, of an existing file in the onefiles folder. The name portion of the file name MUST be a string form of a UUID, as specified in [RFC4122] section 3. The extension MUST be "onebin".

<ifndf>

FileDataStoreObject (section 2.6.13)

Specifies a curly braced GUID string that MUST represent one of the FileDataStoreObjectReferenceFND.guidReference fields.

<invfdo>

Invalid

Specifies that the reference is not valid. MUST be followed by an empty string.

Extension (variable): A StringInStorageBuffer (section 2.2.3) that specifies the file extension including period.