Commit 9e865967 authored by Torge Matthies's avatar Torge Matthies Committed by Alexandre Julliard

msvcr100: Implement _StructuredTaskCollection::_IsCanceling.

parent 58d516f0
...@@ -1403,7 +1403,7 @@ static void __cdecl chore_proc(_UnrealizedChore *_this) ...@@ -1403,7 +1403,7 @@ static void __cdecl chore_proc(_UnrealizedChore *_this)
MSVCRT_bool canceling = call_func1( MSVCRT_bool canceling = call_func1(
p__StructuredTaskCollection__IsCanceling, p__StructuredTaskCollection__IsCanceling,
chore->chore.task_collection); chore->chore.task_collection);
todo_wine ok(canceling, "Task is not canceling\n"); ok(canceling, "Task is not canceling\n");
} }
} }
......
...@@ -2288,8 +2288,8 @@ DEFINE_THISCALL_WRAPPER(_StructuredTaskCollection__IsCanceling, 4) ...@@ -2288,8 +2288,8 @@ DEFINE_THISCALL_WRAPPER(_StructuredTaskCollection__IsCanceling, 4)
bool __thiscall _StructuredTaskCollection__IsCanceling( bool __thiscall _StructuredTaskCollection__IsCanceling(
_StructuredTaskCollection *this) _StructuredTaskCollection *this)
{ {
FIXME("(%p): stub!\n", this); TRACE("(%p)\n", this);
return FALSE; return !!((ULONG_PTR)this->exception & STRUCTURED_TASK_COLLECTION_CANCELLED);
} }
/* ?_CheckTaskCollection@_UnrealizedChore@details@Concurrency@@IAEXXZ */ /* ?_CheckTaskCollection@_UnrealizedChore@details@Concurrency@@IAEXXZ */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment