mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
[NTVDM]
Drivers that have no I/O status routine should be treated as "ready". svn path=/trunk/; revision=67783
This commit is contained in:
@@ -944,7 +944,7 @@ BOOLEAN DosDeviceIoControl(WORD FileHandle, BYTE ControlCode, DWORD Buffer, PWOR
|
||||
{
|
||||
/* Device*/
|
||||
|
||||
if (Node->InputStatusRoutine && Node->InputStatusRoutine(Node))
|
||||
if (!Node->InputStatusRoutine || Node->InputStatusRoutine(Node))
|
||||
{
|
||||
/* Set the length to 0xFF to mark that it's ready */
|
||||
*Length = 0xFF;
|
||||
@@ -982,7 +982,7 @@ BOOLEAN DosDeviceIoControl(WORD FileHandle, BYTE ControlCode, DWORD Buffer, PWOR
|
||||
{
|
||||
/* Device*/
|
||||
|
||||
if (Node->OutputStatusRoutine && Node->OutputStatusRoutine(Node))
|
||||
if (!Node->OutputStatusRoutine || Node->OutputStatusRoutine(Node))
|
||||
{
|
||||
/* Set the length to 0xFF to mark that it's ready */
|
||||
*Length = 0xFF;
|
||||
|
||||
Reference in New Issue
Block a user