Platform SDK: MAPI |
The IMAPIMessageSite::GetSession method returns the MAPI session in which the current message was created or opened.
See IMAPIMessageSite : IUnknown.
HRESULT GetSession( LPMAPISESSION FAR * ppSession );
For a list of interfaces related to form servers, see MAPI Form Interfaces.