Changeset 84063 in vbox for trunk/include
- Timestamp:
- Apr 28, 2020 7:32:41 PM (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/errcore.h
r84054 r84063 315 315 316 316 317 # ifdef RT_OS_WINDOWS317 # ifdef RT_OS_WINDOWS 318 318 /** 319 319 * Windows error code message. … … 333 333 typedef const RTWINERRMSG *PCRTWINERRMSG; 334 334 335 /** 336 * Get the message structure corresponding to a given Windows error code. 337 * 338 * @returns Pointer to read-only message description.339 * @ param rc The status code.340 * /341 RTDECL( PCRTWINERRMSG) RTErrWinGet(long rc);342 343 /** On windows COM errors are part of the Windows error database. */ 344 typedef RTWINERRMSG RTCOMERRMSG; 345 346 # else /* !RT_OS_WINDOWS */335 RTDECL(bool) RTErrWinIsKnown(long rc); 336 RTDECL(ssize_t) RTErrWinQueryDefine(long rc, char *pszBuf, size_t cbBuf, bool fFailIfUnknown); 337 338 /** @name Error formatters used internally by RTStrFormat. 339 * @internal 340 * @{ */ 341 RTDECL(size_t) RTErrWinFormatDefine(long rc, PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, char *pszTmp, size_t cbTmp); 342 RTDECL(size_t) RTErrWinFormatMsg( long rc, PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, char *pszTmp, size_t cbTmp); 343 RTDECL(size_t) RTErrWinFormatMsgAll(long rc, PFNRTSTROUTPUT pfnOutput, void *pvArgOutput, char *pszTmp, size_t cbTmp); 344 /** @} */ 345 346 # else /* !RT_OS_WINDOWS */ 347 347 348 348 /** … … 358 358 uint32_t iCode; 359 359 } RTCOMERRMSG; 360 #endif /* !RT_OS_WINDOWS */361 360 /** Pointer to a XPCOM/COM error code message. */ 362 361 typedef RTCOMERRMSG *PRTCOMERRMSG; … … 371 370 */ 372 371 RTDECL(PCRTCOMERRMSG) RTErrCOMGet(uint32_t rc); 372 373 # endif /* !RT_OS_WINDOWS */ 373 374 374 375 #endif /* IN_RING3 */
Note:
See TracChangeset
for help on using the changeset viewer.