#include <comstl/conversion/interface_cast.hpp>
For use with comstl::interface_cast_noaddref and comstl::interface_cast_addref cast classes.
Public Types | |
typedef bad_interface_cast | thrown_type |
The exception type. | |
Public Member Functions | |
void | operator() (HRESULT hr, REFIID riid) throw ( bad_interface_cast ) |
The function call operator, which throws the exception. |
typedef bad_interface_cast thrown_type |
The exception type.
void operator() | ( | HRESULT | hr, | |
REFIID | riid | |||
) | throw ( bad_interface_cast ) [inline] |
The function call operator, which throws the exception.
hr | The HRESULT that caused the error | |
riid | The REFIID that could not be acquired |