[PATCH 05/14] avrt: Add stub for AvSetMmThreadPriority

Maarten Lankhorst m.b.lankhorst at gmail.com
Thu Feb 4 06:27:09 CST 2010


---
 dlls/avrt/avrt.spec |    2 +-
 dlls/avrt/main.c    |    7 +++++++
 2 files changed, 8 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..67378dd 100644
--- a/dlls/avrt/main.c
+++ b/dlls/avrt/main.c
@@ -90,3 +90,10 @@ 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;
+}
+
-- 
1.6.5


--------------020904060807030005010104--



More information about the wine-patches mailing list