VirtualBox

Changeset 13763 in vbox for trunk/include/VBox/HostServices


Ignore:
Timestamp:
Nov 3, 2008 4:39:22 PM (16 years ago)
Author:
vboxsync
Message:

Backed out 38734

File:
1 edited

Legend:

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

    r13759 r13763  
    148148                break;
    149149        if (RT_ELEMENTS(flagList) == i)
    150              rc = VERR_PARSE_ERROR;
     150             rc = VERR_INVALID_PARAMETER;
    151151        else
    152152        {
     
    157157            if (',' == *pcszNext)
    158158                ++pcszNext;
    159             else if (*pcszNext != '\0')
    160                 rc = VERR_PARSE_ERROR;
    161159            while (' ' == *pcszNext)
    162160                ++pcszNext;
     
    191189        for (; i < RT_ELEMENTS(flagList); ++i)
    192190        {
    193             if (flagList[i] == (fFlags & flagList[i]))
     191            if (fFlags & flagList[i])
    194192            {
    195193                strcpy(pszNext, flagName(flagList[i]));
     
    215213enum eHostFn
    216214{
    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,
     215    /** Pass the address of the cfgm node used by the service as a database. */
     216    SET_CFGM_NODE = 1,
    224217    /**
    225218     * 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