Commit d1b20973 authored by Alex Henrie's avatar Alex Henrie Committed by Alexandre Julliard

wlanapi: Add WlanHostedNetworkQueryStatus stub.

parent 946c128b
......@@ -193,6 +193,13 @@ DWORD WINAPI WlanHostedNetworkQuerySecondaryKey(HANDLE handle, DWORD *key_size,
return ERROR_CALL_NOT_IMPLEMENTED;
}
DWORD WINAPI WlanHostedNetworkQueryStatus(HANDLE handle, WLAN_HOSTED_NETWORK_STATUS *status, void *reserved)
{
FIXME("(%p, %p, %p) stub\n", handle, status, reserved);
return ERROR_CALL_NOT_IMPLEMENTED;
}
void WINAPI WlanFreeMemory(void *ptr)
{
TRACE("(%p)\n", ptr);
......
......@@ -16,6 +16,7 @@
@ stub WlanGetSecuritySettings
@ stdcall WlanHostedNetworkQueryProperty(ptr long ptr ptr ptr ptr)
@ stdcall WlanHostedNetworkQuerySecondaryKey(ptr ptr ptr ptr ptr ptr ptr)
@ stdcall WlanHostedNetworkQueryStatus(ptr ptr ptr)
@ stub WlanIhvControl
@ stdcall WlanOpenHandle(long ptr ptr ptr)
@ stub WlanQueryAutoConfigParameter
......
......@@ -35,4 +35,7 @@ typedef enum _DOT11_PHY_TYPE
dot11_phy_type_IHV_end = 0xFFFFFFFF
} DOT11_PHY_TYPE, *PDOT11_PHY_TYPE;
typedef UCHAR DOT11_MAC_ADDRESS[6];
typedef DOT11_MAC_ADDRESS *PDOT11_MAC_ADDRESS;
#endif /* _WINDOT11_H */
......@@ -214,6 +214,36 @@ typedef enum _WLAN_HOSTED_NETWORK_REASON
wlan_hosted_network_reason_service_available_on_virtual_station
} WLAN_HOSTED_NETWORK_REASON, *PWLAN_HOSTED_NETWORK_REASON;
typedef enum _WLAN_HOSTED_NETWORK_STATE
{
wlan_hosted_network_unavailable,
wlan_hosted_network_idle,
wlan_hosted_network_active
} WLAN_HOSTED_NETWORK_STATE, *PWLAN_HOSTED_NETWORK_STATE;
typedef enum _WLAN_HOSTED_NETWORK_PEER_AUTH_STATE
{
wlan_hosted_network_peer_state_invalid,
wlan_hosted_network_peer_state_authenticated
} WLAN_HOSTED_NETWORK_PEER_AUTH_STATE, *PWLAN_HOSTED_NETWORK_PEER_AUTH_STATE;
typedef struct _WLAN_HOSTED_NETWORK_PEER_STATE
{
DOT11_MAC_ADDRESS PeerMacAddress;
WLAN_HOSTED_NETWORK_PEER_AUTH_STATE PeerAuthState;
} WLAN_HOSTED_NETWORK_PEER_STATE, *PWLAN_HOSTED_NETWORK_PEER_STATE;
typedef struct _WLAN_HOSTED_NETWORK_STATUS
{
WLAN_HOSTED_NETWORK_STATE HostedNetworkState;
GUID IPDeviceID;
DOT11_MAC_ADDRESS wlanHostedNetworkBSSID;
DOT11_PHY_TYPE dot11PhyType;
ULONG ulChannelFrequency;
DWORD dwNumberOfPeers;
WLAN_HOSTED_NETWORK_PEER_STATE PeerList[1];
} WLAN_HOSTED_NETWORK_STATUS, *PWLAN_HOSTED_NETWORK_STATUS;
DWORD WINAPI WlanCloseHandle(HANDLE, void *);
DWORD WINAPI WlanEnumInterfaces(HANDLE, void *, WLAN_INTERFACE_INFO_LIST **);
DWORD WINAPI WlanOpenHandle(DWORD, void *, DWORD *, HANDLE *);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment