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
46341ec6
Commit
46341ec6
authored
Nov 17, 2022
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
wineusb.sys: Build without -DWINE_NO_LONG_TYPES.
parent
ce951c9c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
7 deletions
+6
-7
Makefile.in
dlls/wineusb.sys/Makefile.in
+0
-1
unixlib.c
dlls/wineusb.sys/unixlib.c
+1
-1
wineusb.c
dlls/wineusb.sys/wineusb.c
+5
-5
No files found.
dlls/wineusb.sys/Makefile.in
View file @
46341ec6
EXTRADEFS
=
-DWINE_NO_LONG_TYPES
MODULE
=
wineusb.sys
UNIXLIB
=
wineusb.so
IMPORTS
=
ntoskrnl
...
...
dlls/wineusb.sys/unixlib.c
View file @
46341ec6
...
...
@@ -502,7 +502,7 @@ static NTSTATUS usb_submit_urb(void *args)
if
(
req
->
TransferFlags
&
USBD_TRANSFER_DIRECTION_IN
)
req_type
|=
LIBUSB_ENDPOINT_IN
;
if
(
req
->
TransferFlags
&
~
USBD_TRANSFER_DIRECTION_IN
)
FIXME
(
"Unhandled flags %#x.
\n
"
,
req
->
TransferFlags
);
FIXME
(
"Unhandled flags %#x.
\n
"
,
(
int
)
req
->
TransferFlags
);
if
(
req
->
TransferBufferMDL
)
FIXME
(
"Unhandled MDL output buffer.
\n
"
);
...
...
dlls/wineusb.sys/wineusb.c
View file @
46341ec6
...
...
@@ -119,7 +119,7 @@ static void add_unix_device(const struct usb_add_device_event *event)
if
((
status
=
IoCreateDevice
(
driver_obj
,
sizeof
(
*
device
),
&
string
,
FILE_DEVICE_USB
,
0
,
FALSE
,
&
device_obj
)))
{
ERR
(
"Failed to create device, status %#x.
\n
"
,
status
);
ERR
(
"Failed to create device, status %#
l
x.
\n
"
,
status
);
return
;
}
...
...
@@ -586,7 +586,7 @@ static NTSTATUS WINAPI driver_internal_ioctl(DEVICE_OBJECT *device_obj, IRP *irp
NTSTATUS
status
=
STATUS_NOT_IMPLEMENTED
;
BOOL
removed
;
TRACE
(
"device_obj %p, irp %p, code %#x.
\n
"
,
device_obj
,
irp
,
code
);
TRACE
(
"device_obj %p, irp %p, code %#
l
x.
\n
"
,
device_obj
,
irp
,
code
);
EnterCriticalSection
(
&
wineusb_cs
);
removed
=
device
->
removed
;
...
...
@@ -606,7 +606,7 @@ static NTSTATUS WINAPI driver_internal_ioctl(DEVICE_OBJECT *device_obj, IRP *irp
break
;
default:
FIXME
(
"Unhandled ioctl %#
x (device %#x, access %#x, function %#x, method %#
x).
\n
"
,
FIXME
(
"Unhandled ioctl %#
lx (device %#lx, access %#lx, function %#lx, method %#l
x).
\n
"
,
code
,
code
>>
16
,
(
code
>>
14
)
&
3
,
(
code
>>
2
)
&
0xfff
,
code
&
3
);
}
...
...
@@ -626,7 +626,7 @@ static NTSTATUS WINAPI driver_add_device(DRIVER_OBJECT *driver, DEVICE_OBJECT *p
if
((
ret
=
IoCreateDevice
(
driver
,
0
,
NULL
,
FILE_DEVICE_BUS_EXTENDER
,
0
,
FALSE
,
&
bus_fdo
)))
{
ERR
(
"Failed to create FDO, status %#x.
\n
"
,
ret
);
ERR
(
"Failed to create FDO, status %#
l
x.
\n
"
,
ret
);
return
ret
;
}
...
...
@@ -652,7 +652,7 @@ NTSTATUS WINAPI DriverEntry(DRIVER_OBJECT *driver, UNICODE_STRING *path)
if
((
status
=
NtQueryVirtualMemory
(
GetCurrentProcess
(),
instance
,
MemoryWineUnixFuncs
,
&
unix_handle
,
sizeof
(
unix_handle
),
NULL
)))
{
ERR
(
"Failed to initialize Unix library, status %#x.
\n
"
,
status
);
ERR
(
"Failed to initialize Unix library, status %#
l
x.
\n
"
,
status
);
return
status
;
}
...
...
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