mapifindnext (mapi32)
Last changed: consultants@russte.com-69.76.127.174

.
Summary
MAPIFindNext - Retrieves the next (or first) message identifier of a specified type of incoming message.

C# Signature:

  /// <summary>
  /// The MAPIFindNext function retrieves the next (or first) message identifier of a specified type
  /// of incoming message.
  /// </summary>
  [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]
  public static extern uint MAPIFindNext(IntPtr lhSession, IntPtr ulUIParam, string lpszMessageType,
    string lpszSeedMessageID, uint flFlags, uint ulReserved, StringBuilder lpszMessageID);

VB Signature:

  Please add!

User-Defined Structures:

None.

User-Defined Constants:

MAPI

Notes:

None.

Tips & Tricks:

To get the Message ID of the first message, lpszSeedMessageID should be null or should point to an empty string. Pass null or an empty string for lpszMessageType to find InterPersonal Message (IPM).

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation