HrOpenExchangePrivateStore

The HrOpenExchangePrivateStore function locates the primary user information store provider.

Quick Info

Header file: EDKMAPI.H
Library: EDKMAPI.LIB

HRESULT HrOpenExchangePrivateStore(
  LPMAPISESSION phSession,  
  LPMDB * lppMDB            
);
 

Parameters

phSession
Input parameter. Points to a MAPI IMAPISession interface containing the MAPI session.
lppMDB
Output parameter. Points to a MAPI IMsgStore interface containing the information store.

Return Values

See Return Values.

Remarks

If there are two or more information store providers available, HrOpenExchangePrivateStore returns a pointer to the first one it encounters.

For more information on this function, see Opening a Private Information Store.

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