public static MIB_IPSTATS GetIpStatisticsEx(UInt32 family_type, bool b_verbose, ref UInt32 error_code) { MIB_IPSTATS mips = new MIB_IPSTATS(); error_code = GetIpStatisticsEx(ref mips, family_type); 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(mips); }
UInt32 GetIpStatisticsEx( ref MIB_IPSTATS pmips, UInt32 dwFamily );
UInt32 GetIpStatistics( ref MIB_IPSTATS pmips );