DmiGetDefaultMemDsc(3dmi)


DmiGetDefaultMemDsc -- return the last set default memory management descriptor

Synopsis

#include <dmi2mem.h>

DmiMemDsc_t DMI_API DmiGetDefaultMemDsc ( DmiErrorStatus_t * status );

Description

DmiGetDefaultMemDsc returns the last set default memory management descriptor. The descriptor returned by this function is a global per-process variable. Initially, the standard system descriptor is set as the default.

Parameters


status
(Output) NULL, or a pointer to an address in memory where the DmiErrorStatus_t code is returned. If the status pointer is NULL, the error status is not returned. The possible error codes are:

DMIERR_NO_ERROR

DMIERR_MEM_INIT_FAILURE

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

Return values

When successful, this function returns the default memory model descriptor. Otherwise, it returns NULL.

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