Changeset 91868 in vbox for trunk/src/VBox/Devices/Serial/DrvNamedPipe.cpp
- Timestamp:
- Oct 20, 2021 9:05:37 AM (3 years ago)
- svn:sync-xref-src-repo-rev:
- 147671
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Serial/DrvNamedPipe.cpp
r82968 r91868 887 887 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 888 888 PDRVNAMEDPIPE pThis = PDMINS_2_DATA(pDrvIns, PDRVNAMEDPIPE); 889 PCPDMDRVHLPR3 pHlp = pDrvIns->pHlpR3; 889 890 890 891 /* … … 924 925 PDMDRV_VALIDATE_CONFIG_RETURN(pDrvIns, "Location|IsServer", ""); 925 926 926 int rc = CFGMR3QueryStringAlloc(pCfg, "Location", &pThis->pszLocation);927 int rc = pHlp->pfnCFGMQueryStringAlloc(pCfg, "Location", &pThis->pszLocation); 927 928 if (RT_FAILURE(rc)) 928 929 return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, 929 930 N_("Configuration error: querying \"Location\" resulted in %Rrc"), rc); 930 rc = CFGMR3QueryBool(pCfg, "IsServer", &pThis->fIsServer);931 rc = pHlp->pfnCFGMQueryBool(pCfg, "IsServer", &pThis->fIsServer); 931 932 if (RT_FAILURE(rc)) 932 933 return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS,
Note:
See TracChangeset
for help on using the changeset viewer.