From 5979e2e4630ce4ea8e7b2731909dbf4089e1499a Mon Sep 17 00:00:00 2001 From: Eric Kohl Date: Sun, 24 Aug 2008 23:07:39 +0000 Subject: [PATCH] Add "Boot Acceptance Application for Registry". Such a big name for such a small utility ;) svn path=/trunk/; revision=35615 --- reactos/base/system/bootok/bootok.c | 31 ++++++++++++++++++++++ reactos/base/system/bootok/bootok.rbuild | 12 +++++++++ reactos/base/system/bootok/bootok.rc | 4 +++ reactos/base/system/system.rbuild | 3 +++ reactos/boot/bootdata/packages/reactos.dff | 1 + 5 files changed, 51 insertions(+) create mode 100644 reactos/base/system/bootok/bootok.c create mode 100644 reactos/base/system/bootok/bootok.rbuild create mode 100644 reactos/base/system/bootok/bootok.rc diff --git a/reactos/base/system/bootok/bootok.c b/reactos/base/system/bootok/bootok.c new file mode 100644 index 00000000000..f9aec2c9fe3 --- /dev/null +++ b/reactos/base/system/bootok/bootok.c @@ -0,0 +1,31 @@ +/* + * PROJECT: ReactOS Kernel + * LICENSE: GPL - See COPYING in the top level directory + * FILE: base/system/bootok/bootok.c + * PURPOSE: Boot Acceptance Application + * PROGRAMMERS: Eric Kohl + */ + +/* INCLUDES *****************************************************************/ + +#include +#include +#define WIN32_NO_STATUS +#include + +/* FUNCTIONS ****************************************************************/ + +int +_tmain(int argc, TCHAR *argv[]) +{ + UNREFERENCED_PARAMETER(argc); + UNREFERENCED_PARAMETER(argv); + + if (!NotifyBootConfigStatus(TRUE)) + { + _tprintf(_T("NotifyBootConfigStatus failed! (Error: %lu)\n"), + GetLastError()); + } + + return 0; +} diff --git a/reactos/base/system/bootok/bootok.rbuild b/reactos/base/system/bootok/bootok.rbuild new file mode 100644 index 00000000000..317b31d6112 --- /dev/null +++ b/reactos/base/system/bootok/bootok.rbuild @@ -0,0 +1,12 @@ + + + + . + 0x600 + 0x0500 + 0x0600 + kernel32 + advapi32 + bootok.c + bootok.rc + diff --git a/reactos/base/system/bootok/bootok.rc b/reactos/base/system/bootok/bootok.rc new file mode 100644 index 00000000000..c86155f6bc9 --- /dev/null +++ b/reactos/base/system/bootok/bootok.rc @@ -0,0 +1,4 @@ +#define REACTOS_STR_FILE_DESCRIPTION "Boot Acceptance Application for Registry\0" +#define REACTOS_STR_INTERNAL_NAME "bootok\0" +#define REACTOS_STR_ORIGINAL_FILENAME "bootok.exe\0" +#include diff --git a/reactos/base/system/system.rbuild b/reactos/base/system/system.rbuild index c70e061d76c..61a76f48c95 100644 --- a/reactos/base/system/system.rbuild +++ b/reactos/base/system/system.rbuild @@ -4,6 +4,9 @@ + + + diff --git a/reactos/boot/bootdata/packages/reactos.dff b/reactos/boot/bootdata/packages/reactos.dff index f312f8aedee..a82a425db55 100644 --- a/reactos/boot/bootdata/packages/reactos.dff +++ b/reactos/boot/bootdata/packages/reactos.dff @@ -92,6 +92,7 @@ base\shell\explorer\notifyhook\notifyhook.dll 1 base\shell\explorer-new\explorer_new.exe 4 optional base\system\autochk\autochk.exe 1 +base\system\bootok\bootok.exe 1 base\system\format\format.exe 1 base\system\lsass\lsass.exe 1 base\system\msiexec\msiexec.exe 1