HrGWFindMtsOutFolder

The HrGWFindMtsOutFolder function retrieves the MTS-OUT folder of a gateway object.

Quick Info

Header file: EDKMAPI.H
Library: EDKMAPI.LIB

HRESULT HrGWFindMtsOutFolder(
  LPMDB lpMdb,        
  ULONG * lpcbeid,    
  LPENTRYID * lppeid  
);
 

Parameters

lpMdb
Input parameter. Points to a MAPI IMsgStore interface containing the message store.
lpcbeid
Output parameter. Number of bytes in the entry identifier.
lppeid
Output parameter. Entry identifier of MTS-OUT.

Return Values

See Return Values.

Remarks

When a gateway object is created in the Microsoft Exchange Server directory, a special mailbox is created in the information store, including two folders (MTS-IN and MTS-OUT) which are used as queues for incoming and outgoing messages. HrGWFindMtsOutFolder returns the entry identifier of the MTS-OUT folder when the mailbox of the gateway object is specified.

For information on the IMsgStore interface, see the MAPI Programmer's Reference.

See Also

HrGWFindMtsInFolder