*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->HP-UX 11i man pages -> DtMmdbTocGetParentId (3)              
Title
Content
Arch
Section
 

Contents


 DtMmdbTocGetParentId(library call)       DtMmdbTocGetParentId(library call)




 NAME    [Toc]    [Back]
      DtMmdbTocGetParentId - obtains the object identifier of the parent
      section

 SYNOPSIS    [Toc]    [Back]
      #include <DtMmdb.h>
      DtMmdbHandle* DtMmdbTocGetParentId(
      DtMmdbInfoRequest* request);

 DESCRIPTION    [Toc]    [Back]
      The DtMmdbTocGetParentId function returns the object identifier of the
      section that is parent to the specified section. Use the
      DtMmdbFreeHandle to release the identifier when it is no longer
      needed.

 ARGUMENTS    [Toc]    [Back]
      request   Specifies the bookcase in the bookcase descriptor field and
                the section's Database Engine identifier, in the primary_oid
                field.

 RETURN VALUE    [Toc]    [Back]
      If DtMmdbTocGetParentId completes successfully, it returns the object
      identifier of the parent section.  If it fails, it returns a NULL
      pointer.

 EXAMPLE    [Toc]    [Back]
      The following shows how a DtMmdbTocGetParentId call might be coded.

      DtMmdbInfoRequest request;
      /* fill the request here */
      DtMmdbHandle* parent = DtMmdbTocGetParentId(&request);
      if  (parent != DtMmdbGroundId) {
         if (parent == 0) {
             /* invalid request */
         } else {
           /* parent points at the parent section */
         }
      } else { /* this section is the root section */
       }

 SEE ALSO    [Toc]    [Back]
      TO BE SUPPLIED


                                    - 1 -       Formatted:  January 24, 2005
[ Back ]
      
      
 Similar pages
Name OS Title
DtMmdbLocatorGetSectionObjectId HP-UX obtains the object identifier of a section
DtMmdbDlpGetNextSectionId HP-UX obtains the object identifier of the next section
DtMmdbDlpGetPrevSectionId HP-UX obtains the object identifier of the previous section
DtMmdbSectionGetBookId HP-UX obtains the object identifier of a book
DtMmdbSectionGetStyleSheetId HP-UX obtains the object identifier of a section's stylesheet
DtMmdbLocatorGetSectionLoc HP-UX obtains the locator of a section
DtMmdbSectionGetData HP-UX obtains the data for a section
DtMmdbSectionGetTocLoc HP-UX obtains the locator for a book's TOC section
DtMmdbBookGetTocObjectId HP-UX obtains the locator of a book's TOC section
DtMmdbSectionGetLongTitle HP-UX obtains the long title for a section
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service