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
55649dfa
Commit
55649dfa
authored
Feb 13, 2017
by
Bruno Jesus
Committed by
Alexandre Julliard
Feb 13, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wlanapi: Add a stub for WlanRegisterNotification.
Signed-off-by:
Bruno Jesus
<
00cpxxx@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
390881b9
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
23 additions
and
1 deletion
+23
-1
main.c
dlls/wlanapi/main.c
+10
-0
wlanapi.spec
dlls/wlanapi/wlanapi.spec
+1
-1
wlanapi.h
include/wlanapi.h
+12
-0
No files found.
dlls/wlanapi/main.c
View file @
55649dfa
...
...
@@ -137,6 +137,16 @@ DWORD WINAPI WlanScan(HANDLE handle, const GUID *guid, const DOT11_SSID *ssid,
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
DWORD
WINAPI
WlanRegisterNotification
(
HANDLE
handle
,
DWORD
notify_source
,
BOOL
ignore_dup
,
WLAN_NOTIFICATION_CALLBACK
callback
,
void
*
context
,
void
*
reserved
,
DWORD
*
notify_prev
)
{
FIXME
(
"(%p, %d, %d, %p, %p, %p, %p) stub
\n
"
,
handle
,
notify_source
,
ignore_dup
,
callback
,
context
,
reserved
,
notify_prev
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
}
void
WINAPI
WlanFreeMemory
(
void
*
ptr
)
{
TRACE
(
"(%p)
\n
"
,
ptr
);
...
...
dlls/wlanapi/wlanapi.spec
View file @
55649dfa
...
...
@@ -19,7 +19,7 @@
@ stub WlanQueryAutoConfigParameter
@ stub WlanQueryInterface
@ stub WlanReasonCodeToString
@ st
ub WlanRegisterNotification
@ st
dcall WlanRegisterNotification(ptr long long ptr ptr ptr ptr)
@ stub WlanRenameProfile
@ stub WlanSaveTemporaryProfile
@ stdcall WlanScan(ptr ptr ptr ptr ptr)
...
...
include/wlanapi.h
View file @
55649dfa
...
...
@@ -58,11 +58,23 @@ typedef struct _WLAN_RAW_DATA
BYTE
DataBlob
[
1
];
}
WLAN_RAW_DATA
,
*
PWLAN_RAW_DATA
;
typedef
struct
_WLAN_NOTIFICATION_DATA
{
DWORD
NotificationSource
;
DWORD
NotificationCode
;
GUID
InterfaceGuid
;
DWORD
dwDataSize
;
PVOID
pData
;
}
WLAN_NOTIFICATION_DATA
,
*
PWLAN_NOTIFICATION_DATA
;
typedef
void
(
WINAPI
*
WLAN_NOTIFICATION_CALLBACK
)(
WLAN_NOTIFICATION_DATA
*
,
void
*
);
DWORD
WINAPI
WlanCloseHandle
(
HANDLE
,
void
*
);
DWORD
WINAPI
WlanEnumInterfaces
(
HANDLE
,
void
*
,
WLAN_INTERFACE_INFO_LIST
**
);
DWORD
WINAPI
WlanOpenHandle
(
DWORD
,
void
*
,
DWORD
*
,
HANDLE
*
);
void
*
WINAPI
WlanAllocateMemory
(
DWORD
);
void
WINAPI
WlanFreeMemory
(
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
*
);
#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