Changeset 13780 in vbox
- Timestamp:
- Nov 4, 2008 9:52:06 AM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/HostServices/GuestPropertySvc.h
r13763 r13780 148 148 break; 149 149 if (RT_ELEMENTS(flagList) == i) 150 rc = VERR_ INVALID_PARAMETER;150 rc = VERR_PARSE_ERROR; 151 151 else 152 152 { … … 157 157 if (',' == *pcszNext) 158 158 ++pcszNext; 159 else if (*pcszNext != '\0') 160 rc = VERR_PARSE_ERROR; 159 161 while (' ' == *pcszNext) 160 162 ++pcszNext; … … 189 191 for (; i < RT_ELEMENTS(flagList); ++i) 190 192 { 191 if (f Flags & flagList[i])193 if (flagList[i] == (fFlags & flagList[i])) 192 194 { 193 195 strcpy(pszNext, flagName(flagList[i])); … … 213 215 enum eHostFn 214 216 { 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, 217 224 /** 218 225 * Get the value attached to a guest property
Note:
See TracChangeset
for help on using the changeset viewer.