Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / base / system / bootok / bootok.c
diff --git a/base/system/bootok/bootok.c b/base/system/bootok/bootok.c
new file mode 100644 (file)
index 0000000..9477f1b
--- /dev/null
@@ -0,0 +1,32 @@
+/*
+ * 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 <tchar.h>
+#define WIN32_NO_STATUS
+#include <windef.h>
+#include <winbase.h>
+#include <winsvc.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;
+}