- Correctly set Irp->IoStatus.Information when handling IOCTL_BOOTVID_INITIALIZE...
[reactos.git] / reactos / drivers / dd / bootvid / bootvid.c
index fe66b5e..16bbd04 100644 (file)
@@ -18,7 +18,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
  *
- * $Id: bootvid.c,v 1.11 2004/05/22 12:23:12 navaraf Exp $
+ * $Id: bootvid.c,v 1.12 2004/06/08 19:31:10 navaraf Exp $
  */
 
 /* INCLUDES ******************************************************************/
@@ -605,6 +605,7 @@ VidDispatch(IN PDEVICE_OBJECT DeviceObject, IN PIRP Irp)
                FunctionTable = (NTBOOTVID_FUNCTION_TABLE *)
                   Irp->AssociatedIrp.SystemBuffer;
                FunctionTable->ResetDisplay = VidResetDisplay;
+               Irp->IoStatus.Information = sizeof(NTBOOTVID_FUNCTION_TABLE);
                break;
 
             case IOCTL_BOOTVID_CLEANUP: