CommonCParameterTypes
- Updated2025-07-21
- 2 minute(s) read
CommonCParameterTypes
Use the following constants with the CVIParameter.Type and DllParameter.Type properties to specify the parameters data type, or as the parameterType parameter of the CVIParameters.New and DllParameters.New methods. When you get or set the parameter data type, also get or set the category with the CVIParameter.Category or DllParameter.Category properties, or set the parameterCategory parameter of the CVIParameters.New and DllParameters.New methods.
- CParamType_CString –(Value: 0x20) Specifies that the parameter is a C-style string, such as a pointer to an array of single-byte characters. Ensure the code module does not modify the value of a string parameter of this type.
- CParamType_CStringBuffer –(Value: 0x22) Specifies that the parameter is a C-style string buffer, such as a pointer to a modifiable array of single-byte characters. The code module can also modify the value of a string parameter of this type.
- CParamType_CVIHandle –(Value: 0x41) Specifies that the parameter is an ActiveX reference passed as a CVI CAObjHandle.
- CParamType_Float32 –(Value: 6) Specifies that the parameter is a 32-bit floating-point number.
- CParamType_Float64 –(Value: 7) Specifies that the parameter is a 64-bit floating-point number.
- CParamType_IDispatch –(Value: 0x40) Specifies that the parameter is a pointer to an ActiveX dispatch interface.
- CParamType_Int16 –(Value: 2) Specifies that the parameter is a 16-bit integer.
- CParamType_Int32 –(Value: 4) Specifies that the parameter is a 32-bit integer.
- CParamType_Int64 –(Value: 8) Specifies that the parameter is a 64-bit integer.
- CParamType_Int8 –(Value: 0) Specifies that the parameter is an 8-bit integer.
- CParamType_IUnknown –(Value: 0x42) Specifies that the parameter is a pointer to an ActiveX IUnknown interface.
- CParamType_NotUsed –(Value: 200) Specifies that no data type is associated with the category of the parameter. Refer to CVIParameterCategories and DllParameterCategories for more information about category descriptions.
- CParamType_UInt16 –(Value: 3) Specifies that the parameter is a 16-bit unsigned integer.
- CParamType_UInt32 –(Value: 5) Specifies that the parameter is a 32-bit unsigned integer.
- CParamType_UInt64 –(Value: 9) Specifies that the parameter is a 64-bit unsigned integer.
- CParamType_UInt8 –(Value: 1) Specifies that the parameter is an 8-bit unsigned integer.
- CParamType_UnicodeString –(Value: 0x21) Specifies that the parameter is a C-style, wide character string buffer, such as a pointer to an array of double-byte characters. Ensure the code module does not modify the value of a string parameter of this type.
- CParamType_UnicodeStringBuffer –(Value: 0x23) Specifies that the parameter is a C-style, wide character string buffer, such as a pointer to a modifiable array of dual-byte characters. The code module can also modify the value of a string parameter of this type.