Ruby: ext/win32ole/win32ole_type.c File Reference

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

Data Structures | Functions | Variables
win32ole_type.c File Reference
`#include "win32ole.h"`

Go to the source code of this file.

## Data Structures
struct | oletypedata

## Functions
ITypeInfo * | itypeinfo (VALUE self)
VALUE | ole_type_from_itypeinfo (ITypeInfo *pTypeInfo)
VALUE | create_win32ole_type (ITypeInfo *pTypeInfo, VALUE name)
void | Init_win32ole_type (void)

## Variables
VALUE | cWIN32OLE_TYPE

## Function Documentation

## ◆ create_win32ole_type()

VALUE create_win32ole_type | ( | ITypeInfo * | pTypeInfo,
|  | VALUE | name
| ) |  |

Definition at line 207 of file win32ole_type.c.

References cWIN32OLE_TYPE, name, and oletypedata::pTypeInfo.

Referenced by ole_type_from_itypeinfo().

## ◆ Init_win32ole_type()

void Init_win32ole_type | ( | void |  | ) |

Definition at line 888 of file win32ole_type.c.

References cWIN32OLE_TYPE, 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 * itypeinfo | ( | VALUE | self | ) |

Definition at line 76 of file win32ole_type.c.

References oletypedata::pTypeInfo, and TypedData_Get_Struct.

## ◆ ole_type_from_itypeinfo()

VALUE ole_type_from_itypeinfo | ( | ITypeInfo * | pTypeInfo | ) |

Definition at line 84 of file win32ole_type.c.

References create_win32ole_type(), HRESULT(), NULL, OLE_RELEASE, oletypedata::pTypeInfo, Qnil, and WC2VSTR.

## Variable Documentation

## ◆ cWIN32OLE_TYPE

VALUE cWIN32OLE_TYPE

Definition at line 886 of file win32ole_type.c.

Referenced by create_win32ole_type(), and Init_win32ole_type().