#include <string>
#include <Windows.h>
#include <functional>
#include <comdef.h>
#include <sstream>
Go to the source code of this file.
◆ CHECK_HR
◆ CHECK_HR_STR
#define CHECK_HR_STR |
( |
|
call, |
|
|
|
hr |
|
) |
| |
Value: if( FAILED( hr ) ) \
{ \
std::ostringstream ss; \
std::string descr = ss.str(); \
throw std::runtime_error( descr ); \
}
std::string hr_to_string(HRESULT hr)
Definition: hresult.h:15
◆ LOG_HR
◆ LOG_HR_STR
#define LOG_HR_STR |
( |
|
call, |
|
|
|
hr |
|
) |
| |
Value: if( FAILED( hr ) ) \
{ \
std::ostringstream ss; \
std::string descr = ss.str(); \
LOG_DEBUG(descr); \
}