VirtualBox

Changeset 101381 in vbox for trunk/src/VBox/Main/testcase


Ignore:
Timestamp:
Oct 6, 2023 10:00:59 AM (19 months ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
159384
Message:

Main: More guest OS id marking. bugref:10384

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/testcase/tstVBoxAPIXPCOM.cpp

    r101035 r101381  
    230230     */
    231231    nsCOMPtr<IGuestOSType> osType;
    232     rc = virtualBox->GetGuestOSType(NS_LITERAL_STRING("Windows2000").get(),
     232    rc = virtualBox->GetGuestOSType(NS_LITERAL_STRING(GUEST_OS_ID_STR_X86("Windows2000")).get(),
    233233                                    getter_AddRefs(osType));
    234234    if (NS_FAILED(rc))
     
    238238    else
    239239    {
    240         machine->SetOSTypeId(NS_LITERAL_STRING("Windows2000").get());
     240        machine->SetOSTypeId(NS_LITERAL_STRING(GUEST_OS_ID_STR_X86("Windows2000")).get());
    241241    }
    242242
Note: See TracChangeset for help on using the changeset viewer.

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