public static MIB_ICMP GetIcmpStatistics(bool b_verbose, ref UInt32 error_code) { MIB_ICMP mi = new MIB_ICMP(); error_code = GetIcmpStatistics(ref mi); if ((error_code != 0) && b_verbose)// error { string str_msg = Tools.API.API_error.GetAPIErrorMessageDescription(error_code); System.Windows.Forms.MessageBox.Show(str_msg, "Error", System.Windows.Forms.MessageBoxButtons.OK, System.Windows.Forms.MessageBoxIcon.Error); } return(mi); }
UInt32 GetIcmpStatistics( ref MIB_ICMP pmi );