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
ec666970
Commit
ec666970
authored
Mar 04, 2024
by
Paul Gofman
Committed by
Alexandre Julliard
Mar 07, 2024
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
quartz: Force debug info in critical sections.
parent
b1a61e74
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
5 additions
and
5 deletions
+5
-5
filesource.c
dlls/quartz/filesource.c
+1
-1
filtergraph.c
dlls/quartz/filtergraph.c
+2
-2
memallocator.c
dlls/quartz/memallocator.c
+1
-1
systemclock.c
dlls/quartz/systemclock.c
+1
-1
No files found.
dlls/quartz/filesource.c
View file @
ec666970
...
@@ -422,7 +422,7 @@ HRESULT async_reader_create(IUnknown *outer, IUnknown **out)
...
@@ -422,7 +422,7 @@ HRESULT async_reader_create(IUnknown *outer, IUnknown **out)
object
->
IFileSourceFilter_iface
.
lpVtbl
=
&
FileSource_Vtbl
;
object
->
IFileSourceFilter_iface
.
lpVtbl
=
&
FileSource_Vtbl
;
object
->
IAsyncReader_iface
.
lpVtbl
=
&
FileAsyncReader_Vtbl
;
object
->
IAsyncReader_iface
.
lpVtbl
=
&
FileAsyncReader_Vtbl
;
InitializeCriticalSection
(
&
object
->
sample_cs
);
InitializeCriticalSection
Ex
(
&
object
->
sample_cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
object
->
sample_cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": FileAsyncReader.sample_cs"
);
object
->
sample_cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": FileAsyncReader.sample_cs"
);
InitializeConditionVariable
(
&
object
->
sample_cv
);
InitializeConditionVariable
(
&
object
->
sample_cv
);
object
->
port
=
CreateIoCompletionPort
(
INVALID_HANDLE_VALUE
,
NULL
,
0
,
0
);
object
->
port
=
CreateIoCompletionPort
(
INVALID_HANDLE_VALUE
,
NULL
,
0
,
0
);
...
...
dlls/quartz/filtergraph.c
View file @
ec666970
...
@@ -5704,9 +5704,9 @@ static HRESULT filter_graph_common_create(IUnknown *outer, IUnknown **out, BOOL
...
@@ -5704,9 +5704,9 @@ static HRESULT filter_graph_common_create(IUnknown *outer, IUnknown **out, BOOL
return
hr
;
return
hr
;
}
}
InitializeCriticalSection
(
&
object
->
cs
);
InitializeCriticalSection
Ex
(
&
object
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
object
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": filter_graph.cs"
);
object
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": filter_graph.cs"
);
InitializeCriticalSection
(
&
object
->
event_cs
);
InitializeCriticalSection
Ex
(
&
object
->
event_cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
object
->
event_cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": filter_graph.event_cs"
);
object
->
event_cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": filter_graph.event_cs"
);
object
->
defaultclock
=
TRUE
;
object
->
defaultclock
=
TRUE
;
...
...
dlls/quartz/memallocator.c
View file @
ec666970
...
@@ -920,7 +920,7 @@ HRESULT mem_allocator_create(IUnknown *lpUnkOuter, IUnknown **out)
...
@@ -920,7 +920,7 @@ HRESULT mem_allocator_create(IUnknown *lpUnkOuter, IUnknown **out)
if
(
!
(
pMemAlloc
=
CoTaskMemAlloc
(
sizeof
(
*
pMemAlloc
))))
if
(
!
(
pMemAlloc
=
CoTaskMemAlloc
(
sizeof
(
*
pMemAlloc
))))
return
E_OUTOFMEMORY
;
return
E_OUTOFMEMORY
;
InitializeCriticalSection
(
&
pMemAlloc
->
csState
);
InitializeCriticalSection
Ex
(
&
pMemAlloc
->
csState
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
pMemAlloc
->
csState
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": StdMemAllocator.csState"
);
pMemAlloc
->
csState
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": StdMemAllocator.csState"
);
pMemAlloc
->
pMemory
=
NULL
;
pMemAlloc
->
pMemory
=
NULL
;
...
...
dlls/quartz/systemclock.c
View file @
ec666970
...
@@ -341,7 +341,7 @@ HRESULT system_clock_create(IUnknown *outer, IUnknown **out)
...
@@ -341,7 +341,7 @@ HRESULT system_clock_create(IUnknown *outer, IUnknown **out)
object
->
outer_unk
=
outer
?
outer
:
&
object
->
IUnknown_inner
;
object
->
outer_unk
=
outer
?
outer
:
&
object
->
IUnknown_inner
;
object
->
refcount
=
1
;
object
->
refcount
=
1
;
list_init
(
&
object
->
sinks
);
list_init
(
&
object
->
sinks
);
InitializeCriticalSection
(
&
object
->
cs
);
InitializeCriticalSection
Ex
(
&
object
->
cs
,
0
,
RTL_CRITICAL_SECTION_FLAG_FORCE_DEBUG_INFO
);
object
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": SystemClockImpl.cs"
);
object
->
cs
.
DebugInfo
->
Spare
[
0
]
=
(
DWORD_PTR
)(
__FILE__
": SystemClockImpl.cs"
);
TRACE
(
"Created system clock %p.
\n
"
,
object
);
TRACE
(
"Created system clock %p.
\n
"
,
object
);
...
...
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