Win32NativeWifiApi.py 文件源码

python
阅读 37 收藏 0 点赞 0 评论 0

项目:win32wifi 作者: kedos 项目源码 文件源码
def WlanCloseHandle(hClientHandle):
    """
        The WlanCloseHandle function closes a connection to the server.

        DWORD WINAPI WlanCloseHandle(
            _In_        HANDLE hClientHandle,
            _Reserved_  PVOID pReserved
        );
    """
    func_ref = wlanapi.WlanCloseHandle
    func_ref.argtypes = [HANDLE, c_void_p]
    func_ref.restype = DWORD
    result = func_ref(hClientHandle, None)
    if result != ERROR_SUCCESS:
        raise Exception("WlanCloseHandle failed.")
    return result
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号