VBoxGuestR3LibSeamless.cpp revision 553919970ed21dac836cee8af92d1382be79ac34
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * VBoxGuestR3Lib - Ring-3 Support Library for VirtualBox guest additions, Seamless mode.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Copyright (C) 2007 innotek GmbH
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * This file is part of VirtualBox Open Source Edition (OSE), as
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * available from http://www.virtualbox.org. This file is free software;
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * you can redistribute it and/or modify it under the terms of the GNU
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * General Public License (GPL) as published by the Free Software
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Foundation, in version 2 as it comes in the "COPYING" file of the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * VirtualBox OSE distribution. VirtualBox OSE is distributed in the
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync/*******************************************************************************
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync* Header Files *
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync*******************************************************************************/
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * Tell the host that we support (or no longer support) seamless mode.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * @returns IPRT status value
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * @param fState whether or not we support seamless mode
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * @todo Currently this will trample over any other capabilities the guest may have.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync * This will have to be fixed when more capabilities are added at the latest.
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync memset(&vmmreqGuestCaps, 0, sizeof(vmmreqGuestCaps));
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync vmmdevInitRequest(&vmmreqGuestCaps.header, VMMDevReq_ReportGuestCapabilities);
4fd606d1f5abe38e1f42c38de1d2e895166bd0f4vboxsync vmmreqGuestCaps.caps = fState ? VMMDEV_GUEST_SUPPORTS_SEAMLESS : 0;
return rc;
int rc;
return VINF_SUCCESS;
return rc;
int rc;
if (0 == cRects)
return VINF_SUCCESS;
return VINF_SUCCESS;
return rc;