Module: WIN32OLE::VARIANT
- Defined in:
- lib/win32ole/win32ole_variant.rb
Constant Summary collapse
- VT_I2 =
Short
2
- VT_I4 =
Int
3
- VT_R4 =
Float
4
- VT_R8 =
Double
5
- VT_CY =
Currency
6
- VT_DATE =
Date
7
- VT_BSTR =
String
8
- VT_DISPATCH =
Dispatch
9
- VT_ERROR =
Error
10
- VT_BOOL =
Boolean
11
- VT_VARIANT =
Variant containing Variant
12
- VT_UNKNOWN =
Unknown
13
- VT_DECIMAL =
Decimal
14
- VT_I1 =
Nothing in Jacob
16
- VT_UI1 =
Byte
17
- VT_UI2 =
Nothing in Jacob
18
- VT_UI4 =
Nothing in Jacob
19
- VT_I8 =
Not in MRI win32ole but in Jacob
20
- VT_UI8 =
!Jacob
21
- VT_INT =
Nothing in Jacob
22
- VT_UINT =
Nothing in Jacob
23
- VT_VOID =
!Jacob
24
- VT_HRESULT =
!Jacob
25
- VT_PTR =
Pointer
26
- VT_SAFEARRAY =
!Jacob
27
- VT_CARRAY =
!Jacob
28
- VT_USERDEFINED =
!Jacob
29
- VT_LPSTR =
!Jacob
30
- VT_LPWSTR =
!Jacob
31
- VT_ARRAY =
Array
8192
- VT_BYREF =
Reference
16384
- VARIANTS =
{ VT_I2 => "I2", VT_I4 => "I4", VT_R4 => "R4", VT_R8 => "R8", VT_CY => "CY", VT_DATE => "DATE", VT_BSTR => "BSTR", VT_BOOL => "BOOL", VT_VARIANT => "VARIANT", VT_DECIMAL => "DECIMAL", VT_I1 => "I1", VT_UI1 => "UI1", VT_UI2 => "UI2", VT_UI4 => "UI4", VT_I8 => "I8", VT_UI8 => "UI8", VT_INT => "INT", VT_UINT => "UINT", VT_VOID => "VOID", VT_HRESULT => "HRESULT", VT_PTR => "PTR", VT_SAFEARRAY => "SAFEARRAY", VT_CARRAY => "CARRAY", VT_USERDEFINED => "USERDEFINED", VT_UNKNOWN => "UNKNOWN", VT_DISPATCH => "DISPATCH", VT_ERROR => "ERROR", VT_LPSTR => "LPSTR", VT_LPWSTR => "LPWSTR" }
Class Method Summary collapse
Class Method Details
.variant_to_string(vt) ⇒ Object
47 48 49 |
# File 'lib/win32ole/win32ole_variant.rb', line 47 def variant_to_string(vt) VARIANTS[vt] end |