VirtualBox

Ignore:
Timestamp:
Apr 26, 2011 8:33:19 AM (14 years ago)
Author:
vboxsync
Message:

3D for VRDP: initial commit (xTracker 5565).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c

    r36052 r36843  
    12601260    return VINF_SUCCESS;
    12611261}
     1262
     1263DECLEXPORT(int32_t) crVBoxServerOutputRedirectSet(const CROutputRedirect *pCallbacks)
     1264{
     1265    /* No need for a synchronization as this is single threaded. */
     1266    if (pCallbacks)
     1267    {
     1268        cr_server.outputRedirect = *pCallbacks;
     1269        cr_server.bUseOutputRedirect = true;
     1270    }
     1271    else
     1272    {
     1273        cr_server.bUseOutputRedirect = false;
     1274    }
     1275
     1276    // @todo dynamically intercept already existing output:
     1277    // crHashtableWalk(cr_server.muralTable, crVBoxServerOutputRedirectCB, NULL);
     1278
     1279    return VINF_SUCCESS;
     1280}
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