Changeset 85021 in vbox for trunk/src/VBox/HostServices
- Timestamp:
- Jul 1, 2020 11:42:30 AM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostServices/DragAndDrop/VBoxDragAndDropSvc.cpp
r82968 r85021 489 489 rc = HGCMSvcGetU32(&paParms[idxProto + 1], &data.uFlags); 490 490 if (RT_SUCCESS(rc)) 491 { 492 unsigned uProtocolVer = 3; /* The protocol version we're going to use. */ 493 494 /* Make sure we're only setting a protocl version we're supporting on the host. */ 495 if (data.uProtocol > uProtocolVer) 496 data.uProtocol = uProtocolVer; 497 491 498 pClient->SetProtocolVer(data.uProtocol); 492 if (RT_SUCCESS(rc)) 493 { 499 500 /* Return the highest protocol version we're supporting. */ 501 paParms[idxProto].u.uint32 = data.uProtocol; 502 494 503 LogFlowFunc(("Client %RU32 is now using protocol v%RU32\n", pClient->GetClientID(), pClient->GetProtocolVer())); 495 504 DO_HOST_CALLBACK();
Note:
See TracChangeset
for help on using the changeset viewer.