Stefan Leichter : hal: Added stub for ExAcquireFastMutex.

Alexandre Julliard julliard at winehq.org
Wed Sep 22 14:47:54 CDT 2010


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

Author: Stefan Leichter <Stefan.Leichter at camline.com>
Date:   Wed Sep 22 18:04:53 2010 +0200

hal: Added stub for ExAcquireFastMutex.

---

 dlls/hal/hal.c    |   11 +++++++++++
 dlls/hal/hal.spec |    2 +-
 2 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/dlls/hal/hal.c b/dlls/hal/hal.c
index 5b38426..3353d04 100644
--- a/dlls/hal/hal.c
+++ b/dlls/hal/hal.c
@@ -74,6 +74,17 @@ VOID WINAPI ExReleaseFastMutex(PFAST_MUTEX FastMutex)
 }
 
 #ifdef DEFINE_FASTCALL1_ENTRYPOINT
+DEFINE_FASTCALL1_ENTRYPOINT( ExTryToAcquireFastMutex )
+BOOLEAN WINAPI __regs_ExTryToAcquireFastMutex(PFAST_MUTEX FastMutex)
+#else
+BOOLEAN WINAPI ExTryToAcquireFastMutex(PFAST_MUTEX FastMutex)
+#endif
+{
+    FIXME("(%p) stub\n", FastMutex);
+    return TRUE;
+}
+
+#ifdef DEFINE_FASTCALL1_ENTRYPOINT
 DEFINE_FASTCALL1_ENTRYPOINT( KfAcquireSpinLock )
 KIRQL WINAPI __regs_KfAcquireSpinLock(PKSPIN_LOCK SpinLock)
 #else
diff --git a/dlls/hal/hal.spec b/dlls/hal/hal.spec
index 30de722..2a8c155 100644
--- a/dlls/hal/hal.spec
+++ b/dlls/hal/hal.spec
@@ -1,6 +1,6 @@
 @ stdcall -norelay ExAcquireFastMutex(ptr)
 @ stdcall -norelay ExReleaseFastMutex(ptr)
-@ stub ExTryToAcquireFastMutex
+@ stdcall -norelay ExTryToAcquireFastMutex(ptr)
 @ stub HalClearSoftwareInterrupt
 @ stub HalRequestSoftwareInterrupt
 @ stub HalSystemVectorDispatchEntry




More information about the wine-cvs mailing list