VirtualBox

Changeset 106485 in vbox for trunk/src


Ignore:
Timestamp:
Oct 18, 2024 4:32:40 PM (6 weeks ago)
Author:
vboxsync
Message:

Windows driver installation: Make sure to set the log callback before using any logging functions. bugref:10762

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/GuestHost/installation/VBoxWinDrvInst.cpp

    r106484 r106485  
    15051505    if (pCtx)
    15061506    {
     1507        pCtx->u32Magic   = VBOXWINDRVINST_MAGIC;
     1508        pCtx->uVerbosity = uVerbosity;
     1509        pCtx->pfnLog     = pfnLog;
     1510        pCtx->pvUser     = pvUser;
     1511
    15071512        uint64_t const uNtVer = RTSystemGetNtVersion();
    15081513
     
    15121517                                                                              RTSYSTEM_NT_VERSION_GET_BUILD(uNtVer),
    15131518                                                                              RTBldCfgTargetArch());
    1514         pCtx->u32Magic   = VBOXWINDRVINST_MAGIC;
    1515         pCtx->uVerbosity = uVerbosity;
    1516         pCtx->pfnLog     = pfnLog;
    1517         pCtx->pvUser     = pvUser;
     1519
    15181520        rc = RTOnce(&g_vboxWinDrvInstResolveOnce, vboxWinDrvInstResolveOnce, pCtx);
    15191521        if (RT_SUCCESS(rc))
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