VirtualBox

Changeset 11082 in vbox


Ignore:
Timestamp:
Aug 3, 2008 8:56:20 PM (16 years ago)
Author:
vboxsync
Message:

HostServices/GuestProperties: reverted r33992 temporarily as it depends on other changes

Location:
trunk
Files:
2 edited

Legend:

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

    r11081 r11082  
    3939    /**
    4040     * Get the value attached to a configuration property key
    41      * The parameter format matches that of GET_PROP.
    42      */
    43     GET_PROP_HOST = 2,
     41     * The parameter format matches that of GET_CONFIG_KEY.
     42     */
     43    GET_CONFIG_KEY_HOST = 2,
    4444    /**
    4545     * Set the value attached to a configuration property key
    46      * The parameter format matches that of SET_PROP.
    47      */
    48     SET_PROP_HOST = 3,
    49     /**
    50      * Set the value attached to a configuration property key
    51      * The parameter format matches that of SET_PROP_VALUE.
    52      */
    53     SET_PROP_VALUE_HOST = 4,
     46     * The parameter format matches that of SET_CONFIG_KEY.
     47     */
     48    SET_CONFIG_KEY_HOST = 3,
    5449    /**
    5550     * Remove the value attached to a configuration property key
    56      * The parameter format matches that of DEL_PROP.
    57      */
    58     DEL_PROP_HOST = 5,
     51     * The parameter format matches that of DEL_CONFIG_KEY.
     52     */
     53    DEL_CONFIG_KEY_HOST = 4,
    5954    /**
    6055     * Enumerate guest properties.
    6156     * The parameter format matches that of ENUM_PROPS.
    6257     */
    63     ENUM_PROPS_HOST = 6
     58    ENUM_PROPS_HOST = 5
    6459};
    6560
  • trunk/src/VBox/HostServices/GuestProperties/service.cpp

    r11081 r11082  
    354354    uint64_t u64Timestamp = 0;
    355355    if (RT_SUCCESS(rc) && (mpTimestampNode != NULL))
    356         CFGMR3QueryU64(mpTimestampNode, pszName, &u64Timestamp);
    357     VBoxHGCMParmUInt64Set(&paParms[2], u64Timestamp);
     356        rc = CFGMR3QueryU64(mpFlagsNode, pszName, &u64Timestamp);
     357    if (RT_SUCCESS(rc))
     358        VBoxHGCMParmUInt64Set(&paParms[2], 0);
    358359
    359360/*
     
    769770
    770771        /* The host wishes to read a configuration value */
    771         case GET_PROP_HOST:
    772             LogFlowFunc(("GET_PROP_HOST\n"));
    773             rc = getProperty(cParms, paParms);
     772        case GET_CONFIG_KEY_HOST:
     773            LogFlowFunc(("GET_CONFIG_KEY_HOST\n"));
     774            rc = getKey(cParms, paParms);
    774775            break;
    775776
    776777        /* The host wishes to set a configuration value */
    777         case SET_PROP_HOST:
    778             LogFlowFunc(("SET_PROP_HOST\n"));
     778        case SET_CONFIG_KEY_HOST:
     779            LogFlowFunc(("SET_CONFIG_KEY_HOST\n"));
    779780            rc = setKey(cParms, paParms);
    780781            break;
    781782
    782         /* The host wishes to set a configuration value */
    783         case SET_PROP_VALUE_HOST:
    784             LogFlowFunc(("SET_PROP_VALUE_HOST\n"));
    785             rc = setKey(cParms, paParms);
    786             break;
    787 
    788783        /* The host wishes to remove a configuration value */
    789         case DEL_PROP_HOST:
     784        case DEL_CONFIG_KEY_HOST:
    790785            LogFlowFunc(("DEL_CONFIG_KEY_HOST\n"));
    791786            rc = delKey(cParms, paParms);
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