Changeset 91865 in vbox for trunk/src/VBox/Devices
- Timestamp:
- Oct 20, 2021 9:04:42 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 147668
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Parallel/DrvHostParallel.cpp
r82968 r91865 916 916 RT_NOREF(fFlags); 917 917 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 918 PDRVHOSTPARALLEL pThis = PDMINS_2_DATA(pDrvIns, PDRVHOSTPARALLEL); 919 PCPDMDRVHLPR3 pHlp = pDrvIns->pHlpR3; 918 920 LogFlowFunc(("iInstance=%d\n", pDrvIns->iInstance)); 919 PDRVHOSTPARALLEL pThis = PDMINS_2_DATA(pDrvIns, PDRVHOSTPARALLEL);920 921 921 922 … … 949 950 * Validate the config. 950 951 */ 951 if (!CFGMR3AreValuesValid(pCfg, "DevicePath\0")) 952 return PDMDRV_SET_ERROR(pDrvIns, VERR_PDM_DRVINS_UNKNOWN_CFG_VALUES, 953 N_("Unknown host parallel configuration option, only supports DevicePath")); 952 PDMDRV_VALIDATE_CONFIG_RETURN(pDrvIns, "DevicePath", ""); 954 953 955 954 /* … … 957 956 */ 958 957 /* Device */ 959 int rc = CFGMR3QueryStringAlloc(pCfg, "DevicePath", &pThis->pszDevicePath);958 int rc = pHlp->pfnCFGMQueryStringAlloc(pCfg, "DevicePath", &pThis->pszDevicePath); 960 959 if (RT_FAILURE(rc)) 961 960 {
Note:
See TracChangeset
for help on using the changeset viewer.