[ Previous | Next | Contents | Glossary | Home | Search ]
Motif 2.1 Programmer's Reference


MrmCloseHierarchy

Closes a UID hierarchy

Format

#include <Mrm/MrmPublic.h>
Cardinal MrmCloseHierarchy
MrmHierarchy
hierarchy_id

DESCRIPTION

The MrmCloseHierarchy function files associated with the hierarchy are closed by the Motif Resource Manager (MRM) and all associated memory is returned.

hierarchy_id
Specifies the ID of a previously opened UID hierarchy. The hierarchy_id was returned in a previous call to MrmOpenHierarchyPerDisplay.

RETURN

This function returns one of the following status return constants:

MrmSUCCESS
The function executed successfully.

MrmBAD_HIERARCHY
The hierarchy ID was invalid.

MrmFAILURE
The function failed.

RELATED

MrmOpenHierarchyPerDisplay (3).


[ Previous | Next | Contents | Glossary | Home | Search ]