[python-win32] meaning of bin string representation ofPR_ENTRYID
Mark Hammond
mhammond at skippinet.com.au
Fri Jun 29 08:43:53 CEST 2007
> This sounds as if there was no point at all to do anything with the
> eids. If I am not even allowed to compare two ids, how could
> they point
> at different mail items?
I'm just paraphrasing the MS docs - that property is documented as "Binary
comparable (as with memcmp): No". mapi.CompareEntryIDs is available to
compare them. It may simply be implying that 2 different values could be
treated as the same (although I can't speculate how that could happen).
> I assume that means it is ok to store the eids and use them with
> OpenEntry to access the messages store's items.
Yep - the point is you can't assume any semantics of the bits - not even
comparison - but passing them to other MAPI functions is obviously fine.
Cheers,
Mark
More information about the Python-win32
mailing list