[This is now documented here: http://msdn.microsoft.com/en-us/library/ff960239.aspx ]
Dmitry pointed out that some time in the last couple MAPI documentation refreshes, we added documentation for a few interfaces but forgot to define their associated guids. We’ve got a bug tracking this and plan to fix it in a future reference, but in the mean time, here are the constants we’ve identified so far as missing.
// IMAPISync DEFINE_GUID(IID_IMAPISync, 0x5024a385, 0x2d44, 0x486a, 0x81, 0xa8, 0x8f, 0xe, 0xcb, 0x60, 0x71, 0xdd);
// IMAPISyncProgressCallback DEFINE_GUID(IID_IMAPISyncProgressCallback, 0x5024a386, 0x2d44, 0x486a, 0x81, 0xa8, 0x8f, 0xe, 0xcb, 0x60, 0x71, 0xdd);
// IMAPISecureMessage DEFINE_GUID(IID_IMAPISecureMessage, 0x253cc320, 0xeab6, 0x11d0, 0x82, 0x22, 0, 0x60, 0x97, 0x93, 0x87, 0xea);
// IMAPIGetSession DEFINE_GUID(IID_IMAPIGetSession, 0x614ab435, 0x491d, 0x4f5b, 0xa8, 0xb4, 0x60, 0xeb, 0x3, 0x10, 0x30, 0xc6);
Please let me know if you uncover any other constants which we left out.
just tried to QI on an IMsgStore in an Outlook 2010 COM-Addin for IMAPISync and got E_NOINTERFACE. This is my GUID definition which looks identical to yours:
0x81, 0xa8, 0x8f, 0x0e, 0xcb, 0x60, 0x71, 0xdd);
The store is my default mailbox store, connected online with Exchange 2010 SP1.
Should that store implement that interface?
The Exchange and PST providers do not implement that interface. That documentation was intended for a store provider developer to implement the interface. Outlook will use the interface if it finds it.
What about Outlook 2003 and Outlook 2007, will they use IMAPISync?
No - 2010 only.
How we can reflect the synchronization progress in the Outlook 2003 or Outlook 2007?
I just posted a question on the outlook developer's forum about trying to use IMAPIGetSession. It's not working for me. I get an E_NOINTERFACE back from IMAPISupport::QueryInterface. Any thoughts on what I'm doing wrong? Here's the forum link.
Closing the loop, IID_IMAPIGetSession is only available on the support object passed to transport providers via TransportLogon. It is not available to address book or message store providers.