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

Method GetMessageName

IntelPresentMon/Core/source/win/MessageMap.cpp:1015–1022  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1013 };
1014 }
1015 const wchar_t* MessageMap::GetMessageName(DWORD msg) const
1016 {
1017 if (auto i = map.find(msg); i != map.end())
1018 {
1019 return i->second;
1020 }
1021 return L"Unknown message code";
1022 }
1023}

Callers 1

LookupMessageNameMethod · 0.80

Calls 1

endMethod · 0.45

Tested by

no test coverage detected