/** \details Test dump of a Message moved notification This function: -# Creates a MessageMovedNotification structure -# Dumps that structure out using mapidump_messagemoved() -# Tests mapidump_messagemoved() with a null argument \param mt pointer to the top-level mapitest structure \return true on success, otherwise false \note This currently doesn't check the results are sane, so manual inspection is required */ _PUBLIC_ bool mapitest_mapidump_messagemoved(struct mapitest *mt) { struct MessageMoveCopyNotification messagemovednotification; messagemovednotification.FID = 0x1234ABCDLL; messagemovednotification.MID = 0x9876FEALL; messagemovednotification.OldFID = 0x1234ABCD01dLL; messagemovednotification.OldMID = 0x9876FEA01dLL; mapidump_messagemoved(&messagemovednotification, "[sep]"); mapidump_messagemoved(0, "[sep]"); return true; }
_PUBLIC_ void mapidump_messagecopied(struct MessageMoveCopyNotification *data, const char *sep) { mapidump_messagemoved(data, sep); }