RemoveStore event?

  • Thread starter Thread starter Semut
  • Start date Start date
S

Semut

Hello, is there an event which could detect user removestore from the list
and cancel the action if needed?

thanks
 
No, there are no events for that. You would have to scan the
NameSpace.Folders collection at intervals.
 
Yes if you are using Extended MAPI - IMAPITable returned by
IMAPISession::GetMsStoreTable will raise TABLE_ROW_ADDED and
TABLE_ROW_ADDED notifications when a store is added/removed.

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
 
How should I start of using Extended MAPI in C++? Any references or sample
codes for that?


thank you
 
Back
Top