The following code fragment is a definition of a DS_C_ATTRIBUTE_LIST object.
static OM_descriptor Single_Attribute_Object[] = {
OM_OID_DESC(OM_CLASS, DS_C_ATTRIBUTE),
OM_OID_DESC(DS_ATTRIBUTE_TYPE, DSX_A_CDS_Class),
{DS_ATTRIBUTE_VALUES, OM_S_PRINTABLE_STRING, \
OM_STRING("Printer")},
OM_NULL_DESCRIPTOR
};
static OM_descriptor Attribute_List_Object[] = {
OM_OID_DESC(OM_CLASS, DS_C_ATTRIBUTE_LIST),
{DS_ATTRIBUTES, OM_S_OBJECT, {0, Single_Attribute_Object}},
OM_NULL_DESCRIPTOR
};