DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 

DmiGetVersion(3dmi)


DmiGetVersion -- get version information about DMI Service Provider

Synopsis

cc [options] file -llibdmionc # remote calls
cc [options] file -llibdmi2api # local calls

#include <dmi2srv.h>

DmiErrorStatus_t DMI_API DmiGetVersion ( DmiHandle_t handle, DmiString_t ** dmiSpecLevel, DmiString_t ** description, DmiFileTypeList_t ** fileTypes );

Description

The DmiGetVersion function retrieves information about the DMI Service Provider. The management application uses this procedure to determine the DMI specification level supported by the Service Provider. This procedure also returns the Service Provider description string, and may contain version information about the Service Provider implementation.

Parameters


handle
(Input) An open session handle

dmiSpecLevel
(Output) The DMI Specification version

description
(Output) The operating system-specific DMI Service Provider version

fileTypes
(Output) The file types supported for MIF installation

Return values


DMIERR_NO_ERROR

DMIERR_ILLEGAL_HANDLE

DMIERR_OUT_OF_MEMORY

DMIERR_INSUFFICIENT_PRIVILEGES

DMIERR_SP_INACTIVE

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