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

Torge Matthies tmatthies at codeweavers.com
Mon Apr 25 08:56:28 CDT 2022


Signed-off-by: Torge Matthies <tmatthies at codeweavers.com>
---
 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 74a5fd13dfad..b06407bd5e3f 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 ac03607a2a02..677d63ed4dbc 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 2deba8651853..ef366565a8d1 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 0021668f5e45..773ad5e93709 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 ac420eeb4fe2..4153661091e5 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