VirtualBox

Changeset 5871 in vbox


Ignore:
Timestamp:
Nov 28, 2007 6:44:19 PM (17 years ago)
Author:
vboxsync
Message:

Guest Additions (common userspace library): added functions for seamless mode

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/common/VBoxGuestLib/VBoxGuestR3LibSeamless.cpp

    r5824 r5871  
    1919#include <VBox/VBoxGuest.h>
    2020#include <VBox/VBoxDev.h>
     21#include <VBox/log.h>
    2122
    2223#include <string.h>
     
    4041{
    4142    VMMDevReqGuestCapabilities vmmreqGuestCaps = { {0} };
     43    int rc = VINF_SUCCESS;
    4244
    4345    vmmdevInitRequest(&vmmreqGuestCaps.header, VMMDevReq_ReportGuestCapabilities);
    4446    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
    4658}
    4759
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette