VirtualBox

Ignore:
Timestamp:
Jul 4, 2008 4:06:22 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
32827
Message:

Guest properties: added some missing ifdefs

File:
1 edited

Legend:

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

    r9996 r10236  
    245245VBGLR3DECL(int) VbglR3SaveVideoMode(const char *pszName, uint32_t cx, uint32_t cy, uint32_t cBits)
    246246{
     247#ifdef VBOX_WITH_INFO_SVC
    247248    using namespace svcInfo;
    248249
     
    258259        VbglR3InfoSvcDisconnect(u32ClientId);  /* Return value ignored, because what can we do anyway? */
    259260    return rc;
     261#else /* VBOX_WITH_INFO_SVC not defined */
     262    return VERR_NOT_IMPLEMENTED;
     263#endif /* VBOX_WITH_INFO_SVC not defined */
    260264}
    261265
     
    272276VBGLR3DECL(int) VbglR3RetrieveVideoMode(const char *pszName, uint32_t *pcx, uint32_t *pcy, uint32_t *pcBits)
    273277{
     278#ifdef VBOX_WITH_INFO_SVC
    274279    using namespace svcInfo;
    275280
     
    315320    }
    316321    return rc;
    317 }
     322#else /* VBOX_WITH_INFO_SVC not defined */
     323    return VERR_NOT_IMPLEMENTED;
     324#endif /* VBOX_WITH_INFO_SVC not defined */
     325}
Note: See TracChangeset for help on using the changeset viewer.

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