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
c82c71be
Commit
c82c71be
authored
Jun 05, 2020
by
Zhipeng Zhao
Committed by
Alexandre Julliard
Jun 05, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wlanapi: Add WlanQueryInterface stub implementation.
Signed-off-by:
Zhipeng Zhao
<
zhaozhipeng@uniontech.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9dcfc596
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
48 additions
and
1 deletion
+48
-1
main.c
dlls/wlanapi/main.c
+8
-0
wlanapi.spec
dlls/wlanapi/wlanapi.spec
+1
-1
wlanapi.h
include/wlanapi.h
+39
-0
No files found.
dlls/wlanapi/main.c
View file @
c82c71be
...
@@ -164,6 +164,14 @@ DWORD WINAPI WlanGetAvailableNetworkList(HANDLE handle, const GUID *guid, DWORD
...
@@ -164,6 +164,14 @@ DWORD WINAPI WlanGetAvailableNetworkList(HANDLE handle, const GUID *guid, DWORD
return
ERROR_CALL_NOT_IMPLEMENTED
;
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
}
DWORD
WINAPI
WlanQueryInterface
(
HANDLE
handle
,
const
GUID
*
guid
,
WLAN_INTF_OPCODE
opcode
,
void
*
reserved
,
DWORD
*
data_size
,
void
**
data
,
WLAN_OPCODE_VALUE_TYPE
*
opcode_type
)
{
FIXME
(
"(%p, %s, 0x%x, %p, %p, %p, %p) stub
\n
"
,
handle
,
wine_dbgstr_guid
(
guid
),
opcode
,
reserved
,
data_size
,
data
,
opcode_type
);
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 @
c82c71be
...
@@ -17,7 +17,7 @@
...
@@ -17,7 +17,7 @@
@ stub WlanIhvControl
@ stub WlanIhvControl
@ stdcall WlanOpenHandle(long ptr ptr ptr)
@ stdcall WlanOpenHandle(long ptr ptr ptr)
@ stub WlanQueryAutoConfigParameter
@ stub WlanQueryAutoConfigParameter
@ st
ub WlanQueryInterface
@ st
dcall WlanQueryInterface(ptr ptr long ptr ptr ptr ptr)
@ stub WlanReasonCodeToString
@ stub WlanReasonCodeToString
@ stdcall WlanRegisterNotification(ptr long long ptr ptr ptr ptr)
@ stdcall WlanRegisterNotification(ptr long long ptr ptr ptr ptr)
@ stub WlanRenameProfile
@ stub WlanRenameProfile
...
...
include/wlanapi.h
View file @
c82c71be
...
@@ -142,6 +142,44 @@ typedef struct _WLAN_AVAILABLE_NETWORK
...
@@ -142,6 +142,44 @@ typedef struct _WLAN_AVAILABLE_NETWORK
DWORD
dwReserved
;
DWORD
dwReserved
;
}
WLAN_AVAILABLE_NETWORK
,
*
PWLAN_AVAILABLE_NETWORK
;
}
WLAN_AVAILABLE_NETWORK
,
*
PWLAN_AVAILABLE_NETWORK
;
typedef
enum
_WLAN_INTF_OPCODE
{
wlan_intf_opcode_autoconf_start
=
0x000000000
,
wlan_intf_opcode_autoconf_enabled
,
wlan_intf_opcode_background_scan_enabled
,
wlan_intf_opcode_media_streaming_mode
,
wlan_intf_opcode_radio_state
,
wlan_intf_opcode_bss_type
,
wlan_intf_opcode_interface_state
,
wlan_intf_opcode_current_connection
,
wlan_intf_opcode_channel_number
,
wlan_intf_opcode_supported_infrastructure_auth_cipher_pairs
,
wlan_intf_opcode_supported_adhoc_auth_cipher_pairs
,
wlan_intf_opcode_supported_country_or_region_string_list
,
wlan_intf_opcode_current_operation_mode
,
wlan_intf_opcode_supported_safe_mode
,
wlan_intf_opcode_certified_safe_mode
,
wlan_intf_opcode_hosted_network_capable
,
wlan_intf_opcode_management_frame_protection_capable
,
wlan_intf_opcode_autoconf_end
=
0x0fffffff
,
wlan_intf_opcode_msm_start
=
0x10000100
,
wlan_intf_opcode_statistics
,
wlan_intf_opcode_rssi
,
wlan_intf_opcode_msm_end
=
0x1fffffff
,
wlan_intf_opcode_security_start
=
0x20010000
,
wlan_intf_opcode_security_end
=
0x2fffffff
,
wlan_intf_opcode_ihv_start
=
0x30000000
,
wlan_intf_opcode_ihv_end
=
0x3fffffff
}
WLAN_INTF_OPCODE
,
*
PWLAN_INTF_OPCODE
;
typedef
enum
_WLAN_OPCODE_VALUE_TYPE
{
wlan_opcode_value_type_query_only
=
0
,
wlan_opcode_value_type_set_by_group_policy
,
wlan_opcode_value_type_set_by_user
,
wlan_opcode_value_type_invalid
}
WLAN_OPCODE_VALUE_TYPE
,
*
PWLAN_OPCODE_VALUE_TYPE
;
typedef
struct
_WLAN_AVAILABLE_NETWORK_LIST
typedef
struct
_WLAN_AVAILABLE_NETWORK_LIST
{
{
DWORD
dwNumberOfItems
;
DWORD
dwNumberOfItems
;
...
@@ -157,5 +195,6 @@ void WINAPI WlanFreeMemory(void *);
...
@@ -157,5 +195,6 @@ void WINAPI WlanFreeMemory(void *);
DWORD
WINAPI
WlanScan
(
HANDLE
,
const
GUID
*
,
const
DOT11_SSID
*
,
const
WLAN_RAW_DATA
*
,
void
*
);
DWORD
WINAPI
WlanScan
(
HANDLE
,
const
GUID
*
,
const
DOT11_SSID
*
,
const
WLAN_RAW_DATA
*
,
void
*
);
DWORD
WINAPI
WlanRegisterNotification
(
HANDLE
,
DWORD
,
BOOL
,
WLAN_NOTIFICATION_CALLBACK
,
void
*
,
void
*
,
DWORD
*
);
DWORD
WINAPI
WlanRegisterNotification
(
HANDLE
,
DWORD
,
BOOL
,
WLAN_NOTIFICATION_CALLBACK
,
void
*
,
void
*
,
DWORD
*
);
DWORD
WINAPI
WlanGetAvailableNetworkList
(
HANDLE
,
const
GUID
*
,
DWORD
,
void
*
,
WLAN_AVAILABLE_NETWORK_LIST
**
);
DWORD
WINAPI
WlanGetAvailableNetworkList
(
HANDLE
,
const
GUID
*
,
DWORD
,
void
*
,
WLAN_AVAILABLE_NETWORK_LIST
**
);
DWORD
WINAPI
WlanQueryInterface
(
HANDLE
,
const
GUID
*
,
WLAN_INTF_OPCODE
,
void
*
,
DWORD
*
,
void
**
,
WLAN_OPCODE_VALUE_TYPE
*
);
#endif
/* _WLAN_WLANAPI_H */
#endif
/* _WLAN_WLANAPI_H */
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