repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
acpica.library: Add AcpiScanTables() Hook based helper
[AROS.git]
/
arch
/
all-mingw32
/
bootstrap
/
ui.c
blob
dad6fc069218f5b93f95adab7b2ff0bab85b4fe5
1
#include <stdarg.h>
2
#include <stdio.h>
3
#include <windows.h>
4
5
#include
"bootstrap.h"
6
#include
"unicode.h"
7
8
void
DisplayError
(
char
*
fmt
, ...)
9
{
10
va_list
args
;
11
LPTSTR str
;
12
13
va_start
(
args
,
fmt
);
14
vsnprintf
(
buf
,
sizeof
(
buf
),
fmt
,
args
);
15
va_end
(
args
);
16
17
str
=
StrConvert
(
buf
);
18
MessageBox
(
NULL
,
str
,
TEXT
(
"AROS bootstrap error"
),
MB_OK
|
MB_ICONSTOP
);
19
StrFree
(
str
);
20
}