DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

DmiRegister(3dmi)


DmiRegister -- open a session with the default Service Provider

Synopsis

#include <dmionc.h>

DmiErrorStatus_t DMI_API DmiRegister ( DmiHandle_t * handle);

Description

This function is also defined in the DMI 2.0 specification, but has slightly different functionality in the client front end: DmiRegister opens a session with the default Service Provider for the local node.

Parameters


handle
(Output) Unique, per-session handle that must be used in all subsequent DMI commands.

Return values


DMIERR_NO_ERROR

DMIERR_OUT_OF_MEMORY

DMIERR_INSUFFICIENT_PRIVILEGES

DMIERR_SP_INACTIVE

DMIERR_CFE_RPC_NOT_SUPPORTED

DMIERR_RPC_INVALID_ADDRESS

DMIERR_RPC_TRANSPORT_UNAVAILABLE

DMIERR_RPC_SERVER_UNAVAILABLE

DMIERR_RPC_LOW_RESOURCES

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 Intel Corporation, Inc. 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