OutlookRulesReader
OutlookRulesReader copied to clipboard
Refactor reading of PeopleOrPublicGroupListRuleElementData
Thanks to some external help, there can be some improvements here
PeopleOrPublicGroupListRuleElementData
- Rename to
AddressListRuleElementDataor something equivalent - May actually be reading an
ADRLISThere. Read thenumberOfValuesandvaluesas a ADRLIST structure.
PropertiesList
- May actually be reading
ADRENTRYhere. ReadunknownasulReserved1etc. - Need to confirm what the
propertyBlockDataSizefield is - this doesn't appear in the ADRENTRY docs... - Need to validate the reading of
PT_BINARYproperties. Currently we usedata2as the offset anddata3as the count of bytes, but this is reversed in the SBinary documentation
PropertyValueHeader
- May actually be reading
SPropValuehere. Readdata1asdwAlignPadanddata2/data3as_PV. Need to confirm how offsets are encoded as the SPropValue docs specify that multi-byte fields within_PVare pointers, but it seems that they are offsets into the file... Confusing!
/cc @dmitry007