VirtualBox

Changeset 30191 in vbox for trunk


Ignore:
Timestamp:
Jun 15, 2010 11:58:55 AM (15 years ago)
Author:
vboxsync
Message:

Main: add DMI product name and DMI product version to the release log (helpful debugging information)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/ConsoleImpl.cpp

    r30112 r30191  
    50425042        if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
    50435043            RTLogRelLogger(loggerRelease, 0, ~0U, "OS Service Pack: %s\n", szTmp);
     5044        vrc = RTSystemQueryDmiString(RTSYSDMISTR_PRODUCT_NAME, szTmp, sizeof(szTmp));
     5045        if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
     5046            RTLogRelLogger(loggerRelease, 0, ~0U, "DMI Product Name: %s\n", szTmp);
     5047        vrc = RTSystemQueryDmiString(RTSYSDMISTR_PRODUCT_VERSION, szTmp, sizeof(szTmp));
     5048        if (RT_SUCCESS(vrc) || vrc == VERR_BUFFER_OVERFLOW)
     5049            RTLogRelLogger(loggerRelease, 0, ~0U, "DMI Product Version: %s\n", szTmp);
    50445050
    50455051        ComPtr<IHost> host;
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