DtMmdbGetBookCaseByIndex(library call)DtMmdbGetBookCaseByIndex(library call)
NAME [Toc] [Back]
DtMmdbGetBookCaseByIndex - obtains a descriptor for a bookcase based
on an infolib index
SYNOPSIS [Toc] [Back]
#include <DtMmdb.h>
int DtMmdbGetBookCaseByIndex(
int infolib_descriptor,
int index);
DESCRIPTION [Toc] [Back]
The DtMmdbGetBookCaseByIndex function makes the database engine ready
to provide access service for a bookcase. It allows you to access all
bookcases in an infolib without knowing their names.
ARGUMENTS [Toc] [Back]
infolib_descriptor
Specifies the infolib that contains the bookcase.
index Specifies the index of the bookcase within the infolib. The
value must be an integer in the range 0 to n-1, where n is
the number of bookcases in the infolib.
RETURN VALUE [Toc] [Back]
If DtMmdbGetBookCaseByIndex completes successfully, it returns the
descriptor for the bookcase. If it fails, it returns -1.
EXAMPLE [Toc] [Back]
The following shows how a DtMmdbGetBookCaseByIndex call might be
coded.
DtMmdbGetBookCaseByIndex(myInfoLibDescriptor, i);
SEE ALSO [Toc] [Back]
DtMmdbGetBookCaseByLoc(3), DtMmdbGetBookCaseByLocs(3),
DtMmdbGetBookCaseByName(3)
- 1 - Formatted: January 24, 2005 [ Back ] |