Type
|
Description
|
VT_EMPTY
|
No value specified. Incidentally, automation does not use
VT_EMPTY for empty optional parameters. Rather, it
uses VT_ERROR with a value of DISP_E_PARAMNOTFOUND
(which isn't exported by Perl: the value in current
Win32 SDK headers is 0x80020004).
|
VT_NULL
|
A propagating NULL value was specified (not to be
confused with a null pointer). This is used for things like the NULL
in SQL.
|
VT_I2
|
A two-byte integer value.
|
VT_I4
|
A four-byte integer value.
|
VT_R4
|
An IEEE four-byte real value.
|
VT_R8
|
An IEEE eight-byte real value.
|
VT_CY
|
An automation currency value.
|
VT_DATE
|
An automation date value.
|
VT_BSTR
|
A string value.
|
VT_DISPATCH
|
The value contains another automation object.
|
VT_ERROR
|
An error code was specified. The type of the error is determined by
the actual value. As mentioned earlier, this is used to implement
empty optional parameters.
|
VT_BOOL
|
A Boolean (true/false) value. If all bits are 1,
it's true; if all bits are 0,
it's false. Any other value is invalid.
|
VT_VARIANT
|
The value contains another Variant.
|
VT_UNKNOWN
|
The value contains an IUnknown pointer (the base class of COM
objects).
|
VT_UI1
|
An unsigned one-byte character.
|
VT_BYREF
|
Can be combined with some fields to indicate that the data is being
passed by reference, rather than by value.
|
VT_ARRAY
|
The value contains an OLE SAFEARRAY (this flag is not currently
exported by Perl).
|