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
34d365c1
Commit
34d365c1
authored
Feb 16, 2022
by
Eric Pouech
Committed by
Alexandre Julliard
Feb 16, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ndis.sys: Enable compilation with long types.
Signed-off-by:
Eric Pouech
<
eric.pouech@gmail.com
>
Signed-off-by:
Alexandre Julliard
<
julliard@winehq.org
>
parent
11eb69cb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
Makefile.in
dlls/ndis.sys/Makefile.in
+0
-1
main.c
dlls/ndis.sys/main.c
+5
-5
No files found.
dlls/ndis.sys/Makefile.in
View file @
34d365c1
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
ndis.sys
IMPORTS
=
advapi32 ntoskrnl iphlpapi
...
...
dlls/ndis.sys/main.c
View file @
34d365c1
...
...
@@ -88,7 +88,7 @@ static void query_global_stats(IRP *irp, const MIB_IF_ROW2 *netdev)
}
default:
FIXME
(
"Unsupported OID %x
\n
"
,
oid
);
FIXME
(
"Unsupported OID %
l
x
\n
"
,
oid
);
irp
->
IoStatus
.
u
.
Status
=
STATUS_INVALID_PARAMETER
;
break
;
}
...
...
@@ -100,7 +100,7 @@ static NTSTATUS WINAPI ndis_ioctl(DEVICE_OBJECT *device, IRP *irp)
MIB_IF_ROW2
*
netdev
=
device
->
DeviceExtension
;
NTSTATUS
status
;
TRACE
(
"ioctl %
x insize %u outsize %
u
\n
"
,
TRACE
(
"ioctl %
lx insize %lu outsize %l
u
\n
"
,
irpsp
->
Parameters
.
DeviceIoControl
.
IoControlCode
,
irpsp
->
Parameters
.
DeviceIoControl
.
InputBufferLength
,
irpsp
->
Parameters
.
DeviceIoControl
.
OutputBufferLength
);
...
...
@@ -111,7 +111,7 @@ static NTSTATUS WINAPI ndis_ioctl(DEVICE_OBJECT *device, IRP *irp)
query_global_stats
(
irp
,
netdev
);
break
;
default:
FIXME
(
"ioctl %x not supported
\n
"
,
irpsp
->
Parameters
.
DeviceIoControl
.
IoControlCode
);
FIXME
(
"ioctl %
l
x not supported
\n
"
,
irpsp
->
Parameters
.
DeviceIoControl
.
IoControlCode
);
irp
->
IoStatus
.
u
.
Status
=
STATUS_NOT_SUPPORTED
;
break
;
}
...
...
@@ -153,7 +153,7 @@ static int add_device(DRIVER_OBJECT *driver, const WCHAR *guidstrW, MIB_IF_ROW2
status
=
IoCreateSymbolicLink
(
&
link
,
&
name
);
if
(
status
)
{
FIXME
(
"failed to create device error %x
\n
"
,
status
);
FIXME
(
"failed to create device error %
l
x
\n
"
,
status
);
return
0
;
}
...
...
@@ -200,7 +200,7 @@ NTSTATUS WINAPI DriverEntry(DRIVER_OBJECT *driver, UNICODE_STRING *path)
NDIS_STATUS
WINAPI
NdisAllocateMemoryWithTag
(
void
**
address
,
UINT
length
,
ULONG
tag
)
{
FIXME
(
"(%p, %u, %u): stub
\n
"
,
address
,
length
,
tag
);
FIXME
(
"(%p, %u, %
l
u): stub
\n
"
,
address
,
length
,
tag
);
return
NDIS_STATUS_FAILURE
;
}
...
...
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