wlanapi: Add WlanHostedNetworkQuerySecondaryKey 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:49 -06:00 committed by Alexandre Julliard
parent 2c4601b6ee
commit acb88df011
3 changed files with 44 additions and 0 deletions

View File

@ -183,6 +183,16 @@ DWORD WINAPI WlanHostedNetworkQueryProperty(HANDLE handle, WLAN_HOSTED_NETWORK_O
return ERROR_CALL_NOT_IMPLEMENTED; return ERROR_CALL_NOT_IMPLEMENTED;
} }
DWORD WINAPI WlanHostedNetworkQuerySecondaryKey(HANDLE handle, DWORD *key_size, unsigned char *key,
BOOL *passphrase, BOOL *persistent,
WLAN_HOSTED_NETWORK_REASON *error, void *reserved)
{
FIXME("(%p, %p, %p, %p, %p, %p, %p) stub\n",
handle, key_size, key, passphrase, persistent, error, reserved);
return ERROR_CALL_NOT_IMPLEMENTED;
}
void WINAPI WlanFreeMemory(void *ptr) void WINAPI WlanFreeMemory(void *ptr)
{ {
TRACE("(%p)\n", ptr); TRACE("(%p)\n", ptr);

View File

@ -15,6 +15,7 @@
@ stub WlanGetProfileList @ stub WlanGetProfileList
@ stub WlanGetSecuritySettings @ stub WlanGetSecuritySettings
@ stdcall WlanHostedNetworkQueryProperty(ptr long ptr ptr ptr ptr) @ stdcall WlanHostedNetworkQueryProperty(ptr long ptr ptr ptr ptr)
@ stdcall WlanHostedNetworkQuerySecondaryKey(ptr ptr ptr ptr ptr ptr ptr)
@ stub WlanIhvControl @ stub WlanIhvControl
@ stdcall WlanOpenHandle(long ptr ptr ptr) @ stdcall WlanOpenHandle(long ptr ptr ptr)
@ stub WlanQueryAutoConfigParameter @ stub WlanQueryAutoConfigParameter

View File

@ -195,6 +195,39 @@ typedef enum _WLAN_HOSTED_NETWORK_OPCODE
wlan_hosted_network_opcode_enable wlan_hosted_network_opcode_enable
} WLAN_HOSTED_NETWORK_OPCODE, *PWLAN_HOSTED_NETWORK_OPCODE; } WLAN_HOSTED_NETWORK_OPCODE, *PWLAN_HOSTED_NETWORK_OPCODE;
typedef enum _WLAN_HOSTED_NETWORK_REASON
{
wlan_hosted_network_reason_success = 0,
wlan_hosted_network_reason_unspecified,
wlan_hosted_network_reason_bad_parameters,
wlan_hosted_network_reason_service_shutting_down,
wlan_hosted_network_reason_insufficient_resources,
wlan_hosted_network_reason_elevation_required,
wlan_hosted_network_reason_read_only,
wlan_hosted_network_reason_persistence_failed,
wlan_hosted_network_reason_crypt_error,
wlan_hosted_network_reason_impersonation,
wlan_hosted_network_reason_stop_before_start,
wlan_hosted_network_reason_interface_available,
wlan_hosted_network_reason_interface_unavailable,
wlan_hosted_network_reason_miniport_stopped,
wlan_hosted_network_reason_miniport_started,
wlan_hosted_network_reason_incompatible_connection_started,
wlan_hosted_network_reason_incompatible_connection_stopped,
wlan_hosted_network_reason_user_action,
wlan_hosted_network_reason_client_abort,
wlan_hosted_network_reason_ap_start_failed,
wlan_hosted_network_reason_peer_arrived,
wlan_hosted_network_reason_peer_departed,
wlan_hosted_network_reason_peer_timeout,
wlan_hosted_network_reason_gp_denied,
wlan_hosted_network_reason_service_unavailable,
wlan_hosted_network_reason_device_change,
wlan_hosted_network_reason_properties_change,
wlan_hosted_network_reason_virtual_station_blocking_use,
wlan_hosted_network_reason_service_available_on_virtual_station
} WLAN_HOSTED_NETWORK_REASON, *PWLAN_HOSTED_NETWORK_REASON;
DWORD WINAPI WlanCloseHandle(HANDLE, void *); DWORD WINAPI WlanCloseHandle(HANDLE, void *);
DWORD WINAPI WlanEnumInterfaces(HANDLE, void *, WLAN_INTERFACE_INFO_LIST **); DWORD WINAPI WlanEnumInterfaces(HANDLE, void *, WLAN_INTERFACE_INFO_LIST **);
DWORD WINAPI WlanOpenHandle(DWORD, void *, DWORD *, HANDLE *); DWORD WINAPI WlanOpenHandle(DWORD, void *, DWORD *, HANDLE *);