2.9.5 OAB_V4_REC

 The OAB_V4_REC structure represents either the OAB header record or an individual Address Book object record in an OAB file.


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

cbSize

presenceBitArray (variable)

...

data (variable)

...

cbSize (4 bytes):  A 32-bit unsigned integer that specifies the length of the OAB_V4_REC structure in bytes. This count includes both the cbSize field and the combined length of the presenceBitArray and data fields.

presenceBitArray (variable):  A bit array that indicates whether a property specified in the OAB_PROP_TABLE structure is present in the data field. The first element of the bit array is the most significant bit of the first byte. The size of the presenceBitArray field in bytes MUST be the value of the cAtts field of the appropriate OAB_PROP_TABLE structure divided by 8 and rounded up to the nearest integer value. A 0 record in the presenceBitArray indicates that the property is not present in the data field. 1 indicates the property is present. The index of the property in the OAB_PROP_TABLE structure MUST match the index of the value in the presenceBitArray. Unused bits in the final byte MUST be set to 0.

data (variable):  The set of property values for the address-book-object-record or header-record. The format of the data field is specified in section 2.9.6.