Ruby  2.4.2p198(2017-09-14revision59899)
Functions
win32ole_error.c File Reference
#include "win32ole.h"
Include dependency graph for win32ole_error.c:

Go to the source code of this file.

Functions

static VALUE ole_hresult2msg (HRESULT hr)
 
void ole_raise (HRESULT hr, VALUE ecs, const char *fmt,...)
 
void Init_win32ole_error (void)
 

Function Documentation

◆ Init_win32ole_error()

void Init_win32ole_error ( void  )

Definition at line 64 of file win32ole_error.c.

References eWIN32OLERuntimeError, rb_define_class(), and rb_eRuntimeError.

Referenced by Init_win32ole().

◆ ole_hresult2msg()

static VALUE ole_hresult2msg ( HRESULT  hr)
static

Definition at line 6 of file win32ole_error.c.

References cWIN32OLE_lcid, msg, NULL, Qnil, rb_str_cat2(), rb_str_new2, strlen(), and term.

Referenced by ole_raise().

◆ ole_raise()

void ole_raise ( HRESULT  hr,
VALUE  ecs,
const char *  fmt,
  ... 
)