Changeset 18682 in vbox for trunk/src/VBox/Additions/WINNT
- Timestamp:
- Apr 3, 2009 12:02:30 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/MouseFilter/VBoxMouse.cpp
r18075 r18682 160 160 /* Atomically set the flag. */ 161 161 InterlockedExchange (&g_ctx.fVBGLInited, TRUE); 162 dprintf(("VBoxMouse::vboxDevice Started: guest library initialization OK\n"));162 dprintf(("VBoxMouse::vboxDeviceAdded: Guest library initialization OK\n")); 163 163 } 164 164 else 165 165 { 166 166 InterlockedExchange (&g_ctx.fVBGLInitFailed, TRUE); 167 dprintf(("VBoxMouse::vboxDevice Started: guest library initialization failed\n"));167 dprintf(("VBoxMouse::vboxDeviceAdded: Guest library initialization failed\n")); 168 168 } 169 169 } … … 191 191 CM_RESOURCE_LIST *pResourceList = (CM_RESOURCE_LIST *)&Property[0]; 192 192 193 dprintf((" Configuration: descriptors %d\n",193 dprintf(("VBoxMouse::vboxDeviceAdded: Configuration: descriptors %d\n", 194 194 pResourceList->Count)); 195 195 … … 199 199 CM_FULL_RESOURCE_DESCRIPTOR *pFullDescriptor = &pResourceList->List[iDescriptor]; 200 200 201 dprintf((" Descriptor %d: InterfaceType %d, BusType %d, list ver %d, list rev %d, count %d\n",201 dprintf(("VBoxMouse::vboxDeviceAdded: Descriptor %d: InterfaceType %d, BusType %d, list ver %d, list rev %d, count %d\n", 202 202 iDescriptor, 203 203 pFullDescriptor->InterfaceType, … … 212 212 CM_PARTIAL_RESOURCE_DESCRIPTOR *pPartialDescriptor = &pFullDescriptor->PartialResourceList.PartialDescriptors[iPartialDescriptor]; 213 213 214 dprintf((" 214 dprintf(("VBoxMouse::vboxDeviceAdded: PartialDescriptor %d: type %d, ShareDisposition %d, Flags 0x%04X, Start 0x%llx, length 0x%x\n", 215 215 iPartialDescriptor, 216 216 pPartialDescriptor->Type, pPartialDescriptor->ShareDisposition, pPartialDescriptor->Flags, … … 427 427 device->Flags &= ~DO_DEVICE_INITIALIZING; 428 428 429 dprintf((" DevExt = %p, returning from AddDevice with rc = 0x%x\n", devExt, status));429 dprintf(("VBoxMouse::AddDevice: DevExt = %p, returning from AddDevice with rc = 0x%x\n", devExt, status)); 430 430 return status; 431 431 } … … 491 491 switch (irpStack->MajorFunction) { 492 492 case IRP_MJ_CREATE: 493 dprintf((" IRP_MJ_CREATE\n"));493 dprintf(("VBoxMouse::CreateClose: IRP_MJ_CREATE\n")); 494 494 if (NULL == devExt->UpperConnectData.ClassService) { 495 495 // 496 496 // No Connection yet. How can we be enabled? 497 497 // 498 dprintf(("VBoxMouse: Not connected, returning STATUS_INVALID_DEVICE_STATE\n"));498 dprintf(("VBoxMouse::CreateClose: Not connected, returning STATUS_INVALID_DEVICE_STATE\n")); 499 499 status = STATUS_INVALID_DEVICE_STATE; 500 500 } … … 514 514 case IRP_MJ_CLOSE: 515 515 516 dprintf((" IRP_MJ_CLOSE\n"));516 dprintf(("VBoxMouse::CreateClose: IRP_MJ_CLOSE\n")); 517 517 ASSERT(0 < devExt->EnableCount); 518 518 … … 801 801 case IRP_MN_START_DEVICE: { 802 802 803 dprintf((" IRP_MN_START_DEVICE\n"));803 dprintf(("VBoxMouse_PnP: IRP_MN_START_DEVICE\n")); 804 804 805 805 // … … 833 833 } 834 834 835 dprintf((" status: %x, irp status: %x\n", Irp->IoStatus.Status));835 dprintf(("VBoxMouse_PnP: Status: %x, irp status: %x\n", Irp->IoStatus.Status)); 836 836 837 837 if (NT_SUCCESS(status) && NT_SUCCESS(Irp->IoStatus.Status)) { … … 854 854 case IRP_MN_SURPRISE_REMOVAL: 855 855 856 dprintf((" IRP_MN_SURPRISE_REMOVAL\n"));856 dprintf(("VBoxMouse_PnP: IRP_MN_SURPRISE_REMOVAL\n")); 857 857 858 858 // … … 869 869 case IRP_MN_REMOVE_DEVICE: 870 870 { 871 dprintf((" IRP_MN_REMOVE_DEVICE\n"));871 dprintf(("VBoxMouse_PnP: IRP_MN_REMOVE_DEVICE\n")); 872 872 // VBOX start 873 873 vboxDeviceRemoved (devExt);
Note:
See TracChangeset
for help on using the changeset viewer.