IOlkAccountHelper::GetMapiSession

Opens a MAPI session and maintains a reference to the session for the account manager.

Quick info

See IOlkAccountHelper.

HRESULT IOlkAccountHelper::GetMapiSession(  
    LPUNKNOWN *ppmsess 
);

Parameters

ppmsess

[out] The current MAPI session.

Return values

S_OK if the call succeeded; otherwise, an error code.

Remarks

Because of circular reference problems, the account manager itself cannot maintain the reference for the MAPI session.

See also