Changeset 26173 in vbox for trunk/src/VBox/Devices/Storage/DrvMediaISO.cpp
- Timestamp:
- Feb 2, 2010 9:11:09 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 57187
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Storage/DrvMediaISO.cpp
r26166 r26173 231 231 * @copydoc FNPDMDRVCONSTRUCT 232 232 */ 233 static DECLCALLBACK(int) drvMediaISOConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg Handle, uint32_t fFlags)233 static DECLCALLBACK(int) drvMediaISOConstruct(PPDMDRVINS pDrvIns, PCFGMNODE pCfg, uint32_t fFlags) 234 234 { 235 235 PDRVMEDIAISO pThis = PDMINS_2_DATA(pDrvIns, PDRVMEDIAISO); … … 258 258 * Read the configuration. 259 259 */ 260 if (!CFGMR3AreValuesValid(pCfg Handle, "Path\0"))260 if (!CFGMR3AreValuesValid(pCfg, "Path\0")) 261 261 return VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES; 262 262 263 263 char *pszName; 264 int rc = CFGMR3QueryStringAlloc(pCfg Handle, "Path", &pszName);264 int rc = CFGMR3QueryStringAlloc(pCfg, "Path", &pszName); 265 265 if (RT_FAILURE(rc)) 266 266 return PDMDRV_SET_ERROR(pDrvIns, rc, N_("Failed to query \"Path\" from the config"));
Note:
See TracChangeset
for help on using the changeset viewer.