Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
d1b20973
Commit
d1b20973
authored
Aug 04, 2021
by
Alex Henrie
Committed by
Alexandre Julliard
Aug 05, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wlanapi: Add WlanHostedNetworkQueryStatus stub.
Signed-off-by:
Alex Henrie
<
alexhenrie24@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
946c128b
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
41 additions
and
0 deletions
+41
-0
main.c
dlls/wlanapi/main.c
+7
-0
wlanapi.spec
dlls/wlanapi/wlanapi.spec
+1
-0
windot11.h
include/windot11.h
+3
-0
wlanapi.h
include/wlanapi.h
+30
-0
No files found.
dlls/wlanapi/main.c
View file @
d1b20973
...
@@ -193,6 +193,13 @@ DWORD WINAPI WlanHostedNetworkQuerySecondaryKey(HANDLE handle, DWORD *key_size,
...
@@ -193,6 +193,13 @@ DWORD WINAPI WlanHostedNetworkQuerySecondaryKey(HANDLE handle, DWORD *key_size,
return
ERROR_CALL_NOT_IMPLEMENTED
;
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
)
void
WINAPI
WlanFreeMemory
(
void
*
ptr
)
{
{
TRACE
(
"(%p)
\n
"
,
ptr
);
TRACE
(
"(%p)
\n
"
,
ptr
);
...
...
dlls/wlanapi/wlanapi.spec
View file @
d1b20973
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
@ 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)
@ stdcall WlanHostedNetworkQuerySecondaryKey(ptr ptr ptr ptr ptr ptr ptr)
@ stdcall WlanHostedNetworkQueryStatus(ptr ptr ptr)
@ stub WlanIhvControl
@ stub WlanIhvControl
@ stdcall WlanOpenHandle(long ptr ptr ptr)
@ stdcall WlanOpenHandle(long ptr ptr ptr)
@ stub WlanQueryAutoConfigParameter
@ stub WlanQueryAutoConfigParameter
...
...
include/windot11.h
View file @
d1b20973
...
@@ -35,4 +35,7 @@ typedef enum _DOT11_PHY_TYPE
...
@@ -35,4 +35,7 @@ typedef enum _DOT11_PHY_TYPE
dot11_phy_type_IHV_end
=
0xFFFFFFFF
dot11_phy_type_IHV_end
=
0xFFFFFFFF
}
DOT11_PHY_TYPE
,
*
PDOT11_PHY_TYPE
;
}
DOT11_PHY_TYPE
,
*
PDOT11_PHY_TYPE
;
typedef
UCHAR
DOT11_MAC_ADDRESS
[
6
];
typedef
DOT11_MAC_ADDRESS
*
PDOT11_MAC_ADDRESS
;
#endif
/* _WINDOT11_H */
#endif
/* _WINDOT11_H */
include/wlanapi.h
View file @
d1b20973
...
@@ -214,6 +214,36 @@ typedef enum _WLAN_HOSTED_NETWORK_REASON
...
@@ -214,6 +214,36 @@ typedef enum _WLAN_HOSTED_NETWORK_REASON
wlan_hosted_network_reason_service_available_on_virtual_station
wlan_hosted_network_reason_service_available_on_virtual_station
}
WLAN_HOSTED_NETWORK_REASON
,
*
PWLAN_HOSTED_NETWORK_REASON
;
}
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
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
*
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment