DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

DmiRegisterCi(3dmi)


DmiRegisterCi -- register a callable interface with the service provider

Synopsis

#include <dmi2srv.h>

DmiErrorStatus_t DMI_API DmiRegisterCi ( [in] DmiRegisterInfo_t* regInfo, [out] DmiHandle_t* handle, [out] DmiString_t** dmiSpecLevel );

Description

This function is used to register a callable interface for components that have resident instrumentation code, and/or to get the version of the service provider.

Parameters


regInfo
(Input) Data structure containing component, group and attribute IDs, as well as pointers to component instrumentation entry points.

handle
(output) Service provider assigned handle uniquely identifying this component instrumentation.

dmiSpecLevel
(output) The service provider version string

Return values


DMIERR_NO_ERROR

DMIERR_ILLEGAL_HANDLE

DMIERR_OUT_OF_MEMORY

DMIERR_INSUFFICIENT_PRIVILEGES

DMIERR_SP_INACTIVE

DMIERR_ATTRIBUTE_NOT_FOUND

DMIERR_COMPONENT_NOT_FOUND

DMIERR_GROUP_NOT_FOUND

DMIERR_DATABASE_CORRUPT

DMIERR_ILLEGAL_DMI_LEVEL

DMIERR_ILLEGAL_KEYS

DMIERR_UNABLE_TO_ADD_ROW

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