VirtualBox

Changeset 18682 in vbox for trunk/src


Ignore:
Timestamp:
Apr 3, 2009 12:02:30 PM (16 years ago)
Author:
vboxsync
Message:

Additions/win: Mouse filter logging.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/MouseFilter/VBoxMouse.cpp

    r18075 r18682  
    160160                /* Atomically set the flag. */
    161161                InterlockedExchange (&g_ctx.fVBGLInited, TRUE);
    162                 dprintf(("VBoxMouse::vboxDeviceStarted: guest library initialization OK\n"));
     162                dprintf(("VBoxMouse::vboxDeviceAdded: Guest library initialization OK\n"));
    163163            }
    164164            else
    165165            {
    166166                InterlockedExchange (&g_ctx.fVBGLInitFailed, TRUE);
    167                 dprintf(("VBoxMouse::vboxDeviceStarted: guest library initialization failed\n"));
     167                dprintf(("VBoxMouse::vboxDeviceAdded: Guest library initialization failed\n"));
    168168            }
    169169        }
     
    191191            CM_RESOURCE_LIST *pResourceList = (CM_RESOURCE_LIST *)&Property[0];
    192192
    193             dprintf(("Configuration: descriptors %d\n",
     193            dprintf(("VBoxMouse::vboxDeviceAdded: Configuration: descriptors %d\n",
    194194                      pResourceList->Count));
    195195
     
    199199                CM_FULL_RESOURCE_DESCRIPTOR *pFullDescriptor = &pResourceList->List[iDescriptor];
    200200
    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",
    202202                         iDescriptor,
    203203                         pFullDescriptor->InterfaceType,
     
    212212                    CM_PARTIAL_RESOURCE_DESCRIPTOR *pPartialDescriptor = &pFullDescriptor->PartialResourceList.PartialDescriptors[iPartialDescriptor];
    213213
    214                     dprintf(("  PartialDescriptor %d: type %d, ShareDisposition %d, Flags 0x%04X, Start 0x%llx, length 0x%x\n",
     214                    dprintf(("VBoxMouse::vboxDeviceAdded: PartialDescriptor %d: type %d, ShareDisposition %d, Flags 0x%04X, Start 0x%llx, length 0x%x\n",
    215215                             iPartialDescriptor,
    216216                             pPartialDescriptor->Type, pPartialDescriptor->ShareDisposition, pPartialDescriptor->Flags,
     
    427427    device->Flags &= ~DO_DEVICE_INITIALIZING;
    428428
    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));
    430430    return status;
    431431}
     
    491491    switch (irpStack->MajorFunction) {
    492492    case IRP_MJ_CREATE:
    493         dprintf(("IRP_MJ_CREATE\n"));
     493        dprintf(("VBoxMouse::CreateClose: IRP_MJ_CREATE\n"));
    494494        if (NULL == devExt->UpperConnectData.ClassService) {
    495495            //
    496496            // No Connection yet.  How can we be enabled?
    497497            //
    498             dprintf(("VBoxMouse: Not connected, returning STATUS_INVALID_DEVICE_STATE\n"));
     498            dprintf(("VBoxMouse::CreateClose: Not connected, returning STATUS_INVALID_DEVICE_STATE\n"));
    499499            status = STATUS_INVALID_DEVICE_STATE;
    500500        }
     
    514514    case IRP_MJ_CLOSE:
    515515
    516         dprintf(("IRP_MJ_CLOSE\n"));
     516        dprintf(("VBoxMouse::CreateClose: IRP_MJ_CLOSE\n"));
    517517        ASSERT(0 < devExt->EnableCount);
    518518
     
    801801    case IRP_MN_START_DEVICE: {
    802802
    803         dprintf(("IRP_MN_START_DEVICE\n"));
     803        dprintf(("VBoxMouse_PnP: IRP_MN_START_DEVICE\n"));
    804804
    805805        //
     
    833833        }
    834834
    835         dprintf(("status: %x, irp status: %x\n", Irp->IoStatus.Status));
     835        dprintf(("VBoxMouse_PnP: Status: %x, irp status: %x\n", Irp->IoStatus.Status));
    836836
    837837        if (NT_SUCCESS(status) && NT_SUCCESS(Irp->IoStatus.Status)) {
     
    854854    case IRP_MN_SURPRISE_REMOVAL:
    855855
    856         dprintf(("IRP_MN_SURPRISE_REMOVAL\n"));
     856        dprintf(("VBoxMouse_PnP: IRP_MN_SURPRISE_REMOVAL\n"));
    857857
    858858        //
     
    869869    case IRP_MN_REMOVE_DEVICE:
    870870    {
    871         dprintf(("IRP_MN_REMOVE_DEVICE\n"));
     871        dprintf(("VBoxMouse_PnP: IRP_MN_REMOVE_DEVICE\n"));
    872872// VBOX start
    873873        vboxDeviceRemoved (devExt);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette