Author: hpoussin
Date: Wed Oct 11 22:25:22 2006
New Revision: 24488
URL:
http://svn.reactos.org/svn/reactos?rev=24488&view=rev
Log:
Don't try to signal init event, as it has been removed in r24413/24414
Modified:
trunk/reactos/base/setup/usetup/usetup.c
Modified: trunk/reactos/base/setup/usetup/usetup.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/setup/usetup/usetup.c…
==============================================================================
--- trunk/reactos/base/setup/usetup/usetup.c (original)
+++ trunk/reactos/base/setup/usetup/usetup.c Wed Oct 11 22:25:22 2006
@@ -3475,49 +3475,11 @@
static VOID
-SignalInitEvent()
-{
- NTSTATUS Status;
- OBJECT_ATTRIBUTES ObjectAttributes;
- UNICODE_STRING UnicodeString = RTL_CONSTANT_STRING(L"\\ReactOSInitDone");
- HANDLE ReactOSInitEvent;
-
- InitializeObjectAttributes(&ObjectAttributes,
- &UnicodeString,
- 0,
- 0,
- NULL);
- Status = NtOpenEvent(&ReactOSInitEvent,
- EVENT_ALL_ACCESS,
- &ObjectAttributes);
- if (NT_SUCCESS(Status))
- {
- LARGE_INTEGER Timeout;
- /* This will cause the boot screen image to go away (if displayed) */
- NtPulseEvent(ReactOSInitEvent, NULL);
-
- /* Wait for the display mode to be changed (if in graphics mode) */
- Timeout.QuadPart = -50000000LL; /* 5 second timeout */
- NtWaitForSingleObject(ReactOSInitEvent, FALSE, &Timeout);
-
- NtClose(ReactOSInitEvent);
- }
- else
- {
- /* We don't really care if this fails */
- DPRINT1("USETUP: Failed to open ReactOS init notification event\n");
- }
-}
-
-
-static VOID
RunUSetup(VOID)
{
INPUT_RECORD Ir;
PAGE_NUMBER Page;
BOOL ret;
-
- SignalInitEvent();
ret = AllocConsole();
if (!ret)