Platform SDK: Exchange Server

IExchExtCallback : IUnknown

The IExchExtCallback interface enables extension objects to retrieve information about the current context, including the objects that are currently selected in the Microsoft Exchange window. IExchExtCallback uses the methods of the IUnknown interface for reference management.

IExchExtCallback is implemented by a callback object supplied by Microsoft Exchange. A pointer to this interface is passed as a parameter to many methods of the Microsoft Exchange extensibility API. This interface and any interfaces it might return are valid only for the time of the call to one of its methods and might not be retained when the extension object’s method returns. The called method does not need to release the callback object unless it has completed a corresponding call to AddRef.

Quick Info

Header file: EXCHEXT.H
Exposed by: Extension objects
Implemented by: Microsoft Exchange
Called by: Extension objects
Corresponding pointer type: LPEXCHEXTCALLBACK

Vtable Order

GetVersion Returns the version number of the Microsoft Exchange application.
GetWindow Returns a window handle corresponding to the specified flag.
GetMenu Returns the Microsoft Exchange menu handle for the current window.
GetToolbar Returns a toolbar’s window handle.
GetSession Returns an interface to the current open MAPI session and associated address book.
GetObject Returns an interface and store for a particular object.
GetSelectionCount Returns the number of objects selected in the window.
GetSelectionItem Returns the entry identifier of a selected item in a Microsoft Exchange window.
GetMenuPos Returns the position of a command or set of commands on the Microsoft Exchange menu.
GetSharedExtsDir Returns the Microsoft Exchange shared-extensions directory.
GetRecipients Returns a pointer to the recipient list of the currently selected item.
SetRecipients Sets the recipient list for the currently selected item.
GetNewMessageSite Returns interface pointers to the message site and view context of the selected message.
RegisterModeless Enables extension objects that display modeless windows to coordinate with windows displayed by the Microsoft Exchange client.
ChooseFolder Displays a dialog box that enables users to choose a specific message store and folder.