CapValueType

Description

Returns or sets the value type for reading the value of a capability.

Data type

EnumDWT_CapValueType (short)

Syntax

.CapValueType = EnumDWT_CapValueType.TWTY_INT16;

Remarks

When you try to read a capability value, check CapValueType after you call CapGet().
When you try to write a capability value, set CapValueType before you call CapSet().

Allowed Value Numeric value
TWTY_INT8 0
TWTY_INT16 1
TWTY_INT32 2
TWTY_UINT8 3
TWTY_UINT16 4
TWTY_int 5
TWTY_BOOL 6
TWTY_FIX32 7
TWTY_FRAME 8
TWTY_STR32 9
TWTY_STR64 10
TWTY_STR128 11
TWTY_STR255 12

See also

How to Negotiate Capability with Different Capability Container Types
OpenSource()
CapGet()
CapGetCurrent()
CapGetDefault()
CapReset()
CapSet()
CapType
CapValue

Is this page helpful?

Leave a Reply

Your email address will not be published.