IOlkAccountHelper::HandsOffSession

Releases the MAPI session object that was returned by - IOlkAccountHelper::GetMapiSession.

Quick info

See IOlkAccountHelper.

HRESULT IOlkAccountHelper::HandsOffSession( );

Return values

HRESULT Description
S_OK
If your implementation of IOlkAccountHelper creates its own MAPI session that is returned in IOlkAccountHelper::GetMapiSession, you must release the session here and return S_OK.
E_NOTIMPL
If your implementation of IOlkAccountHelper did not create its own MAPI session, you must return only E_NOTIMPL. In this case, this is the only supported return value.

See also