Changeset 5871 in vbox
- Timestamp:
- Nov 28, 2007 6:44:19 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibSeamless.cpp
r5824 r5871 19 19 #include <VBox/VBoxGuest.h> 20 20 #include <VBox/VBoxDev.h> 21 #include <VBox/log.h> 21 22 22 23 #include <string.h> … … 40 41 { 41 42 VMMDevReqGuestCapabilities vmmreqGuestCaps = { {0} }; 43 int rc = VINF_SUCCESS; 42 44 43 45 vmmdevInitRequest(&vmmreqGuestCaps.header, VMMDevReq_ReportGuestCapabilities); 44 46 vmmreqGuestCaps.caps = bState ? VMMDEV_GUEST_SUPPORTS_SEAMLESS : 0; 45 return VbglR3GRPerform(&vmmreqGuestCaps.header); 47 rc = VbglR3GRPerform(&vmmreqGuestCaps.header); 48 #ifdef DEBUG 49 if (RT_SUCCESS(rc)) 50 { 51 LogRel(("Successfully enabled seamless mode on the host.\n")); 52 } 53 else 54 { 55 LogRel(("Failed to enabled seamless mode on the host, rc = %Vrc.\n", rc)); 56 } 57 #endif 46 58 } 47 59
Note:
See TracChangeset
for help on using the changeset viewer.