Platform SDK: MAPI |
The FLATMTSIDLIST structure contains an array of MTSID structures, each of which contains an X.400 message transport system (MTS) entry identifier.
Header file: | MAPIDEFS.H |
Related macros: | CbFLATMTSIDLIST CbNewFLATMTSIDLIST |
typedef struct { ULONG cMTSIDs; ULONG cbMTSIDs; BYTE abMTSIDs[MAPI_DIM]; } FLATMTSIDLIST, FAR *LPFLATMTSIDLIST;
The FLATMTSIDLIST structure's use in X.400 messaging corresponds to the FLATENTRYLIST structure's use in MAPI messaging. MAPI uses FLATMTSIDLIST structures to maintain X.400 properties during message handling. Service providers use FLATMTSIDLIST structures when handling inbound and outbound X.400 messages.
In the abMTSIDs array, each MTSID structure is aligned on a naturally aligned boundary. Extra bytes are included as padding to ensure natural alignment between any two MTSID structures. The first MTSID structure in the array is always aligned correctly because the offset of the abMTSIDs member is 8. To compute the offset of the next structure, use the size of the first entry rounded up to the next multiple of 4. Use the CbNewMTSID macro to compute the size of an MTSID structure.