Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
eb7a79f6
Commit
eb7a79f6
authored
Feb 09, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 09, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
dhcpcsvc: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
a64d1579
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
dlls/dhcpcsvc/Makefile.in
+0
-1
dhcpcsvc.c
dlls/dhcpcsvc/dhcpcsvc.c
+3
-3
No files found.
dlls/dhcpcsvc/Makefile.in
View file @
eb7a79f6
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
dhcpcsvc.dll
MODULE
=
dhcpcsvc.dll
DELAYIMPORTS
=
iphlpapi
DELAYIMPORTS
=
iphlpapi
IMPORTLIB
=
dhcpcsvc
IMPORTLIB
=
dhcpcsvc
...
...
dlls/dhcpcsvc/dhcpcsvc.c
View file @
eb7a79f6
...
@@ -87,15 +87,15 @@ DWORD WINAPI DhcpRequestParams( DWORD flags, void *reserved, WCHAR *adapter, DHC
...
@@ -87,15 +87,15 @@ DWORD WINAPI DhcpRequestParams( DWORD flags, void *reserved, WCHAR *adapter, DHC
HANDLE
mgr
;
HANDLE
mgr
;
char
unix_name
[
IF_NAMESIZE
];
char
unix_name
[
IF_NAMESIZE
];
TRACE
(
"(%08
x, %p, %s, %p, %u, %
u, %p, %p, %s)
\n
"
,
flags
,
reserved
,
debugstr_w
(
adapter
),
class_id
,
TRACE
(
"(%08
lx, %p, %s, %p, %lu, %l
u, %p, %p, %s)
\n
"
,
flags
,
reserved
,
debugstr_w
(
adapter
),
class_id
,
send_params
.
nParams
,
recv_params
.
nParams
,
buf
,
buflen
,
debugstr_w
(
request_id
)
);
send_params
.
nParams
,
recv_params
.
nParams
,
buf
,
buflen
,
debugstr_w
(
request_id
)
);
if
(
!
adapter
||
!
buflen
)
return
ERROR_INVALID_PARAMETER
;
if
(
!
adapter
||
!
buflen
)
return
ERROR_INVALID_PARAMETER
;
if
(
flags
!=
DHCPCAPI_REQUEST_SYNCHRONOUS
)
FIXME
(
"unsupported flags %08x
\n
"
,
flags
);
if
(
flags
!=
DHCPCAPI_REQUEST_SYNCHRONOUS
)
FIXME
(
"unsupported flags %08
l
x
\n
"
,
flags
);
if
((
err
=
get_adapter_name
(
adapter
,
unix_name
,
sizeof
(
unix_name
)
)))
return
err
;
if
((
err
=
get_adapter_name
(
adapter
,
unix_name
,
sizeof
(
unix_name
)
)))
return
err
;
for
(
i
=
0
;
i
<
send_params
.
nParams
;
i
++
)
for
(
i
=
0
;
i
<
send_params
.
nParams
;
i
++
)
FIXME
(
"send option %u not supported
\n
"
,
send_params
.
Params
->
OptionId
);
FIXME
(
"send option %
l
u not supported
\n
"
,
send_params
.
Params
->
OptionId
);
mgr
=
CreateFileW
(
MOUNTMGR_DOS_DEVICE_NAME
,
GENERIC_READ
|
GENERIC_WRITE
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
NULL
,
mgr
=
CreateFileW
(
MOUNTMGR_DOS_DEVICE_NAME
,
GENERIC_READ
|
GENERIC_WRITE
,
FILE_SHARE_READ
|
FILE_SHARE_WRITE
,
NULL
,
OPEN_EXISTING
,
0
,
0
);
OPEN_EXISTING
,
0
,
0
);
...
...
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