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