VirtualBox

Ignore:
Timestamp:
Jul 8, 2008 2:57:59 PM (16 years ago)
Author:
vboxsync
Message:

Corrected log messages.

Location:
trunk/src/VBox/Additions/WINNT/VBoxTray
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDisplay.cpp

    r8887 r10374  
    5757    if (NULL == hUser)
    5858    {
    59         dprintf(("VBoxService: Could not get module handle of USER32.DLL!\n"));
     59        dprintf(("VBoxTray: Could not get module handle of USER32.DLL!\n"));
    6060        return VERR_NOT_IMPLEMENTED;
    6161    }
     
    6363    {
    6464        *(uintptr_t *)&gCtx.pfnChangeDisplaySettingsEx = (uintptr_t)GetProcAddress(hUser, "ChangeDisplaySettingsExA");
    65         dprintf(("VBoxService: pfnChangeDisplaySettingsEx = %p\n", gCtx.pfnChangeDisplaySettingsEx));
     65        dprintf(("VBoxTray: pfnChangeDisplaySettingsEx = %p\n", gCtx.pfnChangeDisplaySettingsEx));
    6666
    6767        *(uintptr_t *)&gCtx.pfnEnumDisplayDevices = (uintptr_t)GetProcAddress(hUser, "EnumDisplayDevicesA");
    68         dprintf(("VBoxService: pfnEnumDisplayDevices = %p\n", gCtx.pfnEnumDisplayDevices));
     68        dprintf(("VBoxTray: pfnEnumDisplayDevices = %p\n", gCtx.pfnEnumDisplayDevices));
    6969    }
    7070    else if (OSinfo.dwMajorVersion <= 4)            /* Windows NT 4.0 */
     
    7474    else                                /* Unsupported platform */
    7575    {
    76         dprintf(("VBoxService: Warning, display for platform not handled yet!\n"));
     76        dprintf(("VBoxTray: Warning, display for platform not handled yet!\n"));
    7777        return VERR_NOT_IMPLEMENTED;
    7878    }
    7979
    80     dprintf(("VBoxService: Display init successful.\n"));
     80    dprintf(("VBoxTray: Display init successful.\n"));
    8181
    8282    *pfStartThread = true;
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxRestore.cpp

    r8857 r10374  
    141141        else
    142142        {
    143             dprintf(("VBoxService: error 0 from DeviceIoControl IOCTL_VBOXGUEST_WAITEVENT\n"));
     143            dprintf(("VBoxTray: error 0 from DeviceIoControl IOCTL_VBOXGUEST_WAITEVENT\n"));
    144144
    145145            /* sleep a bit to not eat too much CPU in case the above call always fails */
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxSeamless.cpp

    r8857 r10374  
    324324            if (waitEvent.u32EventFlagsOut & VMMDEV_EVENT_SEAMLESS_MODE_CHANGE_REQUEST)
    325325            {
    326                 dprintf(("VBoxService: going to get seamless change information.\n"));
     326                dprintf(("VBoxTray: going to get seamless change information.\n"));
    327327
    328328                /* We got at least one event. Read the requested resolution
     
    395395        else
    396396        {
    397             dprintf(("VBoxService: error 0 from DeviceIoControl IOCTL_VBOXGUEST_WAITEVENT\n"));
     397            dprintf(("VBoxTray: error 0 from DeviceIoControl IOCTL_VBOXGUEST_WAITEVENT\n"));
    398398            /* sleep a bit to not eat too much CPU in case the above call always fails */
    399399            if (WaitForSingleObject(pCtx->pEnv->hStopEvent, 10) == WAIT_OBJECT_0)
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxTray.cpp

    r8897 r10374  
    150150static int vboxStartServices (VBOXSERVICEENV *pEnv, VBOXSERVICEINFO *pTable)
    151151{
    152     dprintf(("VBoxService: Starting services...\n"));
     152    dprintf(("VBoxTray: Starting services...\n"));
    153153
    154154    pEnv->hStopEvent = CreateEvent(NULL, TRUE, FALSE, NULL);
     
    263263void WINAPI VBoxServiceStart(void)
    264264{
    265     dprintf(("VBoxService: Start\n"));
     265    dprintf(("VBoxTray: Start\n"));
    266266
    267267    VBOXSERVICEENV svcEnv;
     
    279279    if (gVBoxDriver == INVALID_HANDLE_VALUE)
    280280    {
    281         dprintf(("VBoxService: could not open VBox Guest Additions driver! Please install / start it first! rc = %d\n", GetLastError()));
     281        dprintf(("VBoxTray: could not open VBox Guest Additions driver! Please install / start it first! rc = %d\n", GetLastError()));
    282282        status = ERROR_GEN_FAILURE;
    283283    }
    284284
    285     dprintf(("VBoxService: Driver h %p, st %p\n", gVBoxDriver, status));
     285    dprintf(("VBoxTray: Driver h %p, st %p\n", gVBoxDriver, status));
    286286
    287287    if (status == NO_ERROR)
     
    298298    }
    299299
    300     dprintf(("VBoxService: Class st %p\n", status));
     300    dprintf(("VBoxTray: Class st %p\n", status));
    301301
    302302    if (status == NO_ERROR)
     
    325325    }
    326326
    327     dprintf(("VBoxService: Window h %p, st %p\n", gToolWindow, status));
     327    dprintf(("VBoxTray: Window h %p, st %p\n", gToolWindow, status));
    328328
    329329    if (status == NO_ERROR)
     
    332332        if (gStopSem == NULL)
    333333        {
    334             dprintf(("VBoxService: CreateEvent for Stopping failed: rc = %d\n", GetLastError()));
     334            dprintf(("VBoxTray: CreateEvent for Stopping failed: rc = %d\n", GetLastError()));
    335335            return;
    336336        }
     
    354354        if (GetVersionEx(&info))
    355355        {
    356             dprintf(("VBoxService: Windows version major %d minor %d\n", info.dwMajorVersion, info.dwMinorVersion));
     356            dprintf(("VBoxTray: Windows version major %d minor %d\n", info.dwMajorVersion, info.dwMinorVersion));
    357357            dwMajorVersion = info.dwMajorVersion;
    358358        }
     
    399399            if (ghSeamlessNotifyEvent == NULL)
    400400            {
    401                 dprintf(("VBoxService: CreateEvent for Seamless failed: rc = %d\n", GetLastError()));
     401                dprintf(("VBoxTray: CreateEvent for Seamless failed: rc = %d\n", GetLastError()));
    402402                return;
    403403            }
     
    441441    sprintf(ndata.szTip, "Sun xVM VirtualBox Guest Additions %d.%d.%dr%d", VBOX_VERSION_MAJOR, VBOX_VERSION_MINOR, VBOX_VERSION_BUILD, VBOX_SVN_REV);
    442442
    443     dprintf(("VBoxService: ndata.hWnd %08X, ndata.hIcon = %p\n", ndata.hWnd, ndata.hIcon));
     443    dprintf(("VBoxTray: ndata.hWnd %08X, ndata.hIcon = %p\n", ndata.hWnd, ndata.hIcon));
    444444
    445445    /* Boost thread priority to make sure we wake up early for seamless window notifications (not sure if it actually makes any difference though) */
     
    457457        dwEventCount = 1;                       
    458458
    459     dprintf(("VBoxService: Number of events to wait in main loop: %ld\n", dwEventCount));
     459    dprintf(("VBoxTray: Number of events to wait in main loop: %ld\n", dwEventCount));
    460460
    461461    while(true)
     
    464464        waitResult = waitResult - WAIT_OBJECT_0;
    465465
    466         dprintf(("VBoxService: Wait result  = %ld.\n", waitResult));
     466        dprintf(("VBoxTray: Wait result  = %ld.\n", waitResult));
    467467
    468468        if (waitResult == 0)
    469469        {
    470             dprintf(("VBoxService: Event 'Exit' triggered.\n"));
     470            dprintf(("VBoxTray: Event 'Exit' triggered.\n"));
    471471            /* exit */
    472472            break;
     
    474474        else if ((waitResult == 1) && (ghSeamlessNotifyEvent!=0))       /* Only jump in, if seamless is active! */
    475475        {
    476             dprintf(("VBoxService: Event 'Seamless' triggered.\n"));
     476            dprintf(("VBoxTray: Event 'Seamless' triggered.\n"));
    477477
    478478            /* seamless window notification */
     
    485485            while (PeekMessage(&msg, NULL, 0, 0, PM_REMOVE))
    486486            {
    487                 dprintf(("VBoxService: msg %p\n", msg.message));
     487                dprintf(("VBoxTray: msg %p\n", msg.message));
    488488                if (msg.message == WM_QUIT)
    489489                {
    490                     dprintf(("VBoxService: WM_QUIT!\n"));
     490                    dprintf(("VBoxTray: WM_QUIT!\n"));
    491491                    SetEvent(gStopSem);
    492492                    continue;
     
    499499            {
    500500                fTrayIconCreated = Shell_NotifyIcon(NIM_ADD, &ndata);
    501                 dprintf(("VBoxService: fTrayIconCreated = %d, err %08X\n", fTrayIconCreated, GetLastError ()));
    502             }
    503         }
    504     }
    505 
    506     dprintf(("VBoxService: returned from main loop, exiting...\n"));
     501                dprintf(("VBoxTray: fTrayIconCreated = %d, err %08X\n", fTrayIconCreated, GetLastError ()));
     502            }
     503        }
     504    }
     505
     506    dprintf(("VBoxTray: returned from main loop, exiting...\n"));
    507507
    508508    /* remove the system tray icon */
    509509    Shell_NotifyIcon(NIM_DELETE, &ndata);
    510510
    511     dprintf(("VBoxService: waiting for display change thread...\n"));
     511    dprintf(("VBoxTray: waiting for display change thread...\n"));
    512512
    513513    vboxStopServices (&svcEnv, vboxServiceTable);
    514514
    515     dprintf(("VBoxService: destroying tool window...\n"));
     515    dprintf(("VBoxTray: destroying tool window...\n"));
    516516
    517517    /* destroy the tool window */
     
    524524    CloseHandle(ghSeamlessNotifyEvent);
    525525
    526     dprintf(("VBoxService: leaving service main function\n"));
     526    dprintf(("VBoxTray: leaving service main function\n"));
    527527
    528528    return;
     
    546546   }
    547547
    548     dprintf(("VBoxService: Started.\n"));
     548    dprintf(("VBoxTray: Started.\n"));
    549549
    550550    gInstance = hInstance;
    551551    VBoxServiceStart();
    552552
    553     dprintf(("VBoxService: Ended.\n"));
     553    dprintf(("VBoxTray: Ended.\n"));
    554554
    555555    /* Release instance mutex. */
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxVRDP.cpp

    r8857 r10374  
    410410                else
    411411                {
    412                     dprintf(("VBoxService: error from DeviceIoControl IOCTL_VBOXGUEST_VMMREQUEST\n"));
     412                    dprintf(("VBoxTray: error from DeviceIoControl IOCTL_VBOXGUEST_VMMREQUEST\n"));
    413413
    414414                    /* sleep a bit to not eat too much CPU in case the above call always fails */
     
    423423        else
    424424        {
    425             dprintf(("VBoxService: error from DeviceIoControl IOCTL_VBOXGUEST_WAITEVENT\n"));
     425            dprintf(("VBoxTray: error from DeviceIoControl IOCTL_VBOXGUEST_WAITEVENT\n"));
    426426
    427427            /* sleep a bit to not eat too much CPU in case the above call always fails */
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