mapiaddress (mapi32)
Last changed: lamont at dcpromo dot -150.108.5.174

.
Summary
MAPIAddress - Creates or modifies a set of address list entries.

C# Signature:

  /// <summary>
  /// The MAPIAddress function creates or modifies a set of address list entries.
  /// </summary>
  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]
  public static extern uint MAPIAddress(IntPtr lhSession, IntPtr ulUIParam, string lpszCaption,
    uint nEditFields, string lpszLabels, uint nRecips, IntPtr lpRecips,
    uint flFlags, uint ulReserved, ref uint lpnNewRecips, ref IntPtr lppNewRecips);

VB Signature:

  Please add!  

User-Defined Structures:

MAPI

User-Defined Constants:

MAPI

Notes:

This is a COM object that is called through the RCW. Beware, the messaging team at MS will not support any calls to MAPI32.DLL or CDO 1.21 from managed code. Best bet, use Exchange 12's new Managed API.

MSDN says that MAPI does not strictly adhere to the COM standard. Perhaps this is one reason why MS won't support this.

http://support.microsoft.com/kb/872895

http://support.microsoft.com/kb/813349

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation
MAPIAddress on MSDN