<!-- $XConsortium: OpenHieB.sgm /main/9 1996/09/08 21:25:53 rws $ -->
<!-- (c) Copyright 1995 Digital Equipment Corporation. -->
<!-- (c) Copyright 1995 Hewlett-Packard Company. -->
<!-- (c) Copyright 1995 International Business Machines Corp. -->
<!-- (c) Copyright 1995 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1995 Novell, Inc. -->
<!-- (c) Copyright 1995 FUJITSU LIMITED. -->
<!-- (c) Copyright 1995 Hitachi. -->

<RefEntry Id="CDEMMA.MAN17.rsml.1">
<RefMeta>
<RefEntryTitle>MrmOpenHierarchyFromBuffer</RefEntryTitle>
<ManVolNum>library call</ManVolNum>
</RefMeta>
<RefNameDiv>
<RefName><Function>MrmOpenHierarchyFromBuffer</Function></RefName>
<RefPurpose>Allocates a hierarchy ID and opens a buffer containing a memory image of a UID file
<IndexTerm>
<Primary>MrmOpenHierarchyFrom\\%Buffer</Primary>
</IndexTerm><IndexTerm>
<Primary>uil functions</Primary>
<Secondary>MrmOpenHierarchyFrom\\%Buffer</Secondary>
</IndexTerm></RefPurpose>
</RefNameDiv>
<!-- -->
<!-- @OSF_COPYRIGHT@-->
<!-- COPYRIGHT NOTICE-->
<!-- Copyright (c) 1990, 1991, 1992, 1993 Open Software Foundation, Inc.-->
<!-- ALL RIGHTS RESERVED (MOTIF). See the file named COPY.MOTIF.DOC for-->
<!-- the full copyright text.-->
<!-- -->
<!-- HISTORY-->
<!-- -->
<RefSynopsisDiv>
<FuncSynopsis Remap="not-ANSI">
<FuncSynopsisInfo>#include &lt;Mrm/MrmPublic.h>
<?sml-space \n(PDu></FuncSynopsisInfo>
<FuncDef>Cardinal <Function>MrmOpenHierarchyFromBuffer</Function></FuncDef>
<!--<ParamDef><Replaceable>uid_buffer, hierarchy_id</Replaceable></ParamDef>-->
<ParamDef>unsigned char <Parameter>uid_buffer</Parameter></ParamDef>
<ParamDef>MrmHierarchy *<Parameter>hierarchy_id</Parameter></ParamDef>
</FuncSynopsis>
</RefSynopsisDiv>
<RefSect1>
<Title>DESCRIPTION</Title>
<Para><Function>MrmOpenHierarchyFromBuffer</Function> allows you to specify a buffer
containing information from UID files that MRM searches in subsequent
fetch operations.
This function also allocates a hierarchy ID and initializes the
optimized search lists in the hierarchy.
</Para>
<VariableList>
<VarListEntry>
<Term><Symbol Role="Variable">buffer</Symbol></Term>
<ListItem>
<Para>Specifies a stream of bytes containing information from UID files
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><Symbol Role="Variable">hierarchy_id</Symbol></Term>
<ListItem>
<Para>Returns the search hierarchy ID.
The search hierarchy ID identifies the buffer that MRM searches when
performing subsequent fetch calls.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RETURN</Title>
<Para>This function returns one of the following status return constants:<IndexTerm>
<Primary>MrmSUCCESS</Primary>
</IndexTerm><IndexTerm>
<Primary>MrmFAILURE</Primary>
</IndexTerm>
</Para>
<VariableList>
<VarListEntry>
<Term><SystemItem Class="Constant">MrmSUCCESS</SystemItem></Term>
<ListItem>
<Para>The function executed successfully.
</Para>
</ListItem>
</VarListEntry>
<VarListEntry>
<Term><SystemItem Class="Constant">MrmFAILURE</SystemItem></Term>
<ListItem>
<Para>The function failed.
</Para>
</ListItem>
</VarListEntry>
</VariableList>
</RefSect1>
<RefSect1>
<Title>RELATED</Title>
<Para>&cdeman.MrmCloseHierarchy; and
&cdeman.MrmOpenHierarchyPerDisplay;.
</Para>
</RefSect1>
</RefEntry>
<!--fickle 1.09 7/2/95-->
