2.3.4.2.2.6 REFERENCEPROJECT Record

Specifies a reference to an external VBA project.


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

Id

Size

...

SizeOfLibidAbsolute

...

LibidAbsolute (variable)

...

SizeOfLibidRelative

LibidRelative (variable)

...

MajorVersion

MinorVersion

Id (2 bytes): An unsigned integer that specifies the identifier for this record. MUST be 0x000E.

Size (4 bytes): An unsigned integer that specifies the total size in bytes of SizeOfLibidAbsolute, LibidAbsolute, SizeOfLibidRelative. LibidRelative, MajorVersion, and MinorVersion. MUST be ignored on read.

SizeOfLibidAbsolute (4 bytes): An unsigned integer that specifies the size in bytes of LibidAbsolute.

LibidAbsolute (variable):  An array of SizeOfLibidAbsolute bytes that specifies the referenced VBA project’s identifier with an absolute path, <ProjectPath>. MUST contain MBCS characters encoded using the code page specified in PROJECTCODEPAGE (section 2.3.4.2.1.5). MUST NOT contain null characters. MUST conform to the ABNF grammar ProjectReference (section 2.1.1.12).

SizeOfLibidRelative (4 bytes): An unsigned integer that specifies the size in bytes of LibidRelative.

LibidRelative (variable):  An array of SizeOfLibidRelative bytes that specifies the referenced VBA project’s identifier with a relative path, <ProjectPath>, that is relative to the current VBA project. MUST contain MBCS characters encoded using the code page specified in PROJECTCODEPAGE (section 2.3.4.2.1.5). MUST NOT contain null characters. MUST conform to the ABNF grammar ProjectReference (section 2.1.1.12).

MajorVersion (4 bytes):  An unsigned integer that specifies the major version of the referenced VBA project. On write MUST be the PROJECTVERSION.VersionMajor (section 2.3.4.2.1.11) of the referenced VBA project.

MinorVersion (2 bytes):  An unsigned integer that specifies the minor version of the external VBA project. On write MUST be the PROJECTVERSION.VersionMinor (section 2.3.4.2.1.11) of the referenced VBA project.