Changeset 30440 in vbox for trunk/src/VBox/HostServices/SharedOpenGL
- Timestamp:
- Jun 24, 2010 6:51:20 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 63086
- Location:
- trunk/src/VBox/HostServices/SharedOpenGL
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/SharedOpenGL/crserver/crservice.cpp
r29019 r30440 277 277 } 278 278 279 case SHCRGL_GUEST_FN_INJECT: 280 { 281 Log(("svcCall: SHCRGL_GUEST_FN_INJECT\n")); 282 283 /* Verify parameter count and types. */ 284 if (cParms != SHCRGL_CPARMS_INJECT) 285 { 286 rc = VERR_INVALID_PARAMETER; 287 } 288 else 289 if ( paParms[0].type != VBOX_HGCM_SVC_PARM_32BIT /* u32ClientID */ 290 || paParms[1].type != VBOX_HGCM_SVC_PARM_PTR /* pBuffer */ 291 ) 292 { 293 rc = VERR_INVALID_PARAMETER; 294 } 295 else 296 { 297 /* Fetch parameters. */ 298 uint32_t u32InjectClientID = paParms[0].u.uint32; 299 uint8_t *pBuffer = (uint8_t *)paParms[1].u.pointer.addr; 300 uint32_t cbBuffer = paParms[1].u.pointer.size; 301 302 /* Execute the function. */ 303 rc = crVBoxServerClientWrite(u32InjectClientID, pBuffer, cbBuffer); 304 if (!RT_SUCCESS(rc)) 305 { 306 Assert(VERR_NOT_SUPPORTED==rc); 307 svcClientVersionUnsupported(0, 0); 308 } 309 310 } 311 break; 312 } 313 279 314 case SHCRGL_GUEST_FN_READ: 280 315 { -
trunk/src/VBox/HostServices/SharedOpenGL/crserverlib/server_main.c
r29930 r30440 381 381 int32_t i; 382 382 383 / /crDebug("crServer: [%x] ClientWrite u32ClientID=%d", crThreadID(), u32ClientID);383 /*crDebug("=>crServer: ClientWrite u32ClientID=%d", u32ClientID);*/ 384 384 385 385 for (i = 0; i < cr_server.numClients; i++) … … 451 451 452 452 CRASSERT(!pClient->conn->allow_redir_ptr || crNetNumMessages(pClient->conn)==0); 453 454 /*crDebug("<=crServer: ClientWrite u32ClientID=%d", u32ClientID);*/ 453 455 454 456 return VINF_SUCCESS;
Note:
See TracChangeset
for help on using the changeset viewer.