Changeset 11082 in vbox
- Timestamp:
- Aug 3, 2008 8:56:20 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestPropertySvc.h
r11081 r11082 39 39 /** 40 40 * 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, 44 44 /** 45 45 * 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, 54 49 /** 55 50 * 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, 59 54 /** 60 55 * Enumerate guest properties. 61 56 * The parameter format matches that of ENUM_PROPS. 62 57 */ 63 ENUM_PROPS_HOST = 658 ENUM_PROPS_HOST = 5 64 59 }; 65 60 -
trunk/src/VBox/HostServices/GuestProperties/service.cpp
r11081 r11082 354 354 uint64_t u64Timestamp = 0; 355 355 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); 358 359 359 360 /* … … 769 770 770 771 /* The host wishes to read a configuration value */ 771 case GET_ PROP_HOST:772 LogFlowFunc(("GET_ PROP_HOST\n"));773 rc = get Property(cParms, paParms);772 case GET_CONFIG_KEY_HOST: 773 LogFlowFunc(("GET_CONFIG_KEY_HOST\n")); 774 rc = getKey(cParms, paParms); 774 775 break; 775 776 776 777 /* 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")); 779 780 rc = setKey(cParms, paParms); 780 781 break; 781 782 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 788 783 /* The host wishes to remove a configuration value */ 789 case DEL_ PROP_HOST:784 case DEL_CONFIG_KEY_HOST: 790 785 LogFlowFunc(("DEL_CONFIG_KEY_HOST\n")); 791 786 rc = delKey(cParms, paParms);
Note:
See TracChangeset
for help on using the changeset viewer.