Platform SDK: Exchange Server |
The HrGWFindMtsOutFolder function retrieves the MTS-OUT folder of a gateway object.
Header file: | EDKMAPI.H |
Library: | EDKMAPI.LIB |
HRESULT HrGWFindMtsOutFolder( LPMDB lpMdb, ULONG * lpcbeid, LPENTRYID * lppeid );
See Return Values.
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.