Ruby
2.4.2p198(2017-09-14revision59899)
|
#include "win32ole.h"
Go to the source code of this file.
Data Structures | |
struct | oletypedata |
Variables | |
static const rb_data_type_t | oletype_datatype |
Definition at line 207 of file win32ole_type.c.
References cWIN32OLE_TYPE, foletype_s_allocate(), and oletype_set_member().
Referenced by ole_type_from_itypeinfo(), and ole_types_from_typelib().
Definition at line 848 of file win32ole_type.c.
References itypeinfo(), ole_type_impl_ole_types(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 865 of file win32ole_type.c.
References itypeinfo(), ole_type_impl_ole_types(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 388 of file win32ole_type.c.
References itypeinfo(), ole_type_guid(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 660 of file win32ole_type.c.
References itypeinfo(), ole_type_helpcontext(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 633 of file win32ole_type.c.
References itypeinfo(), ole_type_helpfile(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 571 of file win32ole_type.c.
References itypeinfo(), ole_type_helpstring(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 815 of file win32ole_type.c.
References itypeinfo(), ole_type_impl_ole_types(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 258 of file win32ole_type.c.
References eWIN32OLERuntimeError, HRESULT(), ole_raise(), OLE_RELEASE, ole_vstr2wc(), oleclass_from_typelib(), Qfalse, Qnil, rb_raise(), SafeStringValue, StringValuePtr, and typelib_file().
Referenced by Init_win32ole_type().
Definition at line 881 of file win32ole_type.c.
References default_inspect().
Referenced by Init_win32ole_type().
Definition at line 485 of file win32ole_type.c.
References itypeinfo(), ole_type_major_version(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 742 of file win32ole_type.c.
References itypeinfo(), ole_methods_from_typeinfo(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 514 of file win32ole_type.c.
References itypeinfo(), ole_type_minor_version(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 294 of file win32ole_type.c.
References rb_intern, and rb_ivar_get().
Referenced by Init_win32ole_type().
Definition at line 354 of file win32ole_type.c.
References itypeinfo(), ole_ole_type(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 758 of file win32ole_type.c.
References itypeinfo(), ole_typelib_from_itypeinfo(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 422 of file win32ole_type.c.
References itypeinfo(), ole_type_progid(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 196 of file win32ole_type.c.
References NULL, ole_initialize(), oletypedata::pTypeInfo, and TypedData_Make_Struct.
Referenced by create_win32ole_type(), and Init_win32ole_type().
Definition at line 115 of file win32ole_type.c.
References cWIN32OLE_TYPELIB, rb_funcall(), and rb_intern.
Referenced by Init_win32ole_type().
Definition at line 154 of file win32ole_type.c.
References err, Qnil, rb_ary_new(), rb_ary_push(), rb_str_new2, reg_enum_key(), reg_get_val2(), reg_open_key(), and reg_open_vkey().
Referenced by Init_win32ole_type().
Definition at line 137 of file win32ole_type.c.
References rb_eval_string().
Referenced by Init_win32ole_type().
Definition at line 832 of file win32ole_type.c.
References itypeinfo(), ole_type_impl_ole_types(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 605 of file win32ole_type.c.
References itypeinfo(), ole_type_src_type(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 544 of file win32ole_type.c.
References itypeinfo(), ole_type_typekind(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 723 of file win32ole_type.c.
References itypeinfo(), ole_variables(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
Definition at line 456 of file win32ole_type.c.
References itypeinfo(), ole_type_visible(), and oletypedata::pTypeInfo.
Referenced by Init_win32ole_type().
void Init_win32ole_type | ( | void | ) |
Definition at line 886 of file win32ole_type.c.
References cWIN32OLE_TYPE, foletype_default_event_sources(), foletype_default_ole_types(), foletype_guid(), foletype_helpcontext(), foletype_helpfile(), foletype_helpstring(), foletype_impl_ole_types(), foletype_initialize(), foletype_inspect(), foletype_major_version(), foletype_methods(), foletype_minor_version(), foletype_name(), foletype_ole_type(), foletype_ole_typelib(), foletype_progid(), foletype_s_allocate(), foletype_s_ole_classes(), foletype_s_progids(), foletype_s_typelibs(), foletype_source_ole_types(), foletype_src_type(), foletype_typekind(), foletype_variables(), foletype_visible(), rb_cObject, rb_define_alias(), rb_define_alloc_func(), rb_define_class(), rb_define_method(), and rb_define_singleton_method().
Referenced by Init_win32ole().
ITypeInfo* itypeinfo | ( | VALUE | self | ) |
Definition at line 76 of file win32ole_type.c.
References oletypedata::pTypeInfo, and TypedData_Get_Struct.
Referenced by folemethod_initialize(), foletype_default_event_sources(), foletype_default_ole_types(), foletype_guid(), foletype_helpcontext(), foletype_helpfile(), foletype_helpstring(), foletype_impl_ole_types(), foletype_major_version(), foletype_methods(), foletype_minor_version(), foletype_ole_type(), foletype_ole_typelib(), foletype_progid(), foletype_source_ole_types(), foletype_src_type(), foletype_typekind(), foletype_variables(), and foletype_visible().
|
static |
Definition at line 300 of file win32ole_type.c.
References HRESULT(), OLE_GET_TYPEATTR, OLE_RELEASE_TYPEATTR, Qnil, and rb_str_new2.
Referenced by foletype_ole_type().
VALUE ole_type_from_itypeinfo | ( | ITypeInfo * | pTypeInfo | ) |
Definition at line 84 of file win32ole_type.c.
References create_win32ole_type(), HRESULT(), NULL, OLE_RELEASE, Qnil, and WC2VSTR.
Referenced by fole_type(), and ole_type_impl_ole_types().
|
static |
Definition at line 361 of file win32ole_type.c.
References FALSE, HRESULT(), len, OLE_GET_TYPEATTR, OLE_RELEASE_TYPEATTR, ole_wc2vstr(), and Qnil.
Referenced by foletype_guid().
|
static |
Definition at line 640 of file win32ole_type.c.
References HRESULT(), NULL, ole_docinfo_from_type(), Qnil, and RB_INT2FIX.
Referenced by foletype_helpcontext().
|
static |
Definition at line 612 of file win32ole_type.c.
References HRESULT(), NULL, ole_docinfo_from_type(), Qnil, and WC2VSTR.
Referenced by foletype_helpfile().
|
static |
Definition at line 551 of file win32ole_type.c.
References HRESULT(), NULL, ole_docinfo_from_type(), Qnil, and WC2VSTR.
Referenced by foletype_helpstring().
|
static |
Definition at line 765 of file win32ole_type.c.
References HRESULT(), OLE_GET_TYPEATTR, OLE_RELEASE, OLE_RELEASE_TYPEATTR, ole_type_from_itypeinfo(), Qnil, rb_ary_new(), and rb_ary_push().
Referenced by foletype_default_event_sources(), foletype_default_ole_types(), foletype_impl_ole_types(), and foletype_source_ole_types().
|
static |
Definition at line 463 of file win32ole_type.c.
References eWIN32OLERuntimeError, HRESULT(), OLE_GET_TYPEATTR, ole_raise(), OLE_RELEASE_TYPEATTR, and RB_INT2FIX.
Referenced by foletype_major_version().
|
static |
Definition at line 492 of file win32ole_type.c.
References eWIN32OLERuntimeError, HRESULT(), OLE_GET_TYPEATTR, ole_raise(), OLE_RELEASE_TYPEATTR, and RB_INT2FIX.
Referenced by foletype_minor_version().
|
static |
Definition at line 395 of file win32ole_type.c.
References FALSE, HRESULT(), OLE_GET_TYPEATTR, OLE_RELEASE_TYPEATTR, ole_wc2vstr(), and Qnil.
Referenced by foletype_progid().
|
static |
Definition at line 578 of file win32ole_type.c.
References alias, HRESULT(), OLE_GET_TYPEATTR, OLE_RELEASE_TYPEATTR, ole_typedesc2val(), and Qnil.
Referenced by foletype_src_type().
|
static |
Definition at line 521 of file win32ole_type.c.
References eWIN32OLERuntimeError, HRESULT(), OLE_GET_TYPEATTR, ole_raise(), OLE_RELEASE_TYPEATTR, and RB_INT2FIX.
Referenced by foletype_typekind().
|
static |
Definition at line 430 of file win32ole_type.c.
References HRESULT(), OLE_GET_TYPEATTR, OLE_RELEASE_TYPEATTR, Qfalse, and Qtrue.
Referenced by foletype_visible().
|
static |
Definition at line 667 of file win32ole_type.c.
References create_win32ole_variable(), eWIN32OLERuntimeError, HRESULT(), len, NULL, OLE_GET_TYPEATTR, ole_raise(), OLE_RELEASE_TYPEATTR, rb_ary_new(), rb_ary_push(), and WC2VSTR.
Referenced by foletype_variables().
Definition at line 215 of file win32ole_type.c.
References count, HRESULT(), NULL, OLE_RELEASE, oletype_set_member(), oletypedata::pTypeInfo, Qfalse, Qtrue, rb_str_cmp(), and WC2VSTR.
Referenced by foletype_initialize().
|
static |
Definition at line 63 of file win32ole_type.c.
References free(), OLE_FREE, and oletypedata::pTypeInfo.
Definition at line 185 of file win32ole_type.c.
References OLE_ADDREF, oletypedata::pTypeInfo, rb_intern, rb_ivar_set(), and TypedData_Get_Struct.
Referenced by create_win32ole_type(), and oleclass_from_typelib().
|
static |
Definition at line 71 of file win32ole_type.c.
|
static |
Definition at line 50 of file win32ole_type.c.