2.4.11 VBAInfoAtom
Referenced by: VBAInfoContainer
An atom record that specifies a reference to the VBA project storage.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rh |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
persistIdRef |
|||||||||||||||||||||||||||||||
fHasMacros |
|||||||||||||||||||||||||||||||
version |
rh (8 bytes): A RecordHeader structure (section 2.3.1) that specifies the header for this record. Sub-fields are further specified in the following table.
-
Field
Meaning
rh.recVer
MUST be 0x2.
rh.recInstance
MUST be 0x000.
rh.recType
MUST be RT_VbaInfoAtom.
rh.recLen
MUST be 0x0000000C.
persistIdRef (4 bytes): A PersistIdRef (section 2.2.21) that specifies the value to look up in the persist object directory to find the offset of a VbaProjectStg record (section 2.10.40).
fHasMacros (4 bytes): An unsigned integer that specifies whether the VBA project storage contains data. It MUST be a value from the following table.
-
Value
Meaning
0x00000000
The VBA storage is empty.
0x00000001
The VBA storage contains data.
version (4 bytes): An unsigned integer that specifies the VBA runtime version that generated the VBA project storage. It MUST be 0x00000002.