Changeset 3840 in vbox for trunk/include
- Timestamp:
- Jul 25, 2007 3:34:17 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/cfgm.h
r3632 r3840 346 346 CFGMR3DECL(int) CFGMR3QueryBytes(PCFGMNODE pNode, const char *pszName, void *pvData, size_t cbData); 347 347 348 349 /** 350 * Creates a CFGM tree. 351 * 352 * This is intended for creating device/driver configs can be 353 * passed around and later attached to the main tree in the 354 * correct location. 355 * 356 * @returns Pointer to the root node. 357 * @param pVM The VM handle. 358 */ 359 CFGMR3DECL(PCFGMNODE) CFGMR3CreateTree(PVM pVM); 360 361 /** 362 * Insert subtree. 363 * 364 * This function inserts (no duplication) a tree created by CFGMR3CreateTree() 365 * into the main tree. 366 * 367 * The root node of the inserted subtree will need to be reallocated, which 368 * effectually means that the passed in pSubTree handle becomes invalid 369 * upon successful return. Use the value returned in ppChild instead 370 * of pSubTree. 371 * 372 * @returns VBox status code. 373 * @returns VERR_CFGM_NODE_EXISTS if the final child node name component exists. 374 * @param pNode Parent node. 375 * @param pszName Name or path of the new child node. 376 * @param pSubTree The subtree to insert. Must be returned by CFGMR3CreateTree(). 377 * @param ppChild Where to store the address of the new child node. (optional) 378 */ 379 CFGMR3DECL(int) CFGMR3InsertSubTree(PCFGMNODE pNode, const char *pszName, PCFGMNODE pSubTree, PCFGMNODE *ppChild); 348 380 349 381 /**
Note:
See TracChangeset
for help on using the changeset viewer.