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