Ruby: ext/win32ole/win32ole_error.h Source File

Ruby 3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)

win32ole_error.h
Go to the documentation of this file.
1#ifndef WIN32OLE_ERROR_H
2#define WIN32OLE_ERROR_H 1
3
4extern VALUE eWIN32OLERuntimeError;
5extern VALUE eWIN32OLEQueryInterfaceError;
6 NORETURN(PRINTF_ARGS(void ole_raise(HRESULT hr, VALUE ecs, const char *fmt, ...), 3, 4));
7void Init_win32ole_error(void);
8
9#endif
NORETURN
#define NORETURN(x)
Definition: attributes.h:152
PRINTF_ARGS
#define PRINTF_ARGS(decl, string_index, first_to_check)
Definition: attributes.h:112
VALUE
unsigned long VALUE
Definition: value.h:38
HRESULT
typedef HRESULT(STDAPICALLTYPE FNCOCREATEINSTANCEEX)(REFCLSID
eWIN32OLERuntimeError
VALUE eWIN32OLERuntimeError
Definition: win32ole_error.c:63
eWIN32OLEQueryInterfaceError
VALUE eWIN32OLEQueryInterfaceError
Definition: win32ole_error.c:64
Init_win32ole_error
void Init_win32ole_error(void)
Definition: win32ole_error.c:67
ole_raise
void ole_raise(HRESULT hr, VALUE ecs, const char *fmt,...)
Definition: win32ole_error.c:46