IMAPIMessageSite::GetSession

The IMAPIMessageSite::GetSession method returns the MAPI session in which the current message was created or opened.

Quick Info

See IMAPIMessageSite : IUnknown1XJJ0FL.

 

HRESULT GetSession(

    LPMAPISESSION FAR * ppSession

 

   )

 

 

Parameters

ppSession

[out] Pointer to a pointer to the returned session object.

 

Return Values

S_OK

The call succeeded and has returned the expected value or values.

S_FALSE

No session exists for the current message.

 

Remarks

For information about implementing the interfaces related to form servers, see MAPI Form Interfaces Used by Client Applications1AR39HN.