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
d1468c2b
Commit
d1468c2b
authored
Sep 26, 2022
by
Torge Matthies
Committed by
Alexandre Julliard
Dec 08, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcr110: Implement _StructuredTaskCollection constructor.
parent
f26985af
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
5 deletions
+11
-5
msvcr120.c
dlls/msvcr120/tests/msvcr120.c
+3
-3
concurrency.c
dlls/msvcrt/concurrency.c
+8
-2
No files found.
dlls/msvcr120/tests/msvcr120.c
View file @
d1468c2b
...
...
@@ -1403,7 +1403,7 @@ static void __cdecl chore_proc(_UnrealizedChore *_this)
MSVCRT_bool
canceling
=
call_func1
(
p__StructuredTaskCollection__IsCanceling
,
chore
->
chore
.
task_collection
);
ok
(
canceling
,
"Task is not canceling
\n
"
);
todo_wine
ok
(
canceling
,
"Task is not canceling
\n
"
);
}
}
...
...
@@ -1433,7 +1433,7 @@ static void test_StructuredTaskCollection(void)
skip
(
"_StructuredTaskCollection constructor not implemented
\n
"
);
return
;
}
ok
(
task_coll
.
unk2
==
0x1fffffff
,
todo_wine
ok
(
task_coll
.
unk2
==
0x1fffffff
,
"_StructuredTaskCollection ctor set wrong unk2: 0x%x != 0x1fffffff
\n
"
,
task_coll
.
unk2
);
ok
(
task_coll
.
unk3
==
NULL
,
"_StructuredTaskCollection ctor set wrong unk3: %p != NULL
\n
"
,
task_coll
.
unk3
);
...
...
@@ -1587,7 +1587,7 @@ static void test_StructuredTaskCollection(void)
ok
(
b
,
"SetEvent failed
\n
"
);
status
=
p__StructuredTaskCollection__RunAndWait
(
&
task_coll
,
NULL
);
ok
(
status
==
2
,
"_StructuredTaskCollection::_RunAndWait failed: %d
\n
"
,
status
);
todo_wine
ok
(
status
==
2
,
"_StructuredTaskCollection::_RunAndWait failed: %d
\n
"
,
status
);
call_func1
(
p__StructuredTaskCollection_dtor
,
&
task_coll
);
CloseHandle
(
chore_start_evt
);
...
...
dlls/msvcrt/concurrency.c
View file @
d1468c2b
...
...
@@ -1873,8 +1873,14 @@ DEFINE_THISCALL_WRAPPER(_StructuredTaskCollection_ctor, 8)
_StructuredTaskCollection
*
__thiscall
_StructuredTaskCollection_ctor
(
_StructuredTaskCollection
*
this
,
/*_CancellationTokenState*/
void
*
token
)
{
FIXME
(
"(%p): stub
\n
"
,
this
);
return
NULL
;
TRACE
(
"(%p)
\n
"
,
this
);
if
(
token
)
FIXME
(
"_StructuredTaskCollection with cancellation token not implemented!
\n
"
);
memset
(
this
,
0
,
sizeof
(
*
this
));
this
->
finished
=
FINISHED_INITIAL
;
return
this
;
}
#endif
/* _MSVCR_VER >= 110 */
...
...
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