CiReserveAttribute(3dmi)


CiReserveAttribute -- can the specified attribute be set ?

Synopsis

#include <dmi2ci>

DmiErrorStatus_t DMI_API CiReserveAttribute ( DmiId_t componentId, DmiId_t groupId, DmiId_t attributeId, DmiAttributeValues_t* keyList, DmiAttributeData_t* data);

Description

This function is called to query if the specified attribute could be set given that these same parameters were passed to the CiSetAttribute procedure. For more information, see the DMI specification .

Parameters


componentId
(Input) Component ID containing group

groupId
(Input) Group ID containing attribute

attributeId
(Input) Attribute ID to get

keyList
(Input) List of row keys

data
(Input) Attribute value to reserve

Return values


DMIERR_NO_ERROR

DMIERR_OUT_OF_MEMORY

DMIERR_SP_INACTIVE

DMIERR_ATTRIBUTE_NOT_FOUND

DMIERR_VALUE_EXCEEDS_MAXSIZE

DMIERR_COMPONENT_NOT_FOUND

DMIERR_GROUP_NOT_FOUND

DMIERR_ILLEGAL_KEYS

DMIERR_ILLEGAL_TO_SET

DMIERR_ROW_NOT_FOUND

DMIERR_ATTRIBUTE_NOT_SUPPORTED

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