Syntax
struct AttributeGenericInfoDef
{
BYTE name[MM_MAX_OBJECT_STRING_LEN];
LONG attributetype;
LONG status;
LONG attributeid;
LONG valuetype;
LONG valuesize;
OBID appliedobjectid;
OBID applicationid;
};
Fields
- name
- The null-terminated name of the attribute. The length,
including the null, will not be larger than MM_MAX_OBJECT_STRING_LEN
(see Miscellaneous
Defines).
- attributetype
- The attribute type. See Attribute Types.
- status
- The attribute’s status. The generic object
status applies here and to MM_ATTRIBUTE_SETTABLE
(see Attribute Object
Status) indicating
that the attribute can be set.
- attributeid
- The consistent ID that identifies this attribute.
- valuetype
- The data type of the attribute’s value.
See Attribute Data
Types.
- valuesize
- The size, in bytes, of the value based on its type.
See Attribute Data
Types.
- appliedobjectid
- The OBID of the object to which the attribute was
applied.
- applicationid
- The OBID of the application that registered the
attribute.