Export (0) Print
Expand All

FLATMTSIDLIST

Published: July 16, 2012

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;

cMTSIDs

Count of MTSID structures in the array described by the abMTSIDs member.

cbMTSIDs

Count of bytes in the array described by abMTSIDs.

abMTSIDs

Byte array that contains one or more MTSID structures.

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 incoming and outgoing X.400 messages.

In the abMTSIDs array, each MTSID structure is aligned on a naturally aligned boundary. Extra bytes are included as padding to make sure 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.

Community Additions

ADD
Show:
© 2014 Microsoft