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
7c387c0b
Commit
7c387c0b
authored
Feb 29, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Mar 01, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
winexinput.sys: Force debug info in critical sections.
parent
cfab11e1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
main.c
dlls/winexinput.sys/main.c
+3
-1
No files found.
dlls/winexinput.sys/main.c
View file @
7c387c0b
...
@@ -785,6 +785,8 @@ static NTSTATUS WINAPI fdo_pnp(DEVICE_OBJECT *device, IRP *irp)
...
@@ -785,6 +785,8 @@ static NTSTATUS WINAPI fdo_pnp(DEVICE_OBJECT *device, IRP *irp)
IoSkipCurrentIrpStackLocation
(
irp
);
IoSkipCurrentIrpStackLocation
(
irp
);
status
=
IoCallDriver
(
fdo
->
bus_device
,
irp
);
status
=
IoCallDriver
(
fdo
->
bus_device
,
irp
);
IoDetachDevice
(
fdo
->
bus_device
);
IoDetachDevice
(
fdo
->
bus_device
);
if
(
fdo
->
cs
.
DebugInfo
)
fdo
->
cs
.
DebugInfo
->
Spare
[
0
]
=
0
;
RtlDeleteCriticalSection
(
&
fdo
->
cs
);
RtlDeleteCriticalSection
(
&
fdo
->
cs
);
HidP_FreeCollectionDescription
(
&
fdo
->
device_desc
);
HidP_FreeCollectionDescription
(
&
fdo
->
device_desc
);
free
(
fdo
->
report_buf
);
free
(
fdo
->
report_buf
);
...
@@ -871,7 +873,7 @@ static NTSTATUS WINAPI add_device(DRIVER_OBJECT *driver, DEVICE_OBJECT *bus_devi
...
@@ -871,7 +873,7 @@ static NTSTATUS WINAPI add_device(DRIVER_OBJECT *driver, DEVICE_OBJECT *bus_devi
fdo
->
bus_device
=
bus_device
;
fdo
->
bus_device
=
bus_device
;
wcscpy
(
fdo
->
instance_id
,
instance_id
);
wcscpy
(
fdo
->
instance_id
,
instance_id
);
RtlInitializeCriticalSection
(
&
fdo
->
cs
);
RtlInitializeCriticalSection
Ex
(
&
fdo
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
fdo
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": func_device.cs"
);
fdo
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": func_device.cs"
);
TRACE
(
"device %p, bus_id %s, device_id %s, instance_id %s.
\n
"
,
device
,
debugstr_w
(
bus_id
),
TRACE
(
"device %p, bus_id %s, device_id %s, instance_id %s.
\n
"
,
device
,
debugstr_w
(
bus_id
),
...
...
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