StructMemberTypes

Use these constants with the CommonCAdapter.GetStructMemberType and CommonCAdapter.SetStructMemberType methods to get or set the data type of the structure member.

  • StructMemberType_CString –(Value: 0x20) Specifies a string stored as a C-style char pointer. Do not modify the string value in the struct if it has this type.
  • StructMemberType_CStringBuffer –(Value: 0x22) Specifies a C-style char string stored as a buffer that can be modified.
  • StructMemberType_CVIHandle –(Value: 0x41) Specifies an ActiveX reference stored as a LabWindows/CVI CAObjHandle.
  • StructMemberType_Float32 –(Value: 0) Specifies a number stored as a 32-bit floating point value.
  • StructMemberType_Float64 –(Value: 1) Specifies a number stored as a 64-bit floating point value.
  • StructMemberType_IDispatch –(Value: 0x40) Specifies an ActiveX reference stored as an IDispatch pointer.
  • StructMemberType_Int16 –(Value: 4) Specifies a number stored as a 16-bit integer.
  • StructMemberType_Int32 –(Value: 6) Specifies a number stored as a 32-bit integer.
  • StructMemberType_Int64 –(Value: 8) Specifies a number stored as a 64-bit integer.
  • StructMemberType_Int8 –(Value: 2) Specifies a number stored as a 8-bit integer.
  • StructMemberType_IUnknown –(Value: 0x42) Specifies a COM reference stored as an IUnknown pointer.
  • StructMemberType_UInt16 –(Value: 5) Specifies a number stored as a 16-bit unsigned integer.
  • StructMemberType_UInt32 –(Value: 7) Specifies a number stored as a 32-bit unsigned integer.
  • StructMemberType_UInt64 –(Value: 9) Specifies a number stored as a 64-bit unsigned integer.
  • StructMemberType_UInt8 –(Value: 3) Specifies a number stored as a 8-bit unsigned integer.
  • StructMemberType_UnicodeString –(Value: 0x21) Specifies a string stored as a C-style wide character pointer, such as a pointer to an array of 16-bit characters. Do not modify the string value in the struct if it has this type.
  • StructMemberType_UnicodeStringBuffer –(Value: 0x23) Specifies a C-style wide character string stored as a buffer of 16-bit characters that can be modified.

See Also

CommonCAdapter.GetStructMemberType

CommonCAdapter.SetStructMemberType