Changeset 36843 in vbox for trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
- Timestamp:
- Apr 26, 2011 8:33:19 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r36052 r36843 1260 1260 return VINF_SUCCESS; 1261 1261 } 1262 1263 DECLEXPORT(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.