CiGetNextAttribute(3dmi)


CiGetNextAttribute -- get value of attribute following currently referenced attribute.

Synopsis

#include <dmi2ci.h>

DmiErrorStatus_t DMI_API CiGetNextAttribute ( DmiId_t componentId, DmiId_t groupId, DmiId_t attributeId, DmiString_t* language, DmiAttributeValues_t* keyList, DmiAttributeData_t** data);

Description

This function gets the value of the attribute immediately following the currently referenced attribute, returning a pointer to a DmiAttributeData_t object that contains the ID, type, and pointer to value for the SUCCESSOR of the specified attribute.

Parameters


componentId
(Input) Component ID containing group

groupId
(Input) Group ID containing attribute

attributeId
(Input) Attribute ID to get

language
(Input) language-code | territory-code | encoding for return data

keyList
(Input) List of row keys

data
(Output) Attribute value returned

Return values


DMIERR_NO_ERROR

DMIERR_OUT_OF_MEMORY

DMIERR_INSUFFICIENT_PRIVILEGES

DMIERR_ATTRIBUTE_NOT_FOUND

DMIERR_COMPONENT_NOT_FOUND

DMIERR_GROUP_NOT_FOUND

DMIERR_ILLEGAL_KEYS

DMIERR_ILLEGAL_TO_GET

DMIERR_ROW_NOT_FOUND

DMIERR_ATTRIBUTE_NOT_SUPPORTED

DMIERR_VALUE_UNKNOWN

For a description of return values, see ``DMI error codes'' in Desktop Management Interface programming.

Notices

Portions of this page are derived from material for which the copyright owner is the Desktop Management Task Force. The material is reprinted with permission. See copyright page for a full statement of rights and permissions.


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004