VirtualBox

Changeset 13780 in vbox


Ignore:
Timestamp:
Nov 4, 2008 9:52:06 AM (16 years ago)
Author:
vboxsync
Message:

Guest Properties (HostServices and Main): forgotten header

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/VBox/HostServices/GuestPropertySvc.h

    r13763 r13780  
    148148                break;
    149149        if (RT_ELEMENTS(flagList) == i)
    150              rc = VERR_INVALID_PARAMETER;
     150             rc = VERR_PARSE_ERROR;
    151151        else
    152152        {
     
    157157            if (',' == *pcszNext)
    158158                ++pcszNext;
     159            else if (*pcszNext != '\0')
     160                rc = VERR_PARSE_ERROR;
    159161            while (' ' == *pcszNext)
    160162                ++pcszNext;
     
    189191        for (; i < RT_ELEMENTS(flagList); ++i)
    190192        {
    191             if (fFlags & flagList[i])
     193            if (flagList[i] == (fFlags & flagList[i]))
    192194            {
    193195                strcpy(pszNext, flagName(flagList[i]));
     
    213215enum eHostFn
    214216{
    215     /** Pass the address of the cfgm node used by the service as a database. */
    216     SET_CFGM_NODE = 1,
     217    /**
     218     * Set properties in a block.  The parameters are pointers to
     219     * NULL-terminated arrays containing the paramters.  These are, in order,
     220     * name, value, timestamp, flags.  Strings are stored as pointers to
     221     * mutable utf8 data.  All parameters must be supplied.
     222     */
     223    SET_PROPS_HOST = 1,
    217224    /**
    218225     * Get the value attached to a guest property
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