- Timestamp:
- Oct 20, 2021 9:03:40 AM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/GIMDev/DrvUDP.cpp
r82968 r91862 172 172 { 173 173 RT_NOREF1(fFlags); 174 PDRVUDP pThis = PDMINS_2_DATA(pDrvIns, PDRVUDP); 174 PDRVUDP pThis = PDMINS_2_DATA(pDrvIns, PDRVUDP); 175 PCPDMDRVHLPR3 pHlp = pDrvIns->pHlpR3; 176 175 177 PDMDRV_CHECK_VERSIONS_RETURN(pDrvIns); 176 178 … … 190 192 PDMDRV_VALIDATE_CONFIG_RETURN(pDrvIns, "ServerAddress|ServerPort", ""); 191 193 192 int rc = CFGMR3QueryStringAlloc(pCfg, "ServerAddress", &pThis->pszServerAddress);194 int rc = pHlp->pfnCFGMQueryStringAlloc(pCfg, "ServerAddress", &pThis->pszServerAddress); 193 195 if (RT_FAILURE(rc)) 194 196 return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, 195 197 N_("Configuration error: querying \"ServerAddress\" resulted in %Rrc"), rc); 196 rc = CFGMR3QueryU16(pCfg, "ServerPort", &pThis->uServerPort);198 rc = pHlp->pfnCFGMQueryU16(pCfg, "ServerPort", &pThis->uServerPort); 197 199 if (RT_FAILURE(rc)) 198 200 return PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS,
Note:
See TracChangeset
for help on using the changeset viewer.