| 8 | #include "win32.hpp" |
| 9 | |
| 10 | std::wstring Error::impl::FormatIRestrictedErrorInfo(HRESULT result, BSTR description) |
| 11 | { |
| 12 | return FormatHRESULT(result, Util::Trim({ description, SysStringLen(description) })); |
| 13 | } |
| 14 | |
| 15 | void Error::impl::HandleCriticalWithErrorInfo(std::wstring_view message, std::wstring_view error_message, std::source_location location, HRESULT err, IRestrictedErrorInfo* errInfo) |
| 16 | { |