/* Notify the hal we will acquire the display. */
HalAcquireDisplayOwnership(InbvResetDisplayParameters);
- Status = NtDeviceIoControlFile(BootVidDevice,
+ Status = ZwDeviceIoControlFile(BootVidDevice,
NULL,
NULL,
NULL,
}
else
{
- Status = NtDeviceIoControlFile(BootVidDevice,
+ Status = ZwDeviceIoControlFile(BootVidDevice,
NULL,
NULL,
NULL,
BootVidDriverInstalled = FALSE;
/* Notify the hal we have released the display. */
HalReleaseDisplayOwnership();
-
- NtClose(BootVidDevice);
- BootVidDevice = NULL;
}
+
+ ZwClose(BootVidDevice);
+ BootVidDevice = NULL;
}