Christian Gmeiner : setupapi: Added AssertFail stub.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Nov 29 07:24:22 CST 2006


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

Author: Christian Gmeiner <christian.gmeiner at students.fhv.at>
Date:   Mon Nov 27 14:02:53 2006 +0100

setupapi: Added AssertFail stub.

---

 dlls/setupapi/misc.c        |   16 ++++++++++++++++
 dlls/setupapi/setupapi.spec |    2 +-
 2 files changed, 17 insertions(+), 1 deletions(-)

diff --git a/dlls/setupapi/misc.c b/dlls/setupapi/misc.c
index 61b0fec..d7febe5 100644
--- a/dlls/setupapi/misc.c
+++ b/dlls/setupapi/misc.c
@@ -861,3 +861,19 @@ DWORD WINAPI CMP_WaitNoPendingInstallEve
     FIXME("%d\n", dwTimeout);
     return WAIT_OBJECT_0;
 }
+
+/***********************************************************************
+ *              AssertFail  (SETUPAPI.@)
+ *
+ * Shows an assert fail error messagebox
+ *
+ * PARAMS
+ *   lpFile [I]         file where assert failed
+ *   uLine [I]          line number in file
+ *   lpMessage [I]      assert message
+ *
+ */
+void WINAPI AssertFail(LPCSTR lpFile, UINT uLine, LPCSTR lpMessage)
+{
+    FIXME("%s %u %s\n", lpFile, uLine, lpMessage);
+}
diff --git a/dlls/setupapi/setupapi.spec b/dlls/setupapi/setupapi.spec
index f5e63fb..2c6672d 100644
--- a/dlls/setupapi/setupapi.spec
+++ b/dlls/setupapi/setupapi.spec
@@ -2,7 +2,7 @@
 @ stub AddMiniIconToList
 @ stub AddTagToGroupOrderListEntry
 @ stub AppendStringToMultiSz
-@ stub AssertFail
+@ stdcall AssertFail(str long str)
 @ stub CMP_Init_Detection
 @ stub CMP_RegisterNotification
 @ stub CMP_Report_LogOn




More information about the wine-cvs mailing list