IExchangeImportHierarchyChanges interface
Category: MAPI
Dear Experts,
I am trying to use ICS protocol to import the incremental changes. I was
able to setup a demo for the Contents changes but got stuck with
IExchageImportHierarchyChanges interface.
When I try to synchronize, I see that my synchronizer method is returning
SYNC_E_ERROR.
I am attaching the sample code.
I hope I am missing some parameter ? Any idea what
went wrong?
Any help would be really appreciated.
~Venkat
--------------------------------------------------------------------------
The MAPI-L list is hosted on a Windows NT(TM) machine running L-Soft
international's LISTSERV(R) software. For sub/unsub info and archives,
see http://peach.ease.lsoft.com/archives/mapi-l.html .
COPYRIGHT INFO:
http://peach.ease.lsoft.com/scripts/wa.exe?SHOWTPL=COPYRIGHT&L=MAPI-L
m_Folder->OpenProperty(PR_HIERARCHY_SYNCHRONIZER,
&IID_IExchangeExportChanges,
0,
0,
reinterpret_cast<IUnknown**>(&m_Synchronizer)));
synchprops = PR_ENTRYID;
m_Synchronizer->Config(m_StreamBuffer,
SYNC_NORMAL,
m_HierarchyCollector,
NULL,
reinterpret_cast<SPropTagArray*>(&synchprops),
NULL,
0));
do {
hr = m_Synchronizer->Synchronize(&steps, &progress);
} while (SYNC_W_PROGRESS == hr);
Questions or comments? Feel free to post them here. No login or id required.