ReactOS
0.4.16-dev-340-g0540c21
bootok.c
Go to the documentation of this file.
1
/*
2
* PROJECT: ReactOS Kernel
3
* LICENSE: GPL - See COPYING in the top level directory
4
* FILE: base/system/bootok/bootok.c
5
* PURPOSE: Boot Acceptance Application
6
* PROGRAMMERS: Eric Kohl
7
*/
8
9
/* INCLUDES *****************************************************************/
10
11
#include <tchar.h>
12
#define WIN32_NO_STATUS
13
#include <
windef.h
>
14
#include <
winbase.h
>
15
#include <
winsvc.h
>
16
17
/* FUNCTIONS ****************************************************************/
18
19
int
20
_tmain
(
int
argc
,
TCHAR
*
argv
[])
21
{
22
UNREFERENCED_PARAMETER
(
argc
);
23
UNREFERENCED_PARAMETER
(
argv
);
24
25
if
(!
NotifyBootConfigStatus
(
TRUE
))
26
{
27
_tprintf
(
_T
(
"NotifyBootConfigStatus failed! (Error: %lu)\n"
),
28
GetLastError
());
29
}
30
31
return
0;
32
}
argc
static int argc
Definition:
ServiceArgs.c:12
TRUE
#define TRUE
Definition:
types.h:120
_tmain
#define _tmain
Definition:
tchar.h:497
_tprintf
#define _tprintf
Definition:
tchar.h:506
argv
#define argv
Definition:
mplay32.c:18
UNREFERENCED_PARAMETER
#define UNREFERENCED_PARAMETER(P)
Definition:
ntbasedef.h:325
NotifyBootConfigStatus
BOOL WINAPI NotifyBootConfigStatus(BOOL BootAcceptable)
Definition:
scm.c:3055
_T
#define _T(x)
Definition:
vfdio.h:22
winbase.h
GetLastError
DWORD WINAPI GetLastError(void)
Definition:
except.c:1042
windef.h
winsvc.h
TCHAR
char TCHAR
Definition:
xmlstorage.h:189
base
system
bootok
bootok.c
Generated on Thu Dec 12 2024 06:02:27 for ReactOS by
1.9.6