Ruby
2.4.2p198(2017-09-14revision59899)
|
#include "win32ole.h"
Go to the source code of this file.
Data Structures | |
struct | oleparamdata |
Functions | |
static void | oleparam_free (void *ptr) |
static size_t | oleparam_size (const void *ptr) |
static VALUE | foleparam_s_allocate (VALUE klass) |
static VALUE | oleparam_ole_param_from_index (VALUE self, ITypeInfo *pTypeInfo, UINT method_index, int param_index) |
static VALUE | oleparam_ole_param (VALUE self, VALUE olemethod, int n) |
static VALUE | foleparam_initialize (VALUE self, VALUE olemethod, VALUE n) |
static VALUE | foleparam_name (VALUE self) |
static VALUE | ole_param_ole_type (ITypeInfo *pTypeInfo, UINT method_index, UINT index) |
static VALUE | foleparam_ole_type (VALUE self) |
static VALUE | ole_param_ole_type_detail (ITypeInfo *pTypeInfo, UINT method_index, UINT index) |
static VALUE | foleparam_ole_type_detail (VALUE self) |
static VALUE | ole_param_flag_mask (ITypeInfo *pTypeInfo, UINT method_index, UINT index, USHORT mask) |
static VALUE | foleparam_input (VALUE self) |
static VALUE | foleparam_output (VALUE self) |
static VALUE | foleparam_optional (VALUE self) |
static VALUE | foleparam_retval (VALUE self) |
static VALUE | ole_param_default (ITypeInfo *pTypeInfo, UINT method_index, UINT index) |
static VALUE | foleparam_default (VALUE self) |
static VALUE | foleparam_inspect (VALUE self) |
VALUE | create_win32ole_param (ITypeInfo *pTypeInfo, UINT method_index, UINT index, VALUE name) |
void | Init_win32ole_param (void) |
Variables | |
VALUE | cWIN32OLE_PARAM |
static const rb_data_type_t | oleparam_datatype |
Definition at line 52 of file win32ole_param.c.
References cWIN32OLE_PARAM, foleparam_s_allocate(), oleparamdata::index, oleparamdata::method_index, name, OLE_ADDREF, oleparamdata::pTypeInfo, rb_intern, rb_ivar_set(), and TypedData_Get_Struct.
Referenced by ole_method_params().
Definition at line 394 of file win32ole_param.c.
References oleparamdata::index, oleparamdata::method_index, ole_param_default(), oleparamdata::pTypeInfo, and TypedData_Get_Struct.
Referenced by foleparam_inspect(), and Init_win32ole_param().
Definition at line 146 of file win32ole_param.c.
References cWIN32OLE_METHOD, oleparam_ole_param(), rb_eTypeError, RB_FIX2INT, rb_obj_is_kind_of(), and rb_raise().
Referenced by Init_win32ole_param().
Definition at line 266 of file win32ole_param.c.
References oleparamdata::index, oleparamdata::method_index, ole_param_flag_mask(), oleparamdata::pTypeInfo, and TypedData_Get_Struct.
Referenced by Init_win32ole_param().
Definition at line 411 of file win32ole_param.c.
References foleparam_default(), foleparam_name(), make_inspect(), Qnil, rb_inspect(), rb_str_cat2(), and rb_str_concat().
Referenced by Init_win32ole_param().
Definition at line 167 of file win32ole_param.c.
References rb_intern, and rb_ivar_get().
Referenced by foleparam_inspect(), and Init_win32ole_param().
Definition at line 198 of file win32ole_param.c.
References oleparamdata::index, oleparamdata::method_index, ole_param_ole_type(), oleparamdata::pTypeInfo, and TypedData_Get_Struct.
Referenced by Init_win32ole_param().
Definition at line 232 of file win32ole_param.c.
References oleparamdata::index, oleparamdata::method_index, ole_param_ole_type_detail(), oleparamdata::pTypeInfo, and TypedData_Get_Struct.
Referenced by Init_win32ole_param().
Definition at line 313 of file win32ole_param.c.
References oleparamdata::index, oleparamdata::method_index, ole_param_flag_mask(), oleparamdata::pTypeInfo, and TypedData_Get_Struct.
Referenced by Init_win32ole_param().
Definition at line 294 of file win32ole_param.c.
References oleparamdata::index, oleparamdata::method_index, ole_param_flag_mask(), oleparamdata::pTypeInfo, and TypedData_Get_Struct.
Referenced by Init_win32ole_param().
Definition at line 333 of file win32ole_param.c.
References oleparamdata::index, oleparamdata::method_index, ole_param_flag_mask(), oleparamdata::pTypeInfo, and TypedData_Get_Struct.
Referenced by Init_win32ole_param().
Definition at line 73 of file win32ole_param.c.
References oleparamdata::index, oleparamdata::method_index, NULL, oleparamdata::pTypeInfo, and TypedData_Make_Struct.
Referenced by create_win32ole_param(), and Init_win32ole_param().
void Init_win32ole_param | ( | void | ) |
Definition at line 423 of file win32ole_param.c.
References cWIN32OLE_PARAM, foleparam_default(), foleparam_initialize(), foleparam_input(), foleparam_inspect(), foleparam_name(), foleparam_ole_type(), foleparam_ole_type_detail(), foleparam_optional(), foleparam_output(), foleparam_retval(), foleparam_s_allocate(), rb_cObject, rb_define_alias(), rb_define_alloc_func(), rb_define_class(), and rb_define_method().
Referenced by Init_win32ole().
|
static |
Definition at line 342 of file win32ole_param.c.
References HRESULT(), oleparamdata::index, ole_variant2val(), Qnil, and V_UNION1.
Referenced by foleparam_default().
|
static |
Definition at line 241 of file win32ole_param.c.
References HRESULT(), Qfalse, Qtrue, and V_UNION1.
Referenced by foleparam_input(), foleparam_optional(), foleparam_output(), and foleparam_retval().
|
static |
Definition at line 173 of file win32ole_param.c.
References HRESULT(), ole_typedesc2val(), Qnil, and rb_str_new2.
Referenced by foleparam_ole_type().
|
static |
Definition at line 207 of file win32ole_param.c.
References HRESULT(), ole_typedesc2val(), and rb_ary_new().
Referenced by foleparam_ole_type_detail().
|
static |
Definition at line 38 of file win32ole_param.c.
References free(), OLE_FREE, and oleparamdata::pTypeInfo.
Definition at line 126 of file win32ole_param.c.
References olemethoddata::index, olemethod_data_get_struct(), oleparam_ole_param_from_index(), and olemethoddata::pTypeInfo.
Referenced by foleparam_initialize().
|
static |
Definition at line 87 of file win32ole_param.c.
References ALLOCA_N, HRESULT(), oleparamdata::index, len, oleparamdata::method_index, OLE_ADDREF, ole_raise(), oleparamdata::pTypeInfo, rb_eIndexError, rb_eRuntimeError, rb_intern, rb_ivar_set(), rb_raise(), TypedData_Get_Struct, and WC2VSTR.
Referenced by oleparam_ole_param().
|
static |
Definition at line 46 of file win32ole_param.c.
VALUE cWIN32OLE_PARAM |
Definition at line 3 of file win32ole_param.c.
Referenced by create_win32ole_param(), and Init_win32ole_param().
|
static |
Definition at line 31 of file win32ole_param.c.