crypt32/tests: Accept Windows 10 error code.
[wine.git] / include / wlanapi.h
blob63922be98bf4d6c316bb1b854d56a65455448306
1 /*
2 * Copyright (C) 2016 Austin English
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
19 #ifndef _WLAN_WLANAPI_H
20 #define _WLAN_WLANAPI_H
22 typedef enum _WLAN_INTERFACE_STATE
24 wlan_interface_state_not_ready,
25 wlan_interface_state_connected,
26 wlan_interface_state_ad_hoc_network_formed,
27 wlan_interface_state_disconnecting,
28 wlan_interface_state_disconnected,
29 wlan_interface_state_associating,
30 wlan_interface_state_discovering,
31 wlan_interface_state_authenticating
32 } WLAN_INTERFACE_STATE, *PWLAN_INTERFACE_STATE;
34 typedef struct _WLAN_INTERFACE_INFO
36 GUID InterfaceGuid;
37 WCHAR strInterfaceDescription[256];
38 WLAN_INTERFACE_STATE isState;
39 } WLAN_INTERFACE_INFO, *PWLAN_INTERFACE_INFO;
41 typedef struct _WLAN_INTERFACE_INFO_LIST
43 DWORD dwNumberOfItems;
44 DWORD dwIndex;
45 WLAN_INTERFACE_INFO InterfaceInfo[1];
46 } WLAN_INTERFACE_INFO_LIST, *PWLAN_INTERFACE_INFO_LIST;
48 DWORD WINAPI WlanEnumInterfaces(HANDLE, void *, WLAN_INTERFACE_INFO_LIST **);
49 DWORD WINAPI WlanOpenHandle(DWORD, void *, DWORD *, HANDLE *);
51 #endif /* _WLAN_WLANAPI_H */