https://git.reactos.org/?p=reactos.git;a=commitdiff;h=64a72787f21001dc5fee5ed0e7996dfb2b3a8164

commit 64a72787f21001dc5fee5ed0e7996dfb2b3a8164
Author:     Serge Gautherie <[email protected]>
AuthorDate: Tue Jul 6 11:32:23 2021 +0200
Commit:     GitHub <[email protected]>
CommitDate: Tue Jul 6 12:32:23 2021 +0300

    [VIDEOPRT] Fix 'Irp->IoStatus.Information' copypasta (#3777)
    
    Addendum to 25eae4b (r54237).
    CORE-17651
---
 win32ss/drivers/videoprt/resource.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/win32ss/drivers/videoprt/resource.c 
b/win32ss/drivers/videoprt/resource.c
index f6ac53c6842..1504d34adf2 100644
--- a/win32ss/drivers/videoprt/resource.c
+++ b/win32ss/drivers/videoprt/resource.c
@@ -97,7 +97,7 @@ IntVideoPortFilterResourceRequirements(
     if (!AccessRangeCount)
     {
         /* No legacy resources to report */
-        return Irp->IoStatus.Information;
+        return Irp->IoStatus.Status;
     }
 
     /* OK, we've got the access ranges now. Let's set up the resource 
requirements list */

Reply via email to