mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 00:45:24 +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:
parent
37811969c0
commit
199d9183e6
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue