看板 C_Sharp 關於我們 聯絡資訊
引用native wifi支後的連線方法 WlanConnect 四個參數 1. hClientHandle [in] The client's session handle, returned by a previous call to the WlanOpenHandle function. 2. pInterfaceGuid [in] The GUID of the interface to use for the connection. 3. pConnectionParameters [in] Pointer to a WLAN_CONNECTION_PARAMETERS structure that specifies the connection type, mode, network profile, SSID that identifies the network, and other parameters. Windows XP with SP3 and Wireless LAN API for Windows XP with SP2: There are some constraints on the WLAN_CONNECTION_PARAMETERS members. This means that structures that are valid for Windows Server 2008 and Windows Vista may not be valid for Windows XP with SP3 or Wireless LAN API for Windows XP with SP2. For a list of constraints, see WLAN_CONNECTION_PARAMETERS. 4 pReserved Reserved for future use. Must be set to NULL. 這是空我知道,但是為什麼要留空?? 拜託了解的鄉民解釋一下各參數說明!!我真的不知道要帶啥進去..... 它的第3段是指支援2008跟vista是嗎? 還有簡單的應用 我現在是用WLAN_AVAILABLE_NETWORK得到相關的wlan數據 我是不是從各個結構中去找出Connect需要的參數帶進去就好? 但是我還是無從下手,總覺得看得好亂.....似懂非懂..... WlanGetProfile這個profile到底是指什麼? 它裡面有什麼? WlanOpenHandle又是處裡什麼的? 它的用處跟使用時機又是? WlanScan是要搜尋什麼? 不是已經從WLAN_AVAILABLE_NETWORK跟WLAN_DSS_ENTRY就能得知相關資訊了嗎? 是指更新嗎? 希望有人能詳細解說,有SAMPLE最好,因為網路上的都看不懂.... 搞了很久才知道,原來要自己寫native wifi難怪引用不了這個服務.... 感謝解答! -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 114.43.102.250 ※ 編輯: godsing 來自: 114.43.102.250 (05/06 23:19)