#ifndef WIN32OLE_ERROR_H
#define WIN32OLE_ERROR_H 1

extern VALUE eWIN32OLERuntimeError;
extern VALUE eWIN32OLEQueryInterfaceError;
NORETURN(PRINTF_ARGS(void ole_raise(HRESULT hr, VALUE ecs, const char *fmt, ...), 3, 4));
void Init_win32ole_error(void);

#define HRESULT_LASTERROR() HRESULT_FROM_WIN32(GetLastError())

#endif
