Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-cw
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-cw
Commits
d95681aa
Commit
d95681aa
authored
Jun 09, 2022
by
Bernhard Kölbl
Committed by
Alexandre Julliard
Jun 14, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
windows.media.speech/tests: Remove a useless thread id trace.
Signed-off-by:
Bernhard Kölbl
<
besentv@gmail.com
>
parent
faf8ed36
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
4 deletions
+1
-4
speech.c
dlls/windows.media.speech/tests/speech.c
+1
-4
No files found.
dlls/windows.media.speech/tests/speech.c
View file @
d95681aa
...
@@ -331,7 +331,6 @@ struct async_inspectable_handler
...
@@ -331,7 +331,6 @@ struct async_inspectable_handler
HANDLE
event_block
;
HANDLE
event_block
;
HANDLE
event_finished
;
HANDLE
event_finished
;
DWORD
thread_id
;
};
};
static
inline
struct
async_inspectable_handler
*
impl_from_IAsyncOperationCompletedHandler_IInspectable
(
IAsyncOperationCompletedHandler_IInspectable
*
iface
)
static
inline
struct
async_inspectable_handler
*
impl_from_IAsyncOperationCompletedHandler_IInspectable
(
IAsyncOperationCompletedHandler_IInspectable
*
iface
)
...
@@ -378,9 +377,8 @@ HRESULT WINAPI async_inspectable_handler_Invoke( IAsyncOperationCompletedHandler
...
@@ -378,9 +377,8 @@ HRESULT WINAPI async_inspectable_handler_Invoke( IAsyncOperationCompletedHandler
AsyncStatus
status
)
AsyncStatus
status
)
{
{
struct
async_inspectable_handler
*
impl
=
impl_from_IAsyncOperationCompletedHandler_IInspectable
(
iface
);
struct
async_inspectable_handler
*
impl
=
impl_from_IAsyncOperationCompletedHandler_IInspectable
(
iface
);
DWORD
id
=
GetCurrentThreadId
();
trace
(
"Iface %p, sender %p, status %d.
\n
"
,
iface
,
sender
,
status
);
trace
(
"Iface %p, sender %p, status %d.
\n
"
,
iface
,
sender
,
status
);
trace
(
"Caller thread id %lu callback thread id %lu.
\n
"
,
impl
->
thread_id
,
id
);
/* Signal finishing of the handler. */
/* Signal finishing of the handler. */
if
(
impl
->
event_finished
)
SetEvent
(
impl
->
event_finished
);
if
(
impl
->
event_finished
)
SetEvent
(
impl
->
event_finished
);
...
@@ -1217,7 +1215,6 @@ static void test_SpeechRecognizer(void)
...
@@ -1217,7 +1215,6 @@ static void test_SpeechRecognizer(void)
async_inspectable_handler_create_static
(
&
compilation_handler
,
&
IID_IAsyncOperationCompletedHandler_SpeechRecognitionCompilationResult
);
async_inspectable_handler_create_static
(
&
compilation_handler
,
&
IID_IAsyncOperationCompletedHandler_SpeechRecognitionCompilationResult
);
compilation_handler
.
event_block
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
compilation_handler
.
event_block
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
compilation_handler
.
event_finished
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
compilation_handler
.
event_finished
=
CreateEventW
(
NULL
,
FALSE
,
FALSE
,
NULL
);
compilation_handler
.
thread_id
=
GetCurrentThreadId
();
ok
(
!!
compilation_handler
.
event_block
,
"event_block wasn't created.
\n
"
);
ok
(
!!
compilation_handler
.
event_block
,
"event_block wasn't created.
\n
"
);
ok
(
!!
compilation_handler
.
event_finished
,
"event_finished wasn't created.
\n
"
);
ok
(
!!
compilation_handler
.
event_finished
,
"event_finished wasn't created.
\n
"
);
...
...
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