mirror of
https://github.com/reactos/reactos.git
synced 2025-01-01 03:54:02 +00:00
Add "Boot Acceptance Application for Registry". Such a big name for such a small utility ;)
svn path=/trunk/; revision=35615
This commit is contained in:
parent
3a7a8f1f08
commit
5979e2e463
5 changed files with 51 additions and 0 deletions
31
reactos/base/system/bootok/bootok.c
Normal file
31
reactos/base/system/bootok/bootok.c
Normal file
|
@ -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 <stdio.h>
|
||||
#include <tchar.h>
|
||||
#define WIN32_NO_STATUS
|
||||
#include <windows.h>
|
||||
|
||||
/* 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;
|
||||
}
|
12
reactos/base/system/bootok/bootok.rbuild
Normal file
12
reactos/base/system/bootok/bootok.rbuild
Normal file
|
@ -0,0 +1,12 @@
|
|||
<?xml version="1.0"?>
|
||||
<!DOCTYPE module SYSTEM "../../../tools/rbuild/project.dtd">
|
||||
<module name="bootok" type="win32cui" installbase="system32" installname="bootok.exe" unicode="yes">
|
||||
<include base="bootok">.</include>
|
||||
<define name="WINVER">0x600</define>
|
||||
<define name="_WIN32_IE">0x0500</define>
|
||||
<define name="_WIN32_WINNT">0x0600</define>
|
||||
<library>kernel32</library>
|
||||
<library>advapi32</library>
|
||||
<file>bootok.c</file>
|
||||
<file>bootok.rc</file>
|
||||
</module>
|
4
reactos/base/system/bootok/bootok.rc
Normal file
4
reactos/base/system/bootok/bootok.rc
Normal file
|
@ -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 <reactos/version.rc>
|
|
@ -4,6 +4,9 @@
|
|||
<directory name="autochk">
|
||||
<xi:include href="autochk/autochk.rbuild" />
|
||||
</directory>
|
||||
<directory name="bootok">
|
||||
<xi:include href="bootok/bootok.rbuild" />
|
||||
</directory>
|
||||
<directory name="expand">
|
||||
<xi:include href="expand/expand.rbuild" />
|
||||
</directory>
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue