VirtualBox

Ignore:
Timestamp:
Nov 26, 2009 4:03:39 PM (15 years ago)
Author:
vboxsync
Message:

VBoxGuest: Fixed runtime OS detection on Windows 7.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxGuest/Helper.cpp

    r18171 r25021  
    193193}
    194194
     195/** @todo maybe we should drop this routine entirely later because we detecting
     196 *        the running OS via VBoxService in ring 3 using guest properties since a while. */
    195197NTSTATUS hlpVBoxReportGuestInfo (PVBOXGUESTDEVEXT pDevExt)
    196198{
     
    223225                req->guestInfo.osType = VBOXOSTYPE_WinVista;
    224226                break;
     227            case WIN7:
     228                req->guestInfo.osType = VBOXOSTYPE_Win7;
     229                break;
    225230            default:
    226231                /* we don't know, therefore NT family */
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