Is there a function in win API which can be used to extract the string representation of HRESULT value?
The problem is that not all return values are documented in M
Since c++11, this functionality is built into the standard library:
#include std::string message = std::system_category().message(hr)