DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

MrmCloseHierarchy(Xm)


MrmCloseHierarchy -- closes a UID hierarchy

Syntax

#include <Mrm/MrmPublic.h>

Cardinal MrmCloseHierarchy(hierarchy_id) MrmHierarchy hierarchy_id;

Description

The MrmCloseHierarchy function closes a UID hierarchy previously opened by MrmOpenHierarchyPerDisplay. All 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 value

This function returns one of these status return constants:

MrmSUCCESS
The function executed successfully.

MrmBAD_HIERARCHY
The hierarchy ID was invalid.

MrmFAILURE
The function failed.

See also

MrmOpenHierarchyPerDisplay(Xm)
© 2003 Motif Reference (Xm)
SCO OpenServer Release 5.0.7 -- 11 February 2003