DmiSetDefaultMemDsc(3dmi)
DmiSetDefaultMemDsc --
set the value of the memory management descriptor parameter
Synopsis
#include <dmi2mem.h>
DmiErrorStatus_t DMI_API DmiSetDefaultMemDsc (
DmiMemDsc_t memDsc);
Description
DmiSetDefaultMemDsc sets the
memDsc parameter to the default memory
management descriptor in all subsequent interactions
between the application and the client.
The descriptor set by this function is a global per-process variable.
Be especially careful not to mix memory models in different threads,
when using this function in multi-thread applications.
Initially, the standard system descriptor is set as the default.
Parameters
memDsc-
(Input)
New default memory descriptor.
If the memDsc parameter is NULL,
the current setting remains unchanged.
Return values
DMIERR_NO_ERROR-
DMIERR_MEM_INIT_FAILURE-
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