Changeset 68528 in vbox for trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibDragAndDrop.cpp
- Timestamp:
- Aug 24, 2017 7:32:44 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibDragAndDrop.cpp
r68502 r68528 1974 1974 } 1975 1975 1976 int rc = VbglR3HGCMCallRaw(&Msg.hdr, sizeof(Msg)); 1977 if (RT_SUCCESS(rc)) 1978 { 1979 if (RT_FAILURE(Msg.hdr.result)) 1980 { 1981 LogFlowFunc(("Sending error %Rrc failed with rc=%Rrc\n", rcErr, Msg.hdr.result)); 1982 1983 /* Never return an error if the host did not accept the error at 1984 * the current time. This can be due to the host not having any appropriate 1985 * callbacks set which would handle that error. */ 1986 rc = VINF_SUCCESS; 1987 } 1988 } 1976 int rc = VbglR3HGCMCall(&Msg.hdr, sizeof(Msg)); 1977 1978 /* 1979 * Never return an error if the host did not accept the error at the current 1980 * time. This can be due to the host not having any appropriate callbacks 1981 * set which would handle that error. 1982 * 1983 * bird: Looks like VERR_NOT_SUPPORTED is what the host will return if it 1984 * doesn't an appropriate callback. The code used to ignore ALL errors 1985 * the host would return, also relevant ones. 1986 */ 1987 if (RT_FAILURE(rc)) 1988 LogFlowFunc(("Sending error %Rrc failed with rc=%Rrc\n", rcErr, rc)); 1989 if (rc == VERR_NOT_SUPPORTED) 1990 rc = VINF_SUCCESS; 1989 1991 1990 1992 return rc;
Note:
See TracChangeset
for help on using the changeset viewer.