MmdbGrGI.sgm 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960
  1. <!-- $XConsortium: MmdbGrGI.sgm /main/7 1996/09/08 20:07:07 rws $ -->
  2. <!-- (c) Copyright 1996 Digital Equipment Corporation. -->
  3. <!-- (c) Copyright 1996 Hewlett-Packard Company. -->
  4. <!-- (c) Copyright 1996 International Business Machines Corp. -->
  5. <!-- (c) Copyright 1996 Sun Microsystems, Inc. -->
  6. <!-- (c) Copyright 1996 Novell, Inc. -->
  7. <!-- (c) Copyright 1996 FUJITSU LIMITED. -->
  8. <!-- (c) Copyright 1996 Hitachi. -->
  9. <![ %CDE.C.CDE; [<refentry id="CDE.INFO.DtMmdbGraphicGetInfo">]]><refmeta><refentrytitle>
  10. DtMmdbGraphicGetInfo</refentrytitle><manvolnum>library call</manvolnum></refmeta><refnamediv>
  11. <refname><function>DtMmdbGraphicGetInfo</function></refname><refpurpose>obtains
  12. information about a graphic object</refpurpose></refnamediv><refsynopsisdiv>
  13. <funcsynopsis>
  14. <funcsynopsisinfo>#include &lt;DtMmdb.h></funcsynopsisinfo>
  15. <funcdef>DtMmdbGraphicInfo* <function>DtMmdbGraphicGetInfo</function></funcdef>
  16. <paramdef>DtMmdbInfoRequest* <parameter>request</parameter></paramdef>
  17. </funcsynopsis>
  18. </refsynopsisdiv><refsect1>
  19. <title>DESCRIPTION</title>
  20. <para>The <function>DtMmdbGraphicGetInfo</function> function
  21. returns a structure containing the information about
  22. a graphic object. Use the
  23. <function>DtMmdbFreeGraphicInfo</function> function to release
  24. the memory when the structure is no longer needed. Table lookup is
  25. involved because the graphic identifier is specified by the
  26. <symbol role="Variable">locator_ptr</symbol> field.
  27. </para>
  28. </refsect1><refsect1>
  29. <title>ARGUMENTS</title>
  30. <variablelist>
  31. <varlistentry><term><symbol role="Variable">request</symbol></term>
  32. <listitem>
  33. <para>Specifies the bookcase in the bookcase descriptor field and the
  34. identifier of the graphic object in the
  35. <symbol role="Variable">locator_ptr</symbol> field.
  36. </para>
  37. </listitem>
  38. </varlistentry>
  39. </variablelist>
  40. </refsect1><refsect1>
  41. <title>RETURN VALUE</title>
  42. <para>If <function>DtMmdbGraphicGetInfo</function> completes
  43. successfully, it returns a pointer to the graphic
  44. information structure.
  45. If it fails, it returns a NULL pointer.
  46. </para>
  47. </refsect1><refsect1>
  48. <title>EXAMPLE</title>
  49. <para>The following shows how a <function>DtMmdbGraphicGetInfo</function> call
  50. might be coded.</para>
  51. <informalexample>
  52. <programlisting>DtMmdbInfoRequest request;
  53. /* fill the request */
  54. DtMmdbGraphicGetInfo(&amp;request);
  55. </programlisting>
  56. </informalexample>
  57. </refsect1><refsect1>
  58. <title>SEE ALSO</title>
  59. <para>&cdeman.DtMmdbFreeGraphicInfo;</para>
  60. </refsect1></refentry>