1.列出当前网卡:SetupDiEnumDeviceInfo
2.找出当前无线网卡的名字(用natvie wifi api)
3.卸载\安装此驱动
问题:
log为:SetupDiSetClassInstallParams failed. -536870347
完整代码如下:
// ControlWirelessCard.cpp : Defines the entry point for the console application.
//
#include stdafx.h
#include
#include
#include
1