DOKK / manpages / debian 12 / libmotif-dev / MrmCloseHierarchy.3.en
MrmCloseHierarchy(3) Library Functions Manual MrmCloseHierarchy(3)

MrmCloseHierarchy — Closes a UID hierarchy "MrmCloseHierarchy" "uil functions" "MrmCloseHierarchy" "uid hierarchy"

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

"MRM function" "MrmCloseHierarchy" "MrmCloseHierarchy" "definition"

The MrmCloseHierarchy function "MrmCloseHierarchy" "description" 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.

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

"MrmSUCCESS" "MrmBAD_HIERARCHY" "MrmFAILURE"

This function returns one of the following status return constants:

The function executed successfully.
The hierarchy ID was invalid.
The function failed.

MrmOpenHierarchyPerDisplay(3).