The HrGWFindMtsInFolder function retrieves the MTS-IN folder of a gateway object.
Header file: | EDKMAPI.H |
Library: | EDKMAPI.LIB |
HRESULT HrGWFindMtsInFolder(
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. HrGWFindMtsInFolder returns the entry identifier of the MTS-IN folder when the mailbox of the gateway object is specified.
For information on the IMsgStore interface, see the MAPI Programmer's Reference.