On Wed, 2011-12-07 at 09:41 +0100, Milan Crha wrote: > Hi, > thanks for the answer. I see that GetProps takes struct SPropValue ** > and GetPropsAll takes struct mapi_SPropValue_array *, still, if I recall > correctly, both will fail with PidTagBody or PidTagHtml larger than 4KB. > It's quite long time I played with this, thus it's possible I'm wrong > here.
Hi Milan, It will return MAPI_E_NO_ENOUGH_RESOURCES for property's content larger than 32Kb. > Anyway, OK, let's keep there mapi_SPropValue and SPropValue structs, but > join mapi_SPropValue_CTR and SPropValue_CTR into one structure seems to > me as a good step, feel free to call it a cleanup. SPropValue was primarily introduced in OpenChange when we were implemented the NSPI protocol. When we implemented MAPI, we noted the union size was different for some of its attribute. Joining is not an option since it wouldn't match for both NSPI and EMSMDB protocols and would lead in incorrect crafted packets to be generated by the NDR layer. Cheers, Julien. -- Julien Kerihuel [email protected] OpenChange Project Founder GPG Fingerprint: 0B55 783D A781 6329 108A B609 7EF6 FE11 A35F 1F79
signature.asc
Description: This is a digitally signed message part
_______________________________________________ devel mailing list [email protected] http://mailman.openchange.org/listinfo/devel
