Changeset 95866 in vbox
- Timestamp:
- Jul 27, 2022 1:19:58 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxHostVersion.cpp
r93115 r95866 43 43 char *pszHostVersion; 44 44 char *pszGuestVersion; 45 bool bUpdate;46 rc = VbglR3HostVersionCheckForUpdate(uGuestPropSvcClientID, & bUpdate, &pszHostVersion, &pszGuestVersion);45 bool fUpdate; 46 rc = VbglR3HostVersionCheckForUpdate(uGuestPropSvcClientID, &fUpdate, &pszHostVersion, &pszGuestVersion); 47 47 if (RT_SUCCESS(rc)) 48 48 { 49 if ( bUpdate)49 if (fUpdate) 50 50 { 51 51 char szMsg[256]; /* Sizes according to MSDN. */ … … 53 53 54 54 /** @todo Add some translation macros here. */ 55 _snprintf(szTitle, sizeof(szTitle), "VirtualBox Guest Additions update available!"); 56 _snprintf(szMsg, sizeof(szMsg), "Your guest is currently running the Guest Additions version %s. " 57 "We recommend updating to the latest version (%s) by choosing the " 58 "install option from the Devices menu.", pszGuestVersion, pszHostVersion); 55 RTStrPrintf(szTitle, sizeof(szTitle), "VirtualBox Guest Additions update available!"); 56 RTStrPrintf(szMsg, sizeof(szMsg), 57 "Your guest is currently running the Guest Additions version %s. " 58 "We recommend updating to the latest version (%s) by choosing the " 59 "install option from the Devices menu.", pszGuestVersion, pszHostVersion); 59 60 60 61 rc = hlpShowBalloonTip(g_hInstance, g_hwndToolWindow, ID_TRAYICON,
Note:
See TracChangeset
for help on using the changeset viewer.