Share via


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

Constants (Account Management API)
IOlkAccountHelper::GetMapiSession