Changeset 106240 in vbox
- Timestamp:
- Oct 8, 2024 2:47:39 PM (7 weeks ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Additions/WINNT/include/NoCrtOutput.h
r106061 r106240 123 123 124 124 125 DECLINLINE(void) ErrorMsgX64(uint64_t uValue) 126 { 127 char szVal[128]; 128 RTStrFormatU64(szVal, sizeof(szVal), uValue, 16, 0, 0, 0); 129 ErrorMsgStr(szVal); 130 } 131 132 125 133 DECLINLINE(int) ErrorMsg(const char *pszMsg) 126 134 { … … 197 205 198 206 207 DECLINLINE(int) ErrorMsgRcSU(int rcExit, const char *pszMsg1, uint64_t uValue) 208 { 209 ErrorMsgBegin(pszMsg1); 210 ErrorMsgU64(uValue); 211 ErrorMsgEnd(NULL); 212 return rcExit; 213 } 214 215 216 DECLINLINE(int) ErrorMsgRcSX(int rcExit, const char *pszMsg1, uint64_t uValue) 217 { 218 ErrorMsgBegin(pszMsg1); 219 ErrorMsgX64(uValue); 220 ErrorMsgEnd(NULL); 221 return rcExit; 222 } 223 224 199 225 DECLINLINE(int) ErrorMsgRcSUS(int rcExit, const char *pszMsg1, uint64_t uValue, const char *pszMsg2) 200 226 { … … 202 228 ErrorMsgU64(uValue); 203 229 ErrorMsgEnd(pszMsg2); 230 return rcExit; 231 } 232 233 234 DECLINLINE(int) ErrorMsgRcSW(int rcExit, const char *pszMsg1, const wchar_t *pwszMsg2) 235 { 236 ErrorMsgBegin(pszMsg1); 237 ErrorMsgWStr(pwszMsg2); 238 ErrorMsgEnd(NULL); 239 return rcExit; 240 } 241 242 243 DECLINLINE(int) ErrorMsgRcSWS(int rcExit, const char *pszMsg1, const wchar_t *pwszMsg2, const char *pszMsg3) 244 { 245 ErrorMsgBegin(pszMsg1); 246 ErrorMsgWStr(pwszMsg2); 247 ErrorMsgEnd(pszMsg3); 248 return rcExit; 249 } 250 251 252 DECLINLINE(int) ErrorMsgRcSWSS(int rcExit, const char *pszMsg1, const wchar_t *pwszMsg2, const char *pszMsg3, const char *pszMsg4) 253 { 254 ErrorMsgBegin(pszMsg1); 255 ErrorMsgWStr(pwszMsg2); 256 ErrorMsgStr(pszMsg3); 257 ErrorMsgEnd(pszMsg4); 258 return rcExit; 259 } 260 261 262 DECLINLINE(int) ErrorMsgRcSWSU(int rcExit, const char *pszMsg1, const wchar_t *pwszMsg2, const char *pszMsg3, uint64_t uValue4) 263 { 264 ErrorMsgBegin(pszMsg1); 265 ErrorMsgWStr(pwszMsg2); 266 ErrorMsgStr(pszMsg3); 267 ErrorMsgU64(uValue4); 268 ErrorMsgEnd(NULL); 269 return rcExit; 270 } 271 272 273 DECLINLINE(int) ErrorMsgRcSWSX(int rcExit, const char *pszMsg1, const wchar_t *pwszMsg2, const char *pszMsg3, uint64_t uValue4) 274 { 275 ErrorMsgBegin(pszMsg1); 276 ErrorMsgWStr(pwszMsg2); 277 ErrorMsgStr(pszMsg3); 278 ErrorMsgX64(uValue4); 279 ErrorMsgEnd(NULL); 204 280 return rcExit; 205 281 }
Note:
See TracChangeset
for help on using the changeset viewer.