IMAPIGetSession::GetMAPISession

Applies to: Outlook 2013 | Outlook 2016

Returns a pointer to the MAPI session associated with the MAPI support object.

HRESULT GetMAPISession(
  LPUNKNOWN *  lppSession
);

Parameters

lppSession

[out] A pointer to the current MAPI session.

See also

IMAPIGetSession : IUnknown

Support Object Overview