Platform SDK: Exchange Server

HrOpenSessionObject

The HrOpenSessionObject function retrieves a MAPI IMAPIProp interface for the current session object.

Quick Info

Header file: EDKCFG.H
Library: EDKCFG.LIB

HRESULT HrOpenSessionObject(
  LPMAPISESSION lpSession,       
  LPMAPIPROP * lppCurrentObject  
);
 

Parameters

lpSession
Input parameter. Points to a MAPI IMAPISession interface containing the MAPI session.
lppCurrentObject
Output parameter. Points to a MAPI IMAPIProp interface containing the current object.

Return Values

See Return Values.

Remarks

For more information on this function, see Using the Configuration Functions.

For information on the IMAPIProp and IMAPISession interfaces, see the MAPI Programmer's Reference.