In this article, How to detect Outlook Events ..., Dmitry Streblechenko outlines how to subscribe to Outlook Events not listed in the TypeLibrary.
Would these be the steps to follow?
- Use some Ole Viewer to locate the GUID of the object in question.
- Pass that GUID to IConnectionPointContainer in order to retrieve an IConnectionPoint object.
- Call Advise / UnAdvise (etc.)
Does that look about right? Does anyone have any sample code?
ItemEvents_10GUID to pass toIConnectionPointContainerFindConnectionPointis{0006302B-0000-0000-C000-000000000046}(you can see it in OutlookSpy - I am its author).ItemEventsis{0006303A-0000-0000-C000-000000000046}