- Timestamp:
- Dec 3, 2014 7:03:45 PM (10 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cfgm.h
r46792 r53437 134 134 VMMR3DECL(int) CFGMR3CopyTree(PCFGMNODE pDstTree, PCFGMNODE pSrcTree, uint32_t fFlags); 135 135 136 VMMR3DECL(bool) CFGMR3Exists( PCFGMNODE pNode, const char *pszName); 136 137 VMMR3DECL(int) CFGMR3QueryType( PCFGMNODE pNode, const char *pszName, PCFGMVALUETYPE penmType); 137 138 VMMR3DECL(int) CFGMR3QuerySize( PCFGMNODE pNode, const char *pszName, size_t *pcb); -
trunk/src/VBox/VMM/VMMR3/CFGM.cpp
r46793 r53437 610 610 } 611 611 612 613 /** 614 * Checks if the given value exists. 615 * 616 * @returns true if it exists, false if not. 617 * @param pNode Which node to search for pszName in. 618 * @param pszName The name of the value we seek. 619 */ 620 VMMR3DECL(bool) CFGMR3Exists(PCFGMNODE pNode, const char *pszName) 621 { 622 PCFGMLEAF pLeaf; 623 int rc = cfgmR3ResolveLeaf(pNode, pszName, &pLeaf); 624 return RT_SUCCESS_NP(rc); 625 } 612 626 613 627
Note:
See TracChangeset
for help on using the changeset viewer.