/// <summary>
/// The MAPILogoff function ends a session with the messaging system.
/// </summary>
[DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)]
public static extern uint MAPILogoff(IntPtr lhSession, IntPtr ulUIParam, uint flFlags, uint ulReserved);
Please add!
None.
None.
Please add some!
public void Logoff()
{
if(sessionPtr != IntPtr.Zero )
{
errorCode = MAPILogoff( session, parentWindowPtr , 0, 0 );
sessionPtr = IntPtr.Zero;
}
}
Do you know one? Please contribute it!