From 3d11b8650c4392043b0d84850011b1c19b75d589 Mon Sep 17 00:00:00 2001 From: Christian Gmeiner Date: Mon, 27 Nov 2006 14:02:53 +0100 Subject: [PATCH] setupapi: Added AssertFail stub. --- dlls/setupapi/misc.c | 16 ++++++++++++++++ dlls/setupapi/setupapi.spec | 2 +- 2 files changed, 17 insertions(+), 1 deletion(-) diff --git a/dlls/setupapi/misc.c b/dlls/setupapi/misc.c index 61b0fec5a2b..d7febe5573d 100644 --- a/dlls/setupapi/misc.c +++ b/dlls/setupapi/misc.c @@ -861,3 +861,19 @@ DWORD WINAPI CMP_WaitNoPendingInstallEvents( DWORD dwTimeout ) 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 f5e63fb72df..2c6672dce7c 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