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
8e4114be
Commit
8e4114be
authored
Mar 01, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Mar 01, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndis.sys/tests: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
ce19b2f3
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
Makefile.in
dlls/ndis.sys/tests/Makefile.in
+0
-1
ndis.c
dlls/ndis.sys/tests/ndis.c
+3
-3
No files found.
dlls/ndis.sys/tests/Makefile.in
View file @
8e4114be
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
TESTDLL
=
ndis.sys
IMPORTS
=
iphlpapi advapi32 ole32
...
...
dlls/ndis.sys/tests/ndis.c
View file @
8e4114be
...
...
@@ -54,7 +54,7 @@ static void test_device(const WCHAR *service_name, const MIB_IF_ROW2 *row)
if
(
status
!=
STATUS_SUCCESS
)
{
skip
(
"Couldn't open the device (status = %d)
\n
"
,
status
);
skip
(
"Couldn't open the device (status = %
l
d)
\n
"
,
status
);
return
;
}
...
...
@@ -63,8 +63,8 @@ static void test_device(const WCHAR *service_name, const MIB_IF_ROW2 *row)
iosb
.
Information
=
0xdeadbeef
;
status
=
NtDeviceIoControlFile
(
netdev
,
NULL
,
NULL
,
NULL
,
&
iosb
,
IOCTL_NDIS_QUERY_GLOBAL_STATS
,
&
oid
,
sizeof
(
oid
),
&
medium
,
sizeof
(
medium
)
);
ok
(
status
==
STATUS_INVALID_PARAMETER
,
"got status %#x
\n
"
,
status
);
ok
(
iosb
.
Status
==
0xdeadbeef
,
"got %#x
\n
"
,
iosb
.
Status
);
ok
(
status
==
STATUS_INVALID_PARAMETER
,
"got status %#
l
x
\n
"
,
status
);
ok
(
iosb
.
Status
==
0xdeadbeef
,
"got %#
l
x
\n
"
,
iosb
.
Status
);
ok
(
iosb
.
Information
==
0xdeadbeef
,
"got size %#Ix
\n
"
,
iosb
.
Information
);
oid
=
OID_GEN_MEDIA_SUPPORTED
;
...
...
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