IOlkAccountHelper::HandsOffSession [Outlook 2003 API Reference]

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

Quick Info

See IOlkAccountHelper.

HRESULT IOlkAccountHelper::HandsOffSession( );

Return Values

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 for the Account Management API

IOlkAccountHelper::GetMapiSession