Files
cdesktop/cde/doc/C/guides/man/m3_Dt/MmdbLGSL.sgm

59 lines
2.4 KiB
Plaintext

<!-- $XConsortium: MmdbLGSL.sgm /main/5 1996/09/08 20:07:33 rws $ -->
<!-- (c) Copyright 1996 Digital Equipment Corporation. -->
<!-- (c) Copyright 1996 Hewlett-Packard Company. -->
<!-- (c) Copyright 1996 International Business Machines Corp. -->
<!-- (c) Copyright 1996 Sun Microsystems, Inc. -->
<!-- (c) Copyright 1996 Novell, Inc. -->
<!-- (c) Copyright 1996 FUJITSU LIMITED. -->
<!-- (c) Copyright 1996 Hitachi. -->
<![ %CDE.C.CDE; [<refentry id="CDE.INFO.DtMmdbLocatorGetSectLoc">]]><refmeta><refentrytitle>
DtMmdbLocatorGetSectionLoc</refentrytitle><manvolnum>library call</manvolnum></refmeta><refnamediv>
<refname><function>DtMmdbLocatorGetSectionLoc</function></refname><refpurpose>obtains
the locator of a section</refpurpose></refnamediv><refsynopsisdiv>
<funcsynopsis>
<funcsynopsisinfo>#include &lt;DtMmdb.h></funcsynopsisinfo>
<funcdef>const char* <function>DtMmdbLocatorGetSectionLoc</function></funcdef>
<paramdef>DtMmdbInfoRequest* <parameter>request</parameter></paramdef>
</funcsynopsis>
</refsynopsisdiv><refsect1>
<title>DESCRIPTION</title>
<para>The <function>DtMmdbLocatorGetSectionLoc</function> function
returns the locator of the section that contains the specified
component. Do not use the
<function>free</function> function on the returned pointer. Table lookup is
involved because the component identifier is specified by the
<symbol role="Variable">locator_ptr</symbol> field.
</para>
</refsect1><refsect1>
<title>ARGUMENTS</title>
<variablelist>
<varlistentry><term><symbol role="Variable">request</symbol></term>
<listitem>
<para>Specifies the bookcase in the bookcase descriptor field and the
identifier of a component within the section in the
<symbol role="Variable">locator_ptr</symbol> field.
</para>
</listitem>
</varlistentry>
</variablelist>
</refsect1><refsect1>
<title>RETURN VALUE</title>
<para>If <function>DtMmdbLocatorGetSectionLoc</function> completes
successfully, it returns a pointer to the section
locator. If it fails, it returns a NULL pointer.
</para>
</refsect1><refsect1>
<title>EXAMPLE</title>
<para>The following shows how a <function>DtMmdbLocatorGetSectionLoc</function> call
might be coded.</para>
<informalexample>
<programlisting>DtMmdbInfoRequest request;
/* fill the request */
DtMmdbLocatorGetSectionLoc(&amp;request);
</programlisting>
</informalexample>
</refsect1><refsect1>
<title>SEE ALSO</title>
<para>TO BE SUPPLIED</para>
</refsect1></refentry>