SHSetUnreadMailCount (shell32)
Last changed: anonymous

.
Summary

C# Signature:

[DllImport("shell32.dll", CharSet=CharSet.Unicode)]
static extern UInt32 SHSetUnreadMailCount(string pszMailAddress, UInt32 dwCount, string pszShellExecuteCommand);

VB Signature:

  <DllImport("shell32.dll", CharSet:=CharSet.Unicode)> _
  Public Shared Function SHSetUnreadMailCount(ByVal pszMailAddress As String, ByVal dwCount As Integer, ByVal pszShellExecuteCommand As String) As Integer

User-Defined Types:

None.

Notes:

It works from Windows XP and above.

Tips & Tricks:

Please add some!

Sample Code:

Please add some!

Alternative Managed API:

Do you know one? Please contribute it!

Documentation