RemoveStore event?

S

Semut

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

thanks
 
K

Ken Slovak - [MVP - Outlook]

No, there are no events for that. You would have to scan the
NameSpace.Folders collection at intervals.
 
D

Dmitry Streblechenko \(MVP\)

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
 
S

Semut

How should I start of using Extended MAPI in C++? Any references or sample
codes for that?


thank you
 
Top