会员
周边
捐助
新闻
博问
闪存
赞助商
所有博客
当前博客
我的博客
我的园子
账号设置
简洁模式
...
退出登录
注册
登录
神迹丶
学而时习之,不亦说乎?
博客园
首页
新随笔
联系
管理
订阅
2020年5月22日
C++ 判断当前网络是否正常,
摘要: #include<iostream> #include <Netlistmgr.h> static bool checkIsNetwork() { Sleep(1000); CoInitialize(NULL); // 通过NLA接口获取网络状态 IUnknown *pUnknown = NULL;
阅读全文
posted @ 2020-05-22 06:53 神迹丶
阅读(2053)
评论(0)
推荐(0)
编辑
公告
网站已运行: