wlanapi: Add WlanHostedNetworkQueryStatus stub.

Signed-off-by: Alex Henrie <alexhenrie24@gmail.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
Alex Henrie 2021-08-04 23:56:51 -06:00 committed by Alexandre Julliard
parent 946c128bc2
commit d1b2097390
4 changed files with 41 additions and 0 deletions

View File

@ -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);

View File

@ -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

View File

@ -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 */

View File

@ -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 *);