mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 09:34:43 +00:00
[USETUP] NT RTL thread functions use 'NULL' (instead of 'INVALID_HANDLE_VALUE' which is a Win32 thing) for thread handles that are "invalid" / uninitialized.
svn path=/branches/setup_improvements/; revision=75519
This commit is contained in:
parent
397faf62bf
commit
74be659c8b
1 changed files with 3 additions and 3 deletions
|
@ -938,10 +938,10 @@ SetupStartPage(PINPUT_RECORD Ir)
|
|||
RequiredPartitionDiskSpace = (ULONG)IntValue;
|
||||
|
||||
/* Start the PnP thread */
|
||||
if (hPnpThread != INVALID_HANDLE_VALUE)
|
||||
if (hPnpThread != NULL)
|
||||
{
|
||||
NtResumeThread(hPnpThread, NULL);
|
||||
hPnpThread = INVALID_HANDLE_VALUE;
|
||||
hPnpThread = NULL;
|
||||
}
|
||||
|
||||
CheckUnattendedSetup();
|
||||
|
@ -5184,7 +5184,7 @@ RunUSetup(VOID)
|
|||
&hPnpThread,
|
||||
NULL);
|
||||
if (!NT_SUCCESS(Status))
|
||||
hPnpThread = INVALID_HANDLE_VALUE;
|
||||
hPnpThread = NULL;
|
||||
|
||||
if (!CONSOLE_Init())
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue