Maarten Lankhorst : avrt: Add stub for AvSetMmThreadPriority.

Alexandre Julliard julliard at winehq.org
Fri Feb 5 08:42:30 CST 2010


Module: wine
Branch: master
Commit: 1879912939d2fa5c7ddc896597f9c5d8387f6ea9
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=1879912939d2fa5c7ddc896597f9c5d8387f6ea9

Author: Maarten Lankhorst <m.b.lankhorst at gmail.com>
Date:   Thu Feb  4 13:27:09 2010 +0100

avrt: Add stub for AvSetMmThreadPriority.

---

 dlls/avrt/avrt.spec |    2 +-
 dlls/avrt/main.c    |    6 ++++++
 2 files changed, 7 insertions(+), 1 deletions(-)

diff --git a/dlls/avrt/avrt.spec b/dlls/avrt/avrt.spec
index a253d9a..640a12a 100644
--- a/dlls/avrt/avrt.spec
+++ b/dlls/avrt/avrt.spec
@@ -11,4 +11,4 @@
 @ stub AvSetMmMaxThreadCharacteristicsW
 @ stdcall AvSetMmThreadCharacteristicsA(str ptr)
 @ stdcall AvSetMmThreadCharacteristicsW(wstr ptr)
-@ stub AvSetMmThreadPriority
+@ stdcall AvSetMmThreadPriority(ptr long)
diff --git a/dlls/avrt/main.c b/dlls/avrt/main.c
index 4552c6f..111ffcd 100644
--- a/dlls/avrt/main.c
+++ b/dlls/avrt/main.c
@@ -90,3 +90,9 @@ BOOL WINAPI AvRevertMmThreadCharacteristics(HANDLE AvrtHandle)
     FIXME("(%p): stub\n", AvrtHandle);
     return 1;
 }
+
+BOOL WINAPI AvSetMmThreadPriority(HANDLE AvrtHandle, AVRT_PRIORITY prio)
+{
+    FIXME("(%p)->(%u) stub\n", AvrtHandle, prio);
+    return 1;
+}




More information about the wine-cvs mailing list