HrMAPIFindStore

The HrMAPIFindStore function retrieves a pointer to the entry identifier of an information store from the display name of the store.

Quick Info

Header file: EDKMAPI.H
Library: EDKMAPI.LIB
Unicode: Yes

HRESULT HrMAPIFindStore(
  LPMAPISESSION lpSession,  
  LPCTSTR lpszStore,        
  ULONG FAR * lpcbentryid,  
  LPENTRYID FAR * lppentryid  
);
 

Parameters

lpSession
Input parameter. Points to a MAPI IMAPISession interface containing the session.
lpszStore
Input parameter. Name of the information store (PR_DISPLAY_NAME) to find.
lpcbentryid
Output parameter. Number of bytes in the information store's entry identifier.
lppentryid
Output parameter. Points to a MAPI ENTRYID structure containing the information store entry identifier.

Return Values

See Return Values.

Remarks

For more information on this function, see Locating an Information Store.

For information on the ENTRYID structure and IMAPISession interface, see the MAPI Programmer's Reference.

See Also

HrMAPIFindDefaultMsgStore