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
b507da66
Commit
b507da66
authored
Feb 22, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 22, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wlanapi: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
9531fede
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Makefile.in
dlls/wlanapi/Makefile.in
+0
-1
main.c
dlls/wlanapi/main.c
+4
-4
No files found.
dlls/wlanapi/Makefile.in
View file @
b507da66
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
wlanapi.dll
MODULE
=
wlanapi.dll
IMPORTLIB
=
wlanapi
IMPORTLIB
=
wlanapi
...
...
dlls/wlanapi/main.c
View file @
b507da66
...
@@ -117,7 +117,7 @@ DWORD WINAPI WlanOpenHandle(DWORD client_version, void *reserved, DWORD *negotia
...
@@ -117,7 +117,7 @@ DWORD WINAPI WlanOpenHandle(DWORD client_version, void *reserved, DWORD *negotia
struct
wine_wlan
*
wlan
;
struct
wine_wlan
*
wlan
;
HANDLE
ret_handle
;
HANDLE
ret_handle
;
TRACE
(
"(%u, %p, %p, %p)
\n
"
,
client_version
,
reserved
,
negotiated_version
,
handle
);
TRACE
(
"(%
l
u, %p, %p, %p)
\n
"
,
client_version
,
reserved
,
negotiated_version
,
handle
);
if
(
reserved
||
!
negotiated_version
||
!
handle
)
if
(
reserved
||
!
negotiated_version
||
!
handle
)
return
ERROR_INVALID_PARAMETER
;
return
ERROR_INVALID_PARAMETER
;
...
@@ -149,7 +149,7 @@ DWORD WINAPI WlanRegisterNotification(HANDLE handle, DWORD notify_source, BOOL i
...
@@ -149,7 +149,7 @@ DWORD WINAPI WlanRegisterNotification(HANDLE handle, DWORD notify_source, BOOL i
WLAN_NOTIFICATION_CALLBACK
callback
,
void
*
context
,
WLAN_NOTIFICATION_CALLBACK
callback
,
void
*
context
,
void
*
reserved
,
DWORD
*
notify_prev
)
void
*
reserved
,
DWORD
*
notify_prev
)
{
{
FIXME
(
"(%p, %d, %d, %p, %p, %p, %p) stub
\n
"
,
FIXME
(
"(%p, %
l
d, %d, %p, %p, %p, %p) stub
\n
"
,
handle
,
notify_source
,
ignore_dup
,
callback
,
context
,
reserved
,
notify_prev
);
handle
,
notify_source
,
ignore_dup
,
callback
,
context
,
reserved
,
notify_prev
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
return
ERROR_CALL_NOT_IMPLEMENTED
;
...
@@ -158,7 +158,7 @@ DWORD WINAPI WlanRegisterNotification(HANDLE handle, DWORD notify_source, BOOL i
...
@@ -158,7 +158,7 @@ DWORD WINAPI WlanRegisterNotification(HANDLE handle, DWORD notify_source, BOOL i
DWORD
WINAPI
WlanGetAvailableNetworkList
(
HANDLE
handle
,
const
GUID
*
guid
,
DWORD
flags
,
DWORD
WINAPI
WlanGetAvailableNetworkList
(
HANDLE
handle
,
const
GUID
*
guid
,
DWORD
flags
,
void
*
reserved
,
WLAN_AVAILABLE_NETWORK_LIST
**
network_list
)
void
*
reserved
,
WLAN_AVAILABLE_NETWORK_LIST
**
network_list
)
{
{
FIXME
(
"(%p, %s, 0x%x, %p, %p) stub
\n
"
,
FIXME
(
"(%p, %s, 0x%
l
x, %p, %p) stub
\n
"
,
handle
,
wine_dbgstr_guid
(
guid
),
flags
,
reserved
,
network_list
);
handle
,
wine_dbgstr_guid
(
guid
),
flags
,
reserved
,
network_list
);
return
ERROR_CALL_NOT_IMPLEMENTED
;
return
ERROR_CALL_NOT_IMPLEMENTED
;
...
@@ -211,7 +211,7 @@ void *WINAPI WlanAllocateMemory(DWORD size)
...
@@ -211,7 +211,7 @@ void *WINAPI WlanAllocateMemory(DWORD size)
{
{
void
*
ret
;
void
*
ret
;
TRACE
(
"(%d)
\n
"
,
size
);
TRACE
(
"(%
l
d)
\n
"
,
size
);
if
(
!
size
)
if
(
!
size
)
{
{
...
...
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