如果我的机器是拨号上网,有没有接口可以查询到当前的流量(也就是双击系统栏中的图标出现的发送:**,接收:**)我想得到这两个数据,有没有办法,谢谢,分数不够,我另开帖子给我,或者联系我:[email protected] 我现在可用分有8893,要可以全部给.要求:当使用NAT代理其他机子上网时,流量也需要查询到.(使用NAT代理其他机子上网时,数据只经过自己的驱动发出,不上报到Windows)我来这里都不知道解决了多少,为何没一个来帮我解决呢
解决方案 »
- 【奇怪了 Left Right GetLength 都不起作用】
- COM组件用-regserver注册,有些机器可以,有些不行,为什么呢?
- 第一此见到的编译错误,请问如何解决?
- 请教, CRICHEDITCTRL两个高难度问题!!!!
- 请问如何释放一个COM(当调用此COM的网页关闭后),
- 急死人了!为什么我用了TrackPopupMenu显示弹出式菜单后鼠标“失效”了?
- 一边想着这个问题,一边度过这个该死的2001年
- 在MFC中点击菜单怎么显示一个由DLL提供的CDialogBar
- 急!谢谢,一定给分
- 谁有矩阵类,或者有关的程序(我会加分)
- debug信息的意义?
- listctrl 控件怎样改变每行的高度
Applications running on Windows NT 4.0 and later versions, and Windows 95, can use the RasEnumConnections function to get information about the existing connections on the local computer. The information for each connection includes a connection handle and the name of the phone-book entry used to establish the connection. You can use the connection handle in a call to the RasGetConnectStatus function get the current status of the connection. Windows NT 4.0 and later versions provide two new functions for retrieving RAS information. Windows 95 does not support these functions. The RasEnumDevices function returns the name and type of the RAS-capable devices that are configured on the local computer. The RasConnectionNotification function specifies an event object that the system signals when a RAS connection is created or terminated.
用下面两个看看
RasEnumConnections RasGetConnectStatus
详细代码见:
http://www.china-askpro.com/msg31/qa41.shtml
-----------
NAT代理也一样!