@msdn=http://search.microsoft.com/search/results.aspx?qu=$$$ @pinvoke=http://pinvoke.net/$$$.htm Summary: MAPIResolveName - Transforms a message recipient's name as entered by a user to an unambiguous address list entry. !!!!C# Signature: /// <summary> /// The MAPIResolveName function transforms a message recipient's name as entered by a user /// to an unambiguous address list entry. /// </summary> [DllImport("MAPI32.DLL", CharSet=CharSet.Ansi)] public static extern uint MAPIResolveName(IntPtr lhSession, IntPtr ulUIParam, string lpszName, uint flFlags, uint ulReserved, ref MapiRecipDesc lppRecips); !!!!VB Signature: Please add! !!!!User-Defined Structures: [MAPI] !!!!User-Defined Constants: [MAPI] !!!!Notes: None. !!!!Tips & Tricks: For some unknown reason, you need to pass lpszName as a new object, not an existing reference, otherwise you get an AccessViolationException. !!!!Sample Code: MapiRecipDesc mpd = null; MAPIResolveName(lhSessionNull, this.Handle, new String(textbox.Text.ToCharArray()), Mapi.MAPI_DIALOG, 0, ref mpd); !!!!Alternative Managed API: Do you know one? Please contribute it! Documentation: MAPIResolveName@msdn on MSDN
Edit mapi32.mapiresolv...
You do not have permission to change this page. If you feel this is in error, please send feedback with the contact link on the main page.