/// <summary> /// Return a pointer to the last error message from the server. /// </summary> /// <param name="hdl"></param> /// <returns></returns> public static string MapiResultError(MapiHdl hdl) { return(Marshal.PtrToStringAnsi(CMapiLib.mapi_result_error(hdl.Ptr))); }