Initialize the status block before sending the IRP

svn path=/trunk/; revision=21906
This commit is contained in:
Hervé Poussineau
2006-05-15 10:55:51 +00:00
parent ed01b8a86a
commit 36ed39b2b9
+4
View File
@@ -51,6 +51,10 @@ GetRootHubPointer(
return STATUS_INSUFFICIENT_RESOURCES;
}
/* Initialize the status block before sending the IRP */
IoStatus.Status = STATUS_NOT_SUPPORTED;
IoStatus.Information = 0;
Status = IoCallDriver(Pdo, Irp);
if (Status == STATUS_PENDING)