Contains WindowsException class. More...
#include <winerror.h>
#include <string>
#include <stdexcept>
Go to the source code of this file.
Classes | |
struct | WindowsException |
Windows exception class. More... |
Macros | |
#define | WINDOWS_EXCEPTION_H |
#define | THROW_WINDOWS_EXCEPTION(what, hResult) throw ::WindowsException( __FILE__, __LINE__, ( what ), ( hResult ) ) |
Throws a WindowsException labeled with the file, line, string what and HRESULT error code hResult . | |
#define | CHECK_HRESULT(what) |
Evaluates what , and if it returns an HRESULT failure code, throws a WindowsException. |
Contains WindowsException class.
Definition in file windows_exception.h.
#define CHECK_HRESULT | ( | what | ) |
Evaluates what
, and if it returns an HRESULT
failure code, throws a WindowsException.
Definition at line 34 of file windows_exception.h.