Changeset 39859 in vbox for trunk/src/VBox/VMM/VMMR3
- Timestamp:
- Jan 24, 2012 4:50:08 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/VMM/VMMR3/CFGM.cpp
r39853 r39859 1413 1413 1414 1414 1415 /** 1416 * Copies all values and keys from one tree onto another. 1417 * 1418 * The flags control what happens to keys and values with the same name 1419 * existing in both source and destination. 1420 * 1421 * @returns VBox status code. 1422 * @param pDstTree The destination tree. 1423 * @param pSrcTree The source tree. 1424 * @param fFlags Copy flags, see CFGM_COPY_FLAGS_XXX. 1425 */ 1415 1426 VMMR3DECL(int) CFGMR3CopyTree(PCFGMNODE pDstTree, PCFGMNODE pSrcTree, uint32_t fFlags) 1416 1427 { … … 1420 1431 AssertPtrReturn(pSrcTree, VERR_INVALID_POINTER); 1421 1432 AssertPtrReturn(pDstTree, VERR_INVALID_POINTER); 1422 AssertReturn(pDstTree != p DstTree, VERR_INVALID_PARAMETER);1433 AssertReturn(pDstTree != pSrcTree, VERR_INVALID_PARAMETER); 1423 1434 AssertReturn(!(fFlags & ~(CFGM_COPY_FLAGS_VALUE_DISP_MASK | CFGM_COPY_FLAGS_KEY_DISP_MASK)), VERR_INVALID_PARAMETER); 1424 1435 AssertReturn( (fFlags & CFGM_COPY_FLAGS_VALUE_DISP_MASK) != CFGM_COPY_FLAGS_RESERVED_VALUE_DISP_0
Note:
See TracChangeset
for help on using the changeset viewer.