acpica.library: Add AcpiScanTables() Hook based helper
[AROS.git] / arch / all-mingw32 / bootstrap / ui.c
blobdad6fc069218f5b93f95adab7b2ff0bab85b4fe5
1 #include <stdarg.h>
2 #include <stdio.h>
3 #include <windows.h>
5 #include "bootstrap.h"
6 #include "unicode.h"
8 void DisplayError(char *fmt, ...)
10 va_list args;
11 LPTSTR str;
13 va_start(args, fmt);
14 vsnprintf(buf, sizeof(buf), fmt, args);
15 va_end(args);
17 str = StrConvert(buf);
18 MessageBox(NULL, str, TEXT("AROS bootstrap error"), MB_OK|MB_ICONSTOP);
19 StrFree(str);