Changeset 103275 in vbox for trunk/src/VBox/Devices/Audio
- Timestamp:
- Feb 8, 2024 11:56:18 AM (14 months ago)
- svn:sync-xref-src-repo-rev:
- 161567
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Devices/Audio/DrvAudio.cpp
r103260 r103275 4842 4842 #define QUERY_VAL_RET(a_Width, a_szName, a_pValue, a_uDefault, a_ExprValid, a_szValidRange) \ 4843 4843 do { \ 4844 rc = RTStrCopy(szNm, sizeof(szNm), a_szName); \ 4845 AssertRCReturn(rc, PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, \ 4846 N_("Configuration error: Name '%s' too long [1]"), szNm)); \ 4847 rc = RT_CONCAT(pHlp->pfnCFGMQueryU,a_Width)(pDirNode, szNm, a_pValue); \ 4844 rc = RT_CONCAT(pHlp->pfnCFGMQueryU,a_Width)(pDirNode, strcpy(szNm, a_szName), a_pValue); \ 4848 4845 if (rc == VERR_CFGM_VALUE_NOT_FOUND || rc == VERR_CFGM_NO_PARENT) \ 4849 4846 { \ 4850 rc = RTStrCat(szNm, sizeof(szNm), pszDir); \ 4851 AssertRCReturn(rc, PDMDrvHlpVMSetError(pDrvIns, rc, RT_SRC_POS, \ 4852 N_("Configuration error: Name '%s' too long [2]"), pszDir)); \ 4853 rc = RT_CONCAT(pHlp->pfnCFGMQueryU,a_Width)(pCfg, szNm, a_pValue); \ 4847 rc = RT_CONCAT(pHlp->pfnCFGMQueryU,a_Width)(pCfg, strcat(szNm, pszDir), a_pValue); \ 4854 4848 if (rc == VERR_CFGM_VALUE_NOT_FOUND || rc == VERR_CFGM_NO_PARENT) \ 4855 4849 { \
Note:
See TracChangeset
for help on using the changeset viewer.