Changeset 10265 in vbox for trunk/src/VBox/HostDrivers/Support/win
- Timestamp:
- Jul 5, 2008 12:47:50 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 32871
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/Support/win/SUPDrv-win.cpp
r10263 r10265 430 430 pStack->Parameters.DeviceIoControl.OutputBufferLength, pSession)); 431 431 432 if (pSession) 433 { 434 /* Verify that it's a buffered CTL. */ 435 if ((pStack->Parameters.DeviceIoControl.IoControlCode & 0x3) == METHOD_BUFFERED) 432 /** @todo IDC on NT: figure when to create the session and that stuff... */ 433 434 /* Verify that it's a buffered CTL. */ 435 if ((pStack->Parameters.DeviceIoControl.IoControlCode & 0x3) == METHOD_BUFFERED) 436 { 437 /* Verify the pDevExt in the session. */ 438 if ( ( !pSession 439 && pStack->Parameters.DeviceIoControl.IoControlCode == SUPDRV_IDC_REQ_CONNECT) 440 || ( VALID_PTR(pSession) 441 && pSession->pDevExt == pDevExt)) 436 442 { 437 443 /* Verify that the size in the request header is correct. */ … … 465 471 } 466 472 else 467 {468 dprintf(("VBoxDrvNtInternalDeviceControl: not buffered request (%#x) - not supported\n",469 pStack->Parameters.DeviceIoControl.IoControlCode));470 473 rcNt = STATUS_NOT_SUPPORTED; 471 } 474 } 475 else 476 { 477 dprintf(("VBoxDrvNtInternalDeviceControl: not buffered request (%#x) - not supported\n", 478 pStack->Parameters.DeviceIoControl.IoControlCode)); 479 rcNt = STATUS_NOT_SUPPORTED; 472 480 } 473 481
Note:
See TracChangeset
for help on using the changeset viewer.