Update vector spec to support mixed types of elements

This commit is contained in:
Martín Capello 2023-01-17 10:26:59 -03:00 committed by David Capello
parent fae3c6566c
commit 8b547adfb7

View File

@ -421,9 +421,16 @@ The data of this chunk is as follows:
RECT RECT
+ If type==0x0011 (vector) + If type==0x0011 (vector)
DWORD Number of elements DWORD Number of elements
WORD Element's type WORD Element's type.
BYTE[] As many values as the number of elements indicates + If Element's type == 0 (all elements are not of the same type)
Structure depends on the element's type For each element:
WORD Element's type
BYTE[] Element's value. Structure depends on the
element's type
+ Else (all elements are of the same type)
For each element:
BYTE[] Element's value. Structure depends on the
element's type
+ If type==0x0012 (nested properties map) + If type==0x0012 (nested properties map)
DWORD Number of properties DWORD Number of properties
BYTE[] Nested properties data BYTE[] Nested properties data