Changeset 39853 in vbox for trunk/include/VBox
- Timestamp:
- Jan 24, 2012 4:38:14 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/vmm/cfgm.h
r39838 r39853 89 89 VMMR3DECL(int) CFGMR3ConstructDefaultTree(PVM pVM); 90 90 VMMR3DECL(void) CFGMR3Dump(PCFGMNODE pRoot); 91 VMMR3DECL( PCFGMNODE) CFGMR3DuplicateSubTree(PCFGMNODE pRoot);91 VMMR3DECL(int) CFGMR3DuplicateSubTree(PCFGMNODE pRoot, PCFGMNODE *ppCopy); 92 92 VMMR3DECL(int) CFGMR3ReplaceSubTree(PCFGMNODE pRoot, PCFGMNODE pNewRoot); 93 93 VMMR3DECL(int) CFGMR3InsertSubTree(PCFGMNODE pNode, const char *pszName, PCFGMNODE pSubTree, PCFGMNODE *ppChild); … … 104 104 VMMR3DECL(int) CFGMR3InsertStringW(PCFGMNODE pNode, const char *pszName, PCRTUTF16 pwszValue); 105 105 VMMR3DECL(int) CFGMR3InsertBytes(PCFGMNODE pNode, const char *pszName, const void *pvBytes, size_t cbBytes); 106 VMMR3DECL(int) CFGMR3InsertValue(PCFGMNODE pNode, PCFGMLEAF pValue); 106 107 VMMR3DECL(int) CFGMR3RemoveValue(PCFGMNODE pNode, const char *pszName); 108 109 /** @name CFGMR3CopyTree flags. 110 * @{ */ 111 /** Reserved value disposition \#0. */ 112 #define CFGM_COPY_FLAGS_RESERVED_VALUE_DISP_0 UINT32_C(0x00000000) 113 /** Reserved value disposition \#1. */ 114 #define CFGM_COPY_FLAGS_RESERVED_VALUE_DISP_1 UINT32_C(0x00000001) 115 /** Replace exiting values. */ 116 #define CFGM_COPY_FLAGS_REPLACE_VALUES UINT32_C(0x00000002) 117 /** Ignore exiting values. */ 118 #define CFGM_COPY_FLAGS_IGNORE_EXISTING_VALUES UINT32_C(0x00000003) 119 /** Value disposition mask. */ 120 #define CFGM_COPY_FLAGS_VALUE_DISP_MASK UINT32_C(0x00000003) 121 122 /** Replace exiting keys. */ 123 #define CFGM_COPY_FLAGS_RESERVED_KEY_DISP UINT32_C(0x00000000) 124 /** Replace exiting keys. */ 125 #define CFGM_COPY_FLAGS_MERGE_KEYS UINT32_C(0x00000010) 126 /** Replace exiting keys. */ 127 #define CFGM_COPY_FLAGS_REPLACE_KEYS UINT32_C(0x00000020) 128 /** Ignore existing keys. */ 129 #define CFGM_COPY_FLAGS_IGNORE_EXISTING_KEYS UINT32_C(0x00000030) 130 /** Key disposition. */ 131 #define CFGM_COPY_FLAGS_KEY_DISP_MASK UINT32_C(0x00000030) 132 /** @} */ 133 VMMR3DECL(int) CFGMR3CopyTree(PCFGMNODE pDstTree, PCFGMNODE pSrcTree, uint32_t fFlags); 107 134 108 135 VMMR3DECL(int) CFGMR3QueryType( PCFGMNODE pNode, const char *pszName, PCFGMVALUETYPE penmType);
Note:
See TracChangeset
for help on using the changeset viewer.