[PATCH v5 4/8] msvcr110: Add _StructuredTaskCollection::_StructuredTaskCollection_ctor stub.

Torge Matthies tmatthies at codeweavers.com
Wed Apr 20 09:33:19 CDT 2022


Signed-off-by: Torge Matthies <tmatthies at codeweavers.com>
---
v4 -> v5:
  New patch

 dlls/concrt140/concrt140.spec       |  6 +++---
 dlls/msvcr110/msvcr110.spec         |  6 +++---
 dlls/msvcr120/msvcr120.spec         |  6 +++---
 dlls/msvcr120_app/msvcr120_app.spec |  6 +++---
 dlls/msvcrt/concurrency.c           | 13 +++++++++++++
 5 files changed, 25 insertions(+), 12 deletions(-)

diff --git a/dlls/concrt140/concrt140.spec b/dlls/concrt140/concrt140.spec
index ba0f85f0788..46b7bf3d81f 100644
--- a/dlls/concrt140/concrt140.spec
+++ b/dlls/concrt140/concrt140.spec
@@ -63,9 +63,9 @@
 @ stub -arch=arm ??0_SpinLock at details@Concurrency@@QAA at ACJ@Z
 @ stub -arch=i386 ??0_SpinLock at details@Concurrency@@QAE at ACJ@Z
 @ stub -arch=win64 ??0_SpinLock at details@Concurrency@@QEAA at AECJ@Z
-@ stub -arch=arm ??0_StructuredTaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z
-@ stub -arch=i386 ??0_StructuredTaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z
-@ stub -arch=win64 ??0_StructuredTaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z
+@ thiscall -arch=arm ??0_StructuredTaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z(ptr ptr) StructuredTaskCollection_ctor
+@ thiscall -arch=i386 ??0_StructuredTaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z(ptr ptr) StructuredTaskCollection_ctor
+@ thiscall -arch=win64 ??0_StructuredTaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z(ptr ptr) StructuredTaskCollection_ctor
 @ stub -arch=arm ??0_TaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z
 @ stub -arch=i386 ??0_TaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z
 @ stub -arch=win64 ??0_TaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z
diff --git a/dlls/msvcr110/msvcr110.spec b/dlls/msvcr110/msvcr110.spec
index 130d5912a78..950c7d76015 100644
--- a/dlls/msvcr110/msvcr110.spec
+++ b/dlls/msvcr110/msvcr110.spec
@@ -62,9 +62,9 @@
 @ stub -arch=arm ??0_SpinLock at details@Concurrency@@QAA at ACJ@Z
 @ stub -arch=i386 ??0_SpinLock at details@Concurrency@@QAE at ACJ@Z
 @ stub -arch=win64 ??0_SpinLock at details@Concurrency@@QEAA at AECJ@Z
-@ stub -arch=arm ??0_StructuredTaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z
-@ stub -arch=i386 ??0_StructuredTaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z
-@ stub -arch=win64 ??0_StructuredTaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z
+@ thiscall -arch=arm ??0_StructuredTaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z(ptr ptr) StructuredTaskCollection_ctor
+@ thiscall -arch=i386 ??0_StructuredTaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z(ptr ptr) StructuredTaskCollection_ctor
+@ thiscall -arch=win64 ??0_StructuredTaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z(ptr ptr) StructuredTaskCollection_ctor
 @ stub -arch=arm ??0_TaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z
 @ stub -arch=i386 ??0_TaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z
 @ stub -arch=win64 ??0_TaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z
diff --git a/dlls/msvcr120/msvcr120.spec b/dlls/msvcr120/msvcr120.spec
index 1b6e2cd8270..bdb594d3296 100644
--- a/dlls/msvcr120/msvcr120.spec
+++ b/dlls/msvcr120/msvcr120.spec
@@ -59,9 +59,9 @@
 @ stub -arch=arm ??0_SpinLock at details@Concurrency@@QAA at ACJ@Z
 @ stub -arch=i386 ??0_SpinLock at details@Concurrency@@QAE at ACJ@Z
 @ stub -arch=win64 ??0_SpinLock at details@Concurrency@@QEAA at AECJ@Z
-@ stub -arch=arm ??0_StructuredTaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z
-@ stub -arch=i386 ??0_StructuredTaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z
-@ stub -arch=win64 ??0_StructuredTaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z
+@ thiscall -arch=arm ??0_StructuredTaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z(ptr ptr) StructuredTaskCollection_ctor
+@ thiscall -arch=i386 ??0_StructuredTaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z(ptr ptr) StructuredTaskCollection_ctor
+@ thiscall -arch=win64 ??0_StructuredTaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z(ptr ptr) StructuredTaskCollection_ctor
 @ stub -arch=arm ??0_TaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z
 @ stub -arch=i386 ??0_TaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z
 @ stub -arch=win64 ??0_TaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z
diff --git a/dlls/msvcr120_app/msvcr120_app.spec b/dlls/msvcr120_app/msvcr120_app.spec
index 1e04dc50ad8..e4d9146e514 100644
--- a/dlls/msvcr120_app/msvcr120_app.spec
+++ b/dlls/msvcr120_app/msvcr120_app.spec
@@ -57,9 +57,9 @@
 @ stub -arch=arm ??0_SpinLock at details@Concurrency@@QAA at ACJ@Z
 @ stub -arch=i386 ??0_SpinLock at details@Concurrency@@QAE at ACJ@Z
 @ stub -arch=win64 ??0_SpinLock at details@Concurrency@@QEAA at AECJ@Z
-@ stub -arch=arm ??0_StructuredTaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z
-@ stub -arch=i386 ??0_StructuredTaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z
-@ stub -arch=win64 ??0_StructuredTaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z
+@ thiscall -arch=arm ??0_StructuredTaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z(ptr ptr) msvcr120.??0_StructuredTaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z
+@ thiscall -arch=i386 ??0_StructuredTaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z(ptr ptr) msvcr120.??0_StructuredTaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z
+@ thiscall -arch=win64 ??0_StructuredTaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z(ptr ptr) msvcr120.??0_StructuredTaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z
 @ stub -arch=arm ??0_TaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z
 @ stub -arch=i386 ??0_TaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z
 @ stub -arch=win64 ??0_TaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z
diff --git a/dlls/msvcrt/concurrency.c b/dlls/msvcrt/concurrency.c
index f0cedbf08a6..7712b93f1a3 100644
--- a/dlls/msvcrt/concurrency.c
+++ b/dlls/msvcrt/concurrency.c
@@ -1755,6 +1755,19 @@ bool __thiscall SpinWait__SpinOnce(SpinWait *this)
     }
 }
 
+#if _MSVCR_VER >= 110
+
+/* ??0_StructuredTaskCollection at details@Concurrency@@QAA at PAV_CancellationTokenState@12@@Z */
+/* ??0_StructuredTaskCollection at details@Concurrency@@QAE at PAV_CancellationTokenState@12@@Z */
+/* ??0_StructuredTaskCollection at details@Concurrency@@QEAA at PEAV_CancellationTokenState@12@@Z */
+DEFINE_THISCALL_WRAPPER(StructuredTaskCollection_ctor, 8)
+void __thiscall StructuredTaskCollection_ctor(StructuredTaskCollection *this, void *unk)
+{
+    FIXME("(%p): stub!\n", this);
+}
+
+#endif /* _MSVCR_VER >= 100 */
+
 #if _MSVCR_VER >= 120
 
 /* ??1_StructuredTaskCollection at details@Concurrency@@QAA at XZ */
-- 
2.36.0




More information about the wine-devel mailing list