Native Wifi api

网友投稿 1058 2022-09-12

Native Wifi api

Native Wifi api

该api的可以实现windows的无线客户端的网络参数配置(WlanSetProfile),连接指定的ap,断开连接和获得其他关于无线网络的信息(ssid,rssi等)。

WLAN_NOTIFICATION_CALLBACK

WlanAllocateMemory

WlanCloseHandle

WlanConnect

WlanDeleteProfile

WlanDisconnect

WlanEnumInterfaces

WlanExtractPsdIEDataList

WlanFreeMemory

WlanGetAvailableNetworkList

WlanGetFilterList

WlanGetInterfaceCapability

WlanGetNetworkBssList

WlanGetProfile

WlanGetProfileCustomUserData

WlanGetProfileList

WlanGetSecuritySettings

WlanIhvControl

WlanOpenHandle

WlanQueryAutoConfigParameter

WlanQueryInterface

WlanReasonCodeToString

WlanRegisterNotification

WlanSaveTemporaryProfile

WlanScan

WlanSetAutoConfigParameter

WlanSetFilterList

WlanSetInterface

WlanSetProfile

WlanSetProfileCustomUserData

WlanSetProfileEapUserData

WlanSetProfileEapXmlUserData

WlanSetProfileList

WlanSetProfilePosition

WlanSetPsdIeDataList

WlanSetSecuritySettings

WlanUIEditProfile

//断开连接

DWORD ver; HANDLE handle=NULL; DWORD rs= WlanOpenHandle(1,NULL,&ver,&handle); DWORD retWlanEnumInterfaces = WlanEnumInterfaces( handle, NULL, &ppInterfaceList ); rs= WlanDisconnect( handle, &ppInterfaceList->InterfaceInfo[ 0 ].InterfaceGuid, NULL ); WlanCloseHandle(handle,NULL);

版权声明:本文内容由网络用户投稿,版权归原作者所有,本站不拥有其著作权,亦不承担相应法律责任。如果您发现本站中有涉嫌抄袭或描述失实的内容,请联系我们jiasou666@gmail.com 处理,核实后本网站将在24小时内删除侵权内容。

上一篇:sc命令
下一篇:匿名函数(lambda)
相关文章

 发表评论

暂时没有评论,来抢沙发吧~