Changeset 30427 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Jun 24, 2010 12:28:50 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63062
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/MouseFilter/VBoxMouse.cpp
r28800 r30427 471 471 // to be set. 472 472 // 473 KeSetEvent(event, 0, FALSE); 473 // If the lower driver didn't return STATUS_PENDING, we don't need to 474 // set the event because we won't be waiting on it. 475 // This optimization avoids grabbing the dispatcher lock and improves perf. 476 // 477 if (Irp->PendingReturned == TRUE) 478 KeSetEvent(event, 0, FALSE); 474 479 475 480 return STATUS_MORE_PROCESSING_REQUIRED; … … 841 846 Executive, // Waiting for reason of a driver 842 847 KernelMode, // Waiting in kernel mode 843 FALSE, // No al lert848 FALSE, // No alert 844 849 NULL); // No timeout 850 851 // Transfer the status from the IOSB 852 status = Irp->IoStatus.Status; 845 853 } 846 854 847 855 dprintf(("VBoxMouse_PnP: Status: %x, irp status: %x\n", Irp->IoStatus.Status)); 848 856 849 if (NT_SUCCESS(status) && NT_SUCCESS(Irp->IoStatus.Status)) {857 if (NT_SUCCESS(status)) { 850 858 devExt->Started = TRUE; 851 859 devExt->Removed = FALSE; … … 858 866 // 859 867 Irp->IoStatus.Status = status; 860 Irp->IoStatus.Information = 0;861 868 IoCompleteRequest(Irp, IO_NO_INCREMENT); 862 869
Note:
See TracChangeset
for help on using the changeset viewer.