Piotr Caban : msvcr110: Add Concurrency::_Trace_agents function stub.

Alexandre Julliard julliard at winehq.org
Mon May 14 06:54:21 CDT 2018


Module: wine
Branch: stable
Commit: 18923898d8e26cb1bf01df88b1fb2f7afa29626f
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=18923898d8e26cb1bf01df88b1fb2f7afa29626f

Author: Piotr Caban <piotr at codeweavers.com>
Date:   Tue Feb  6 15:38:05 2018 +0100

msvcr110: Add Concurrency::_Trace_agents function stub.

Signed-off-by: Piotr Caban <piotr at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
(cherry picked from commit 475fa2c749e7ca5b648f456b8ecf47fe3d1b4964)
Signed-off-by: Michael Stefaniuc <mstefani at winehq.org>

---

 dlls/concrt140/concrt140.spec       | 2 +-
 dlls/msvcr110/msvcr110.spec         | 2 +-
 dlls/msvcr120/msvcr120.spec         | 2 +-
 dlls/msvcr120_app/msvcr120_app.spec | 2 +-
 dlls/msvcrt/misc.c                  | 6 ++++++
 5 files changed, 10 insertions(+), 4 deletions(-)

diff --git a/dlls/concrt140/concrt140.spec b/dlls/concrt140/concrt140.spec
index bb41952..9e88741 100644
--- a/dlls/concrt140/concrt140.spec
+++ b/dlls/concrt140/concrt140.spec
@@ -455,7 +455,7 @@
 @ stub -arch=win64 ?_Start at _Timer@details at Concurrency@@IEAAXXZ
 @ stub -arch=i386 ?_Stop at _Timer@details at Concurrency@@IAEXXZ
 @ stub -arch=win64 ?_Stop at _Timer@details at Concurrency@@IEAAXXZ
-@ stub ?_Trace_agents at Concurrency@@YAXW4Agents_EventType at 1@_JZZ
+@ varargs ?_Trace_agents at Concurrency@@YAXW4Agents_EventType at 1@_JZZ(long int64) msvcr120.?_Trace_agents at Concurrency@@YAXW4Agents_EventType at 1@_JZZ
 @ cdecl -arch=win32 ?_Trace_ppl_function at Concurrency@@YAXABU_GUID@@EW4ConcRT_EventType at 1@@Z(ptr long long) msvcr120.?_Trace_ppl_function at Concurrency@@YAXABU_GUID@@EW4ConcRT_EventType at 1@@Z
 @ cdecl -arch=win64 ?_Trace_ppl_function at Concurrency@@YAXAEBU_GUID@@EW4ConcRT_EventType at 1@@Z(ptr long long) msvcr120.?_Trace_ppl_function at Concurrency@@YAXAEBU_GUID@@EW4ConcRT_EventType at 1@@Z
 @ thiscall -arch=i386 ?_TryAcquire at _NonReentrantBlockingLock@details at Concurrency@@QAE_NXZ(ptr) msvcr120.?_TryAcquire at _NonReentrantBlockingLock@details at Concurrency@@QAE_NXZ
diff --git a/dlls/msvcr110/msvcr110.spec b/dlls/msvcr110/msvcr110.spec
index 7171067..29187ca 100644
--- a/dlls/msvcr110/msvcr110.spec
+++ b/dlls/msvcr110/msvcr110.spec
@@ -657,7 +657,7 @@
 @ stub -arch=arm ?_Tidy at exception@std@@AAAXXZ
 @ stub -arch=i386 ?_Tidy at exception@std@@AAEXXZ
 @ stub -arch=win64 ?_Tidy at exception@std@@AEAAXXZ
-@ stub ?_Trace_agents at Concurrency@@YAXW4Agents_EventType at 1@_JZZ
+@ varargs ?_Trace_agents at Concurrency@@YAXW4Agents_EventType at 1@_JZZ(long int64) _Trace_agents
 @ cdecl -arch=win32 ?_Trace_ppl_function at Concurrency@@YAXABU_GUID@@EW4ConcRT_EventType at 1@@Z(ptr long long) Concurrency__Trace_ppl_function
 @ cdecl -arch=win64 ?_Trace_ppl_function at Concurrency@@YAXAEBU_GUID@@EW4ConcRT_EventType at 1@@Z(ptr long long) Concurrency__Trace_ppl_function
 @ cdecl -arch=arm ?_TryAcquire at _NonReentrantBlockingLock@details at Concurrency@@QAA_NXZ(ptr) _ReentrantBlockingLock__TryAcquire
diff --git a/dlls/msvcr120/msvcr120.spec b/dlls/msvcr120/msvcr120.spec
index 2463b15..c2c4f3c 100644
--- a/dlls/msvcr120/msvcr120.spec
+++ b/dlls/msvcr120/msvcr120.spec
@@ -639,7 +639,7 @@
 @ stub -arch=arm ?_Tidy at exception@std@@AAAXXZ
 @ stub -arch=i386 ?_Tidy at exception@std@@AAEXXZ
 @ stub -arch=win64 ?_Tidy at exception@std@@AEAAXXZ
-@ stub ?_Trace_agents at Concurrency@@YAXW4Agents_EventType at 1@_JZZ
+@ varargs ?_Trace_agents at Concurrency@@YAXW4Agents_EventType at 1@_JZZ(long int64) _Trace_agents
 @ cdecl -arch=win32 ?_Trace_ppl_function at Concurrency@@YAXABU_GUID@@EW4ConcRT_EventType at 1@@Z(ptr long long) Concurrency__Trace_ppl_function
 @ cdecl -arch=win64 ?_Trace_ppl_function at Concurrency@@YAXAEBU_GUID@@EW4ConcRT_EventType at 1@@Z(ptr long long) Concurrency__Trace_ppl_function
 @ cdecl -arch=arm ?_TryAcquire at _NonReentrantBlockingLock@details at Concurrency@@QAA_NXZ(ptr) _ReentrantBlockingLock__TryAcquire
diff --git a/dlls/msvcr120_app/msvcr120_app.spec b/dlls/msvcr120_app/msvcr120_app.spec
index c513f52..3e9afe1 100644
--- a/dlls/msvcr120_app/msvcr120_app.spec
+++ b/dlls/msvcr120_app/msvcr120_app.spec
@@ -635,7 +635,7 @@
 @ stub -arch=arm ?_Tidy at exception@std@@AAAXXZ
 @ stub -arch=i386 ?_Tidy at exception@std@@AAEXXZ
 @ stub -arch=win64 ?_Tidy at exception@std@@AEAAXXZ
-@ stub ?_Trace_agents at Concurrency@@YAXW4Agents_EventType at 1@_JZZ
+@ varargs ?_Trace_agents at Concurrency@@YAXW4Agents_EventType at 1@_JZZ(long int64) msvcr120.?_Trace_agents at Concurrency@@YAXW4Agents_EventType at 1@_JZZ
 @ cdecl -arch=win32 ?_Trace_ppl_function at Concurrency@@YAXABU_GUID@@EW4ConcRT_EventType at 1@@Z(ptr long long) msvcr120.?_Trace_ppl_function at Concurrency@@YAXABU_GUID@@EW4ConcRT_EventType at 1@@Z
 @ cdecl -arch=win64 ?_Trace_ppl_function at Concurrency@@YAXAEBU_GUID@@EW4ConcRT_EventType at 1@@Z(ptr long long) msvcr120.?_Trace_ppl_function at Concurrency@@YAXAEBU_GUID@@EW4ConcRT_EventType at 1@@Z
 @ cdecl -arch=arm ?_TryAcquire at _NonReentrantBlockingLock@details at Concurrency@@QAA_NXZ(ptr) msvcr120.?_TryAcquire at _NonReentrantBlockingLock@details at Concurrency@@QAA_NXZ
diff --git a/dlls/msvcrt/misc.c b/dlls/msvcrt/misc.c
index 8f18aa4..c197d69 100644
--- a/dlls/msvcrt/misc.c
+++ b/dlls/msvcrt/misc.c
@@ -561,6 +561,12 @@ LONG CDECL MSVCRT__crtUnhandledException(EXCEPTION_POINTERS *ep)
     SetUnhandledExceptionFilter(NULL);
     return UnhandledExceptionFilter(ep);
 }
+
+/* ?_Trace_agents at Concurrency@@YAXW4Agents_EventType at 1@_JZZ */
+void WINAPIV _Trace_agents(/*enum Concurrency::Agents_EventType*/int type, __int64 id, ...)
+{
+    FIXME("(%d %s)\n", type, wine_dbgstr_longlong(id));
+}
 #endif
 
 #if _MSVCR_VER>=120




More information about the wine-cvs mailing list