VirtualBox

Changeset 6169 in vbox


Ignore:
Timestamp:
Dec 21, 2007 2:59:22 PM (17 years ago)
Author:
vboxsync
Message:

Add vbox code revision to VBoxService systray tooltip.

Location:
trunk/src/VBox/Additions/WINNT/VBoxService
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxService/Makefile.kmk

    r5999 r6169  
    4141        $(PATH_LIB)/additions/RuntimeW32GuestR3.lib
    4242
     43# VBoxService.cpp uses VBOX_SVN_REV.
     44VBoxService.cpp_DEFS = VBOX_SVN_REV=$(VBOX_SVN_REV)
     45VBoxService.cpp_DEPS = $(VBOX_SVN_REV_KMK)
     46
     47
    4348include $(PATH_KBUILD)/subfooter.kmk
    4449
  • trunk/src/VBox/Additions/WINNT/VBoxService/VBoxService.cpp

    r5999 r6169  
    338338        {
    339339            dprintf(("VBoxService: Windows version major %d minor %d\n", info.dwMajorVersion, info.dwMinorVersion));
    340             dwMajorVersion = info.dwMajorVersion;   
     340            dwMajorVersion = info.dwMajorVersion;
    341341        }
    342342
     
    347347
    348348            BOOL (WINAPI * pfnConvertStringSecurityDescriptorToSecurityDescriptorA)(LPCSTR StringSecurityDescriptor, DWORD StringSDRevision, PSECURITY_DESCRIPTOR  *SecurityDescriptor, PULONG  SecurityDescriptorSize);
    349    
     349
    350350            hModule = LoadLibrary("ADVAPI32.DLL");
    351351            if (hModule)
     
    419419    ndata.uCallbackMessage = WM_USER;
    420420    ndata.hIcon            = LoadIcon(gInstance, MAKEINTRESOURCE(IDI_VIRTUALBOX));
    421     sprintf(ndata.szTip, "innotek VirtualBox Guest Additions %d.%d.%d", VBOX_VERSION_MAJOR, VBOX_VERSION_MINOR, VBOX_VERSION_BUILD);
     421    sprintf(ndata.szTip, "innotek VirtualBox Guest Additions %d.%d.%dr%d", VBOX_VERSION_MAJOR, VBOX_VERSION_MINOR, VBOX_VERSION_BUILD, VBOX_SVN_REV);
    422422
    423423    dprintf(("VBoxService: ndata.hWnd %08X, ndata.hIcon = %p\n", ndata.hWnd, ndata.hIcon));
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