StructMemberStorageOptions

Use these constants with the CommonCAdapter.GetStructMemberStorage and CommonCAdapter.SetStructMemberStorage methods to specify how to store a member inside a structure.

  • StructMemberStorage_EmbeddedStruct –(Value: 32) Specifies to store a struct as a member inside the containing struct.
  • StructMemberStorage_InlineString –(Value: 0) Specifies to store a string as an array of characters inside the struct.
  • StructMemberStorage_LabVIEWString –(Value: 2) Specifies to store a string in the format used by DLLs created with the LabVIEW Application Builder. The CommonCAdapter.GetStructMemberType and CommonCAdapter.SetStructMemberType methods do not apply when the CommonCAdapter.GetStructMemberStorage method returns this value.
  • StructMemberStorage_StringPointer –(Value: 1) Specifies to store a string as a character pointer. The characters themselves are stored at a memory location outside of the containing struct.
  • StructMemberStorage_StructPointer –(Value: 33) Specifies to store a pointer inside the containing struct which points to a member struct at a memory location outside of the containing struct.

See Also

CommonCAdapter.GetStructMemberStorage

CommonCAdapter.GetStructMemberType

CommonCAdapter.SetStructMemberStorage

CommonCAdapter.SetStructMemberType