Search
Module:
Directory

   Desktop Functions:

   Smart Device Functions:


Show Recent Changes
Subscribe (RSS)
Misc. Pages
Comments
FAQ
Helpful Tools
Playground
Suggested Reading
Website TODO List
Download Visual Studio Add-In

MAPIAddress (mapi32)
 
.
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.

None.

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

Please edit this page!

Do you have...

  • helpful tips or sample code to share for using this API in managed code?
  • corrections to the existing content?
  • variations of the signature you want to share?
  • additional languages you want to include?

Select "Edit This Page" on the right hand toolbar and edit it! Or add new pages containing supporting types needed for this API (structures, delegates, and more).

 
Access PInvoke.net directly from VS:
Terms of Use
Edit This Page
Find References
Show Printable Version
Revisions