MCPcopy Create free account
hub / github.com/GameTechDev/PresentMon / Resolve

Method Resolve

IntelPresentMon/CommonUtilities/win/HrErrorCodeProvider.cpp:12–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10 }
11
12 log::IErrorCodeResolver::Strings pmon::util::win::HrErrorCodeProvider::Resolve(const log::ErrorCode& c) const
13 {
14 if (const auto s = c.AsSigned()) {
15 return {
16 .type = "HRESULT",
17 .description = GetErrorDescription((HRESULT)*s),
18 };
19 }
20 return {};
21 }
22}

Callers

nothing calls this directly

Calls 2

GetErrorDescriptionFunction · 0.85
AsSignedMethod · 0.80

Tested by

no test coverage detected